Quotas for Google Services

  • Apps Script services have daily quotas and limitations that can cause scripts to throw an exception and stop execution if exceeded.

  • Some features have additional quotas from associated Google products, and exceeding any of these associated quotas makes the feature unavailable.

  • Quotas are set at different levels for consumer/G Suite free edition and Google Workspace accounts, are per user, and reset 24 hours after the first request.

  • Quotas and limits are subject to change at any time without notice and are provided to help test scripts.

  • Reaching a quota or limitation will result in an exception message indicating the specific limit exceeded or service invoked too many times.

Apps Script services have daily quotas and limitations on some features. If youexceed a quota or limitation, your script throws an exception and executionstops.

Important: Some features have additional quotas from the Google productthey're associated with. Using a product's Apps Script service counts toward allassociated quota reserves. A feature becomes unavailable if you reach any of theassociated quotas.

Current quotas

Quotas are set at different levels for users of consumer (such as gmail.com) orG Suite free edition (discontinued) accounts andGoogle Workspace accounts. Quotas are per user and reset 24 hours after thefirst request.

Use the quotas below to help test your scripts. All quotas are subject to elimination,reduction, or change at any time, without notice.

FeatureConsumer (e.g., gmail.com) and
G Suite free edition
(legacy)
Google Workspace
accounts
Calendar events created5,000 / day10,000 / day
Contacts created1,000 / day2,000 / day
Documents created250 / day1,500 / day
Files converted2,000 / day4,000 / day
Email recipients per day100* / day1,500* / day
Email recipients per day within domain100* / day2,000 / day
Email read/write (excluding send)20,000 / day50,000 / day
Groups read2,000 / day10,000 / day
JDBC connection10,000 / day50,000 / day
JDBC failed connection100 / day500 / day
Presentations created250 / day1,500 / day
Properties read/write50,000 / day500,000 / day
Slides created250 / day1,500 / day
Spreadsheets created250 / day3,200 / day
Triggers total runtime90 min / day6 hr / day
URL Fetch calls20,000 / day100,000 / day
Static Map render1,000 / day10,000 / day
Google Map Direction query1,000 / day10,000 / day
Google Map Geocode calls1,000 / day10,000 / day
Translate calls5,000 / day20,000 / day
Google Map elevation samples query1,000 / day10,000 / day
Apps Script projects50 / day50 / day

Note: Additional limits apply for trial accounts. After you convert from a freetrial account to a paid subscription, your account limits automaticallyincrease when both of the following are true:
  • Your domain has cumulatively paid at least USD $100 (or equivalent).
  • At least 60 days have passed since reaching that payment threshold.

Current limitations

Use the limits below to help test your scripts. All limits aresubject to elimination, reduction, or change at any time, without notice.

FeatureConsumer (e.g., gmail.com) and
G Suite free edition
(legacy)
Google Workspace
accounts
Script runtime6 min / execution6 min / execution
Custom function runtime30 sec / execution30 sec / execution
Google Workspace add-on runtime30 sec / execution30 sec* / execution
Simultaneous executions per user30 / user30 / user
Simultaneous executions per script1,0001,000
Email attachments250 / msg250 / msg
Email body size200 KB / msg400 KB / msg
Email recipients per message50 / msg50 / msg
Email total attachments size25 MB / msg25 MB / msg
Properties value size9 KB / val9 KB / val
Properties total storage500 KB / property store500 KB / property store
Triggers20 / user / script20 / user / script
URL Fetch response size50 MB / call50 MB / call
URL Fetch headers100 / call100 / call
URL Fetch header size8 KB / call8 KB / call
URL Fetch POST size50 MB / call50 MB / call
URL Fetch URL length2 KB / call2 KB / call
Versions200 / script200 / script
Gemini Alpha program: Add-ons that extend Workspace Studio have an execution timeout of 2 minutes. Workspace Studio is available as part of theGemini Alpha program.

Exception messages

If a script reaches a quota or limitation, it throws an exception with amessage similar to the following:

  • Limit exceeded: Email Attachments Per Message. This indicates that thescript exceeded one of the quotas or limitations listed above.
  • Service invoked too many times: Calendar. This indicates that the scriptcalled the given service too many times in one day.
  • Service invoked too many times in a short time: Calendar. TryUtilities.sleep(1000) between calls. This indicates that the scriptcalled the given service too many times in a short period.
  • Service using too much computer time for one day. This indicates that thescript exceeded the total allowable execution time for one day. It most commonlyoccurs for scripts that run on atrigger,which have a lower daily limit than scripts executed manually.
  • Script invoked too many times per second for this Google user account. Thisindicates that the script began executing too many times in a short period. Itmost commonly occurs for custom functions that are called repeatedly in a singlespreadsheet. To avoid this error, code your custom functions so that they onlyneed to be called once per range of data, as explained in theguide to custom functions.
  • There are too many scripts running simultaneously for this Google useraccount. This indicates that you have too many scripts executing at once,although not necessarily the same script. Like the exception above, this mostcommonly occurs for custom functions that are called repeatedly in a singlespreadsheet.

Related topics

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-11 UTC.