---
title: Upgrade Guide
description: Learn how to upgrade to the latest versions of Next.js.
url: "https://nextjs.org/docs/14/app/building-your-application/upgrading"
version: 14.2.35
lastUpdated: 2024-01-18
prerequisites:
  - "Building Your Application: /docs/14/app/building-your-application"
---


Upgrade your application to newer versions of Next.js or migrate from the Pages Router to the App Router.

- [Codemods](/docs/14/app/building-your-application/upgrading/codemods)
  - Use codemods to upgrade your Next.js codebase when new features are released.
- [App Router Migration](/docs/14/app/building-your-application/upgrading/app-router-migration)
  - Learn how to upgrade your existing Next.js application from the Pages Router to the App Router.
- [Version 14](/docs/14/app/building-your-application/upgrading/version-14)
  - Upgrade your Next.js Application from Version 13 to 14.
- [Migrating from Vite](/docs/14/app/building-your-application/upgrading/from-vite)
  - Learn how to migrate your existing React application from Vite to Next.js.

---

For an index of all available documentation, see [/docs/14/llms.txt](/docs/14/llms.txt)