Eight years after it last moved, Lambda's execution cap has doubled: since November 19, 2026, on-demand Event Functions can run for up to 30 minutes (1,800 seconds) for synchronous, asynchronous and event source mapping invocations. The per-second price is unchanged, but the concurrency you need, the connections you keep open and the cost of a retry all change with it.
What changes, and when
Lambda launched in 2014 with a 60-second limit, went to 5 minutes in 2015 and to 15 in 2018. As of November 19, 2026, the limits look like this:
| Invocation | On demand | Lambda Managed Instances |
|---|---|---|
| Synchronous | 30 min | 30 min |
| Asynchronous | 30 min | 90 min (since September 2026) |
| Event source mapping | 30 min | 90 min |
| Asynchronous with durable functions | Up to 1 year in total | Up to 1 year in total |
It is available in all commercial Regions for on-demand functions, at standard Lambda pricing. What stays the same: the Init phase is still capped at 10 seconds on demand, provisioned concurrency and SnapStart keep their 15-minute initialization limit, and Web Functions stay at 15 minutes.
AWS lists agent requests that chain model and tool calls, video transcoding, large file conversions, Monte Carlo simulations and ETL steps triggered by SQS or S3 as the target workloads. Until now, all of those meant chunking the work, moving it to Step Functions or pushing it out to ECS or Fargate.
The impact: twice the duration is twice the concurrency
The calculation people forget is concurrency: requests per second times average duration in seconds. At one request per second and 30 minutes per run you need 1,800 concurrent executions, double what the same rate needs at 15 minutes. Check your account concurrency quota and the function's reserved concurrency before raising the timeout; otherwise the long function is fine and every other function sharing the quota gets throttled.
For SQS, AWS's rule is a queue visibility timeout of at least six times the function timeout: three hours for a 30-minute function. Lambda validates this when you create the mapping, but not when you later change the queue or the function. Kinesis and DynamoDB Streams process one batch per shard at a time, so longer invocations slow the shard down: watch IteratorAge, raise the parallelization factor and turn on partial batch failure reporting so a single bad record doesn't replay 25 minutes of work.
How to turn it on
You only change the timeout; runtime, role and VPC settings stay as they are. With the CLI:
aws lambda update-function-configuration \
--function-name my-demo-function \
--timeout 1800 \
--region us-east-1In AWS SAM it is the Timeout property:
MyFunction:
Type: AWS::Serverless::Function
Properties:
FunctionName: my-demo-function
Runtime: python3.14
Handler: app.handler
Timeout: 1800
MemorySize: 2048The new value applies to invocations that start after the update; event source mappings take a few minutes to pick it up. Lambda rejects anything above 1,800 seconds (or 5,400 for asynchronous and ESM invocations on Managed Instances).
Traps and edge cases
- The caller has a timeout too. If another AWS service invokes your function synchronously, its own limit applies. And the client calling
Invokeneeds read and socket timeouts longer than the function's. - NAT gateways. They drop idle connections after 350 seconds. A long call to an external API or a database through NAT needs TCP keep-alives.
- DNS and credentials. Things expire in 30 minutes: temporary tokens that are never refreshed and DNS caches that never update (AWS's example is the JVM, which on some configurations never refreshes; it recommends a 5-second TTL).
- Older Kafka, MQ and DocumentDB. Amazon MQ and DocumentDB mappings stay at 14 minutes, as do Kafka mappings created before November 19, 2026 without provisioned mode. For Kafka, create a new mapping or switch on provisioned mode.
- A wider window for duplicates. Lambda doesn't guarantee exactly-once execution, and the longer the invocation, the more a retry costs. A 25-minute inference job that fails at minute 22 starts from scratch unless you use durable functions with checkpoints.
Compared with Google Cloud
In Cloud Run functions (2nd gen), HTTP functions can run for 60 minutes, but event-driven ones are still capped at 540 seconds (9 minutes), according to Google's quota table. For asynchronous, event-triggered work Lambda now has the edge; for a long HTTP request, Google still gives you more room.
My take: this doesn't make Lambda the place for hour-long jobs, but it deletes a lot of chunking code for the jobs that ran 16 or 20 minutes. Before you change the number, do the concurrency math and check every connection the function holds open.
Sources
- Announcing 30-minute timeout for on-demand AWS Lambda Event Functions (AWS Compute Blog, 2026-11-19)
- AWS Lambda now supports a 30-minute timeout for on-demand Event Functions (AWS What's New, 2026-11-19)
- AWS Weekly Roundup: Local Zone in Bogotá, 30-minute Lambda timeout, and more (November 24, 2026) (AWS News Blog, 2026-11-24)
- Quotas | Cloud Run functions (Google Cloud Documentation)