# What are the Governor Limits for SOQL (100 synchronous queries, 200 asynchronous queries, 50,000 total rows retrieved)?

**Topic:** Soql · **Difficulty:** Easy · **Asked at:** TCS, Infosys, Accenture · **Tags:** soql, governor-limits

Read it on the site: https://www.forcechallenges.com/interview-questions/what-are-the-governor-limits-for-soql-100-synchronous-queries-200-asynchronous-queries-50-000-total-rows

## Answer

Per transaction:
- **100** SOQL queries synchronous, **200** asynchronous (batch, future, queueable)
- **50,000** total rows retrieved by SOQL queries
- 20 SOSL queries; SOSL returns max 2,000 rows
- Query timeout (120 seconds per query)

Queries inside loops quickly exceed 100. Use collections, relationship queries, SOQL `for` loops, and `Limits.getQueries()` to monitor.

---
Source: ForceChallenges · last updated 2026-10-21
