Next.js 15 End of Life: My January 2027 Upgrade Plan

A dalang seen from behind in a batik headcloth and striped jacket holds two wayang kulit shadow puppets against a backlit cloth screen under a hanging oil lamp, with ornate leaf-shaped gunungan at both sides.

A lot of AI products shipped in the last two years sit on a Next.js 15 front end: the chat UI, the agent dashboard, the admin panel.

The Next.js support policy says security releases for Next.js 15 stop after January 31, 2027.

The Next.js 15 end of life date is not a shutdown date. Your application will not suddenly stop serving pages or responding to users. It marks the end of the framework’s scheduled security releases. For founders building AI products, I would treat this as an infrastructure maintenance deadline: inventory every application, understand the Next.js 16 changes, and move to a supported version before the security window closes.

What does Next.js 15 end of life actually mean?

Next.js follows a Long-Term Support (LTS) model. Understanding that model matters because a framework can remain operational while receiving a different level of maintenance.

According to the official Next.js Support Policy, a major version stays in Active LTS until the subsequent major version is released. Once a new major version arrives, the previous major transitions to Maintenance LTS.

The distinction is important:

  • Active LTS: The currently active major release receives ongoing maintenance.
  • Maintenance LTS: The previous major receives only critical bug fixes and essential security updates.
  • Unsupported: The version is outside the published support policy.

Next.js 16 was released on October 21, 2025, and is currently the Active LTS release. Next.js 15 moved into Maintenance LTS.

There is an important update for teams still running Next.js 15. Its Maintenance LTS period was originally expected to end on October 21, 2026. The Next.js team extended it and confirmed that security releases will continue through January 31, 2027.

Here is the practical timeline:

Version Support status What it means
Next.js 16.x Active LTS Current actively supported major
Next.js 15.x Maintenance LTS Security releases through January 31, 2027
Next.js 14.x Unsupported Outside the current support policy

I would make one distinction when communicating this to a product team: end of life here means the end of scheduled security releases, not the end of application functionality.

After the deadline, an existing application may continue operating normally. The concern is that future framework vulnerabilities may not receive a scheduled security fix for that version.

The policy also mentions that Next.js may patch versions outside its LTS policy in rare circumstances, depending on the severity of an underlying bug. That is an exception, not a maintenance strategy.

Why should AI application founders care about Next.js 15 support?

A marketing website running an older framework is one consideration. An AI application with authentication, customer records, model integrations and operational controls introduces another level of concern.

The front end is not necessarily just a presentation layer.

In a typical AI product, Next.js may handle:

  • Authentication flows and session management.
  • Server actions that communicate with model APIs.
  • Route handlers responsible for webhooks.
  • Streaming responses from AI services.
  • Middleware that checks sessions and controls access.
  • Administrative interfaces that expose customer and operational data.

A common pattern: a founder builds a chat interface, adds an agent dashboard, connects a model provider and introduces an administrative panel. Over time, the front end becomes the entry point to several important application capabilities.

The framework sits between users and parts of the application’s sensitive infrastructure.

An unpatched framework in that position deserves attention, particularly when server-side code handles API credentials or customer information.

I would approach this as a security maintenance exercise rather than an opportunity to redesign the entire application.

That also means reviewing how credentials are exposed and which permissions different agents and application components actually need. I have written separately about AI agent permissions and least-privilege access, which is an important part of the same security conversation.

The goal is to maintain a supported application foundation while preserving the existing product’s behaviour.

A craftsperson in a batik headcloth and striped jacket punches decorative holes in a wayang kulit leather puppet on a wooden board, beside an oil lamp, a bowl of carving tools, a spool of thread and unfinished puppets, with a backlit tree-cut screen behind.

Which Next.js 16 breaking changes should I check first?

I would not approach a Next.js 16 migration as a simple dependency update.

Several changes affect how an existing application starts, builds, handles requests and manages caching. AI applications can encounter these changes across multiple areas because chat interfaces, dashboards and API integrations often use different parts of the framework.

Here is the migration map I would use.

Change Where it shows up in an AI app What I check first
Node.js 20.9+ minimum CI pipelines, hosting and local development Runtime versions and build environments
TypeScript 5.1+ Application types and build configuration TypeScript version and React type packages
Turbopack becomes the default Development and production builds Custom webpack configuration and plugins
Synchronous request APIs removed Pages, layouts, route handlers and server components params, searchParams, cookies(), headers() and draftMode()
Middleware renamed to proxy Authentication and request interception Existing middleware files and runtime requirements
revalidateTag requires a cache profile Cached dashboard data and content updates Every existing cache invalidation call
AMP support removed Legacy page configurations Any AMP-specific implementation
Legacy image APIs deprecated Image components and configuration next/legacy/image and images.domains

A few deserve particular attention.

Node.js and TypeScript

Next.js 16 requires Node.js 20.9 or later. Node.js 18 is no longer supported. TypeScript 5.1 or later is also required.

I would check the runtime in CI, hosting and developer environments rather than updating only the local machine.

The Node runtime has its own support lifecycle. I cover that separately in my Node.js 22 end-of-life notes.

Turbopack and custom webpack configuration

Turbopack is stable and becomes the default for both next dev and next build.

This matters if an application has accumulated custom webpack configuration, plugins or build-specific modifications.

Next.js 16 can fail a build when a custom webpack configuration is present unless the build explicitly selects --turbopack or --webpack.

I would inspect the existing configuration before assuming the new default will work without changes.

Synchronous request APIs

This is another important migration area.

Next.js 16 fully removes synchronous access to:

  • params
  • searchParams
  • cookies()
  • headers()
  • draftMode()

Existing code must use the asynchronous request APIs.

A common pattern: a dashboard reads a user’s session, retrieves query parameters and loads account-specific information before rendering. If the existing implementation relies on synchronous access, the migration needs to account for those changes across the relevant components.

Middleware becomes proxy

The middleware filename convention is deprecated and has been renamed to proxy.

However, there is a significant runtime distinction: the Edge Runtime is not supported in proxy.

If an application depends on Edge Runtime behaviour, I would not mechanically rename every middleware file and assume the result is equivalent.

Caching and deprecated features

revalidateTag now requires a second argument specifying a cacheLife profile.

This deserves attention in AI applications where dashboards display changing information, background processes update records, or cached content needs invalidation.

The next/legacy/image component and images.domains configuration are deprecated. AMP APIs and configurations have also been removed.

I would treat these as separate migration checks rather than assuming the main upgrade codemod handles everything.

How do I start the Next.js 16 migration?

My starting point would be the official migration documentation rather than manually changing every configuration.

The Next.js 16 upgrade guide provides an upgrade codemod that handles several migration tasks.

The recommended command is:

bash
npx @next/codemod@canary upgrade latest

This codemod updates the Turbopack configuration, migrates from next lint to the ESLint CLI and moves the deprecated middleware convention to proxy.

That is useful, but there is an important limitation: the upgrade codemod does not run every migration codemod.

Applications that still use synchronous request APIs also need the separate asynchronous request API migration:

npx @next/codemod@canary next-async-request-api

I would review the resulting changes rather than treating an automated migration as proof that the application is ready.

There is another dependency detail worth remembering. The upgrade guide recommends updating @types/react and @types/react-dom alongside TypeScript.

For an existing application, I would keep the migration changes isolated in a dedicated branch. That makes it easier to identify whether a failure comes from the framework upgrade, a dependency change or an application-specific modification.

The objective is a controlled transition, not the largest possible collection of changes in one release.

A single wayang kulit shadow puppet in a walking pose appears on a backlit cloth screen under a hanging oil lamp, flanked by ornate leaf-shaped gunungan, while a gamelan ensemble in silhouette plays gongs, metallophones and a drum in the foreground at dusk.

How would I run the upgrade without disrupting an AI application?

I prefer a staged migration because the most important application behaviour is not always visible in a successful production build.

A chat interface may render correctly while its streaming response handling is broken. An administrative dashboard may load while authentication checks behave differently. A webhook endpoint may compile but fail when an external service sends an event.

I would follow this sequence.

1. Inventory every Next.js application

Start by identifying all applications and their current framework versions.

Include more than the main product website:

  • AI chat interfaces.
  • Agent dashboards.
  • Internal administrative tools.
  • Customer portals.
  • Marketing websites with lead forms.
  • Supporting applications and standalone front ends.

The purpose is to establish which applications need attention and avoid overlooking a smaller application that still handles important data.

2. Standardise the Node runtime

Check the Node version used in local development, CI and hosting.

Pin Node.js 20.9 or later in the environments responsible for building and running the application.

Do not assume that a successful local build means the deployment environment is using the same runtime.

3. Create a migration branch and run the codemod

Keep the existing application version available as a reference.

Run the upgrade codemod, inspect the modified files and review the dependency changes.

I would pay particular attention to build configuration, linting and middleware-to-proxy changes.

4. Fix asynchronous request APIs and caching

Search the application for synchronous access to the request APIs removed in Next.js 16.

Review every relevant page, layout, component and route handler.

Then inspect the existing revalidateTag calls and introduce the required cache-life profile.

For AI applications, I would pay particular attention to dashboard refresh behaviour and data that changes after agent actions.

5. Make an explicit middleware or proxy decision

Do not treat the filename change as a purely cosmetic update.

Review each middleware responsibility and identify whether it requires Edge Runtime functionality.

If Edge Runtime is necessary, the fact that proxy does not support it becomes an architectural consideration. Review the official upgrade guide before changing the filename convention rather than forcing a mechanical migration.

6. Build with the intended bundler

Run the production build with Turbopack.

If custom webpack configuration exists, understand why it was introduced and decide whether the application should migrate that functionality or explicitly use webpack.

Do not remove custom build logic simply to make the upgrade appear cleaner.

7. Test actual product workflows

A successful build is only one checkpoint.

For an AI application, I would test:

  • Login, logout and session persistence.
  • Protected routes and administrative permissions.
  • Chat submissions and streaming responses.
  • Server actions that call model APIs.
  • Agent dashboard data retrieval.
  • Webhook delivery and processing.
  • Cache invalidation after updates.
  • Image rendering and responsive layouts.
  • Production builds and preview deployments.

A common pattern: a migration passes the build but exposes a problem when a user refreshes a protected dashboard or an external webhook reaches a route handler. Those workflows need explicit testing.

8. Deploy with a rollback path

Use a preview deployment before promoting the upgraded version.

Keep a known-good rollback tag and make sure the deployment process can return to the previous application build if an unexpected issue appears.

I would aim to complete the transition before January 31, 2027, rather than waiting for the last part of the support window.

For teams that need help with runtime configuration, deployment architecture and application maintenance, NextCTL Cloud & Agent Infrastructure covers this broader infrastructure work. For the application-side agent architecture, AI Agents & Automation is the related area.

Building or maintaining an AI application and want a second opinion on its infrastructure migration? Get in touch and share the framework version, runtime and main application architecture. I would start with the migration risks rather than recommending a wholesale rebuild.

What should my Next.js 16 migration checklist include?

I would use a checklist that can be shared between the person responsible for the application and whoever manages its deployment.

The following is the baseline I would want completed before calling the migration ready.

Application inventory

  • Every Next.js application is identified.
  • Current framework versions are documented.
  • Authentication and API integration points are identified.
  • Custom webpack configuration is documented.
  • Existing middleware responsibilities are mapped.

Runtime and dependencies

  • Node.js 20.9+ is configured locally.
  • CI and hosting use the intended Node runtime.
  • TypeScript 5.1+ is configured.
  • @types/react and @types/react-dom are updated.
  • Dependencies and deprecated APIs are reviewed.

Framework migration

  • The upgrade codemod has been reviewed.
  • Synchronous request API access has been migrated.
  • revalidateTag calls use the required cache-life profile.
  • Middleware and proxy decisions are documented.
  • Edge Runtime requirements have been checked.
  • Custom webpack configuration has been addressed.
  • Deprecated image and AMP implementations have been reviewed.

Application testing and release

  • Production builds complete successfully.
  • Authentication and protected routes work.
  • AI streaming responses work.
  • Server actions behave correctly.
  • Webhook endpoints have been tested.
  • Dashboard caching and data refresh have been checked.
  • Preview deployment has been reviewed.
  • A rollback tag is available.
  • Production migration is scheduled before January 31, 2027.

This is not a substitute for application-specific testing. It is a way to make sure the migration covers both framework compatibility and the product workflows that depend on it.

What is my recommendation for founders running AI products?

I would not wait until the final security release date to investigate the migration.

The important decision is not whether an existing Next.js 15 application still works. It is whether the team has a clear understanding of the support lifecycle, the framework changes and the operational dependencies that need attention.

For a small team, I would prioritise three things.

First, establish an accurate inventory. You cannot plan a migration around applications you have not identified.

Second, identify the changes that affect your particular architecture. A marketing website, an AI chat application and an agent administration console may share a framework, but their migration risks are not identical.

Third, test the application as a product, not just as a collection of files that compiles successfully.

I also would not treat the migration as an opportunity to upgrade every dependency, redesign the interface and replace the entire infrastructure simultaneously. Keeping the scope controlled makes it easier to understand unexpected behaviour.

The Next.js team has published the relevant support and upgrade documentation, and I would check those official pages before every major migration step. Support policies and technical instructions are the source of truth, not assumptions based on an older project configuration.

Key takeaways

  • Next.js 15 security releases continue through January 31, 2027.
  • End of life means scheduled security support ends, not that applications stop running.
  • Next.js 16 requires Node.js 20.9+ and TypeScript 5.1+.
  • Turbopack is the default, and synchronous request API access has been removed.
  • Middleware-to-proxy migration needs an explicit Edge Runtime decision.
  • Codemods help, but application-specific testing and manual changes remain necessary.
  • Inventory, migrate, test and preserve a rollback path before the support deadline.

My broader view is that framework maintenance should be part of building an AI product, not something founders revisit only when a deployment breaks.

If you are building AI interfaces, agent consoles or internal tools, I share more practical engineering observations in my Production Notes newsletter on turjo.me. Sign up to follow the infrastructure changes, migration decisions and production engineering topics that matter to builders.

The framework will keep evolving. The useful question is whether your application is evolving with it.

— Rezaul Hoque Turjo, Founder, NextCTL

FAQ

When does Next.js 15 reach end of life?

Next.js 15 will receive scheduled security releases through January 31, 2027, according to the updated Next.js Support Policy. Its Maintenance LTS period was extended beyond the original October 21, 2026 end date. After January 31, 2027, it will no longer receive scheduled security releases under that policy. Teams should plan their migration accordingly.

Will my Next.js 15 app stop working after January 31, 2027?

No. The end of scheduled security releases does not automatically shut down an existing application. Your application may continue running normally. The concern is future maintenance and security exposure: vulnerabilities discovered after the support window may not receive scheduled fixes for that version. I would treat the date as a framework maintenance deadline, not an application shutdown deadline.

What breaks when upgrading from Next.js 15 to 16?

The main migration areas include the Node.js 20.9+ requirement, TypeScript 5.1+, Turbopack becoming the default, removal of synchronous request API access and the middleware-to-proxy rename. Existing caching calls also need attention because revalidateTag now requires a cache-life profile. Custom webpack configurations, deprecated image APIs and AMP implementations need separate review.

Should I rename middleware to proxy if I use the edge runtime?

Not automatically. Next.js 16 proxy does not support the Edge Runtime. If an existing middleware implementation depends on Edge Runtime functionality, review that requirement and the official upgrade guide before changing the filename convention. The migration should preserve the application’s intended request-handling behaviour rather than mechanically applying every codemod change.

next

next

Founder & CEO, NextCTL

The Production Notes

One practical blog post a week on AI agents, production systems, and building an AI-native company. No fluff, no forwarded hype.

The Production Notes

One practical blog post a week on AI agents, production systems, and building an AI-native company. No fluff, no forwarded hype.

Please wait...

Done. First essay lands this week.

The Production Notes

One practical blog post a week on AI agents, production systems, and building an AI-native company. No fluff, no forwarded hype.
One practical post a week. No hype.