<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-solve-next-js-timeouts-deulcc780" -->

---
title: How to solve Next.js timeouts | daily.dev
description: Four approaches to fixing Next.js request timeouts on Vercel are covered: raising the Vercel Function max duration (up to 60s on Hobby, 300s/900s on...
canonical: https://daily.dev/posts/how-to-solve-next-js-timeouts-deulcc780
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to solve Next.js timeouts | daily.dev
og:description: Four approaches to fixing Next.js request timeouts on Vercel are covered: raising the Vercel Function max duration (up to 60s on Hobby, 300s/900s on...
og:url: https://daily.dev/posts/how-to-solve-next-js-timeouts-deulcc780
og:image: https://api.daily.dev/og/posts/deulcC780.png
og:image:alt: How to solve Next.js timeouts
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to solve Next.js timeouts

**[Inngest Blog](https://daily.dev/sources/inngest)** · 5 min read · 0 upvotes · 0 comments

## Summary

Four approaches to fixing Next.js request timeouts on Vercel are covered: raising the Vercel Function max duration (up to 60s on Hobby, 300s/900s on Pro/Enterprise), enabling Vercel's Fluid Compute to pool compute so long fetches count for less against duration limits, moving long-running code into Inngest Durable Functions (which chain retried steps that each get a fresh duration budget, extending total run time to hours), and upgrading to a paid Vercel plan for higher default and configurable timeout ceilings. A table compares default, configurable, and Fluid Compute durations across Hobby, Pro, and Enterprise plans.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/how-to-solve-nextjs-timeouts>

## Questions this post answers

### How do I increase the max duration of a Vercel serverless function in Next.js?

Set the maxDuration property for the specific route in vercel.json, for example {"functions": {"app/api/mySlowFunction/route.ts": {"maxDuration": 60}}}, which raises the timeout from the default 10 seconds to 60 seconds. Alternatively, set a project-wide default in the Vercel dashboard under Settings > Functions > Function Max Duration. Avoid applying 60 seconds to all functions since it hides misbehaving functions and consumes free-tier allowance faster.

_daily.dev surfaces practical fixes like this for developers debugging Vercel function timeouts._

### What is Vercel Fluid Compute and how does it change function duration limits?

Fluid Compute pools compute resources across Vercel Functions so network-heavy code, like a 10-second fetch call, only counts as roughly 1 second against the function's duration limit instead of the full 10 seconds. This lets a function run for up to 1 minute on free plans and up to 14 minutes on paid plans without hitting the max duration ceiling, making it well suited for network-intensive workloads.

_Developers weighing Vercel plan upgrades can track compute changes like Fluid Compute on daily.dev._

### What are the default and maximum Vercel function timeout durations for each pricing tier?

On the Hobby plan the default is 10 seconds, configurable up to 60 seconds, or 60 seconds with Fluid Compute. The Pro plan defaults to 15 seconds, configurable up to 300 seconds (5 minutes), or 14 minutes with Fluid Compute. The Enterprise plan also defaults to 15 seconds but is configurable up to 900 seconds (15 minutes), or 14 minutes with Fluid Compute.

_Teams comparing Vercel plans for long-running workloads can keep specs like these handy via daily.dev._

## Similar posts on daily.dev

- [Vercel Functions can now run up to 30 minutes](https://daily.dev/posts/vercel-functions-can-now-run-up-to-30-minutes-uo5rq5mjk) · Vercel · 20 upvotes · 0 comments
- [Workflow steps now support extended function durations](https://daily.dev/posts/workflow-steps-now-support-extended-function-durations-lcndamlme) · Vercel · 0 upvotes · 0 comments
- [Next.js for the Next Billion Users: Optimizing for High-Latency Markets](https://daily.dev/posts/next-js-for-the-next-billion-users-optimizing-for-high-latency-markets-nbxhqfay2) · SitePoint · 1 upvotes · 0 comments

---

Tags: [#inngest](https://daily.dev/tags/inngest), [#nextjs](https://daily.dev/tags/nextjs), [#serverless](https://daily.dev/tags/serverless), [#vercel](https://daily.dev/tags/vercel)

[View this post on daily.dev](https://daily.dev/posts/how-to-solve-next-js-timeouts-deulcc780)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to solve Next.js timeouts","url":"https://daily.dev/posts/how-to-solve-next-js-timeouts-deulcc780","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-solve-next-js-timeouts-deulcc780"},"datePublished":"2026-09-13T19:57:22.072Z","dateModified":"2026-10-15T02:22:32.833Z","description":"Four approaches to fixing Next.js request timeouts on Vercel are covered: raising the Vercel Function max duration (up to 60s on Hobby, 300s/900s on...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7393658e08d1874e676af23f3d1a024a?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7393658e08d1874e676af23f3d1a024a?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-solve-next-js-timeouts-deulcc780","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"inngest,nextjs,serverless,vercel","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"How to solve Next.js timeouts"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-solve-next-js-timeouts-deulcc780#faq","mainEntity":[{"@type":"Question","name":"How do I increase the max duration of a Vercel serverless function in Next.js?","acceptedAnswer":{"@type":"Answer","text":"Set the maxDuration property for the specific route in vercel.json, for example {\"functions\": {\"app/api/mySlowFunction/route.ts\": {\"maxDuration\": 60}}}, which raises the timeout from the default 10 seconds to 60 seconds. Alternatively, set a project-wide default in the Vercel dashboard under Settings \u003e Functions \u003e Function Max Duration. Avoid applying 60 seconds to all functions since it hides misbehaving functions and consumes free-tier allowance faster. daily.dev surfaces practical fixes like this for developers debugging Vercel function timeouts."}},{"@type":"Question","name":"What is Vercel Fluid Compute and how does it change function duration limits?","acceptedAnswer":{"@type":"Answer","text":"Fluid Compute pools compute resources across Vercel Functions so network-heavy code, like a 10-second fetch call, only counts as roughly 1 second against the function's duration limit instead of the full 10 seconds. This lets a function run for up to 1 minute on free plans and up to 14 minutes on paid plans without hitting the max duration ceiling, making it well suited for network-intensive workloads. Developers weighing Vercel plan upgrades can track compute changes like Fluid Compute on daily.dev."}},{"@type":"Question","name":"What are the default and maximum Vercel function timeout durations for each pricing tier?","acceptedAnswer":{"@type":"Answer","text":"On the Hobby plan the default is 10 seconds, configurable up to 60 seconds, or 60 seconds with Fluid Compute. The Pro plan defaults to 15 seconds, configurable up to 300 seconds (5 minutes), or 14 minutes with Fluid Compute. The Enterprise plan also defaults to 15 seconds but is configurable up to 900 seconds (15 minutes), or 14 minutes with Fluid Compute. Teams comparing Vercel plans for long-running workloads can keep specs like these handy via daily.dev."}}]}
```

