Next.js 14 → Next.js 15
easyNext.js 15 is a minor upgrade from 14. Main change: fetch caching is opt-in (not opt-out), and async request APIs (cookies, headers, params) are now async. Official codemod handles most of it.
npx @next/codemod@canary upgrade latest
cookies(), headers(), params, searchParams are now async. Await them or use React.use().
// Before: const cookieStore = cookies() // After: const cookieStore = await cookies()
fetch() is no longer cached by default in 15. Add cache: 'force-cache' to re-enable, or use unstable_cache/revalidate patterns.
Some config options renamed or deprecated. The codemod handles most changes. Check release notes for custom server setups.
npm run build
What this migration involves
Moving from Next.js 14 to Next.js 15 is rated easy and takes about 1-3h on a typical project. The guide breaks it into 5 steps, 3 of which ship with runnable commands and 1 with a verification check.
FAQ
How long does migrating from Next.js 14 to Next.js 15 take?
Around 1-3h for a typical project — 5 steps, difficulty rated easy, 3 of them with copy-paste commands.
Is moving from Next.js 14 to Next.js 15 reversible?
No reverse guide is tracked yet, so treat this as a one-way move and keep a full export of your Next.js 14 data before you start.
What does Next.js 15 cost compared to Next.js 14?
Pricing for both tools is contact-based or not tracked yet.