Poick

This is a cached version of https://nextjs.org/docs/pages from 2/28/2026, 3:21:36 PM.

Next.js Docs: Pages Router | Next.js

Before Next.js 13, the Pages Router was the main way to create routes in Next.js with an intuitive file-system router.

MenuUsing App RouterFeatures available in /appLatest Version16.1.6Next.js DocsPages RouterCopy pagePages RouterLast updated February 27, 2026 You're viewing the documentation for the Pages Router. See the App Router documentation for the latest features. The Pages Router uses an intuitive file-system router to map each file to a route. Before Next.js 13, the Pages Router was the main way to create routes in Next.js. It's still supported in newer versions of Next.js, but we recommend migrating to the new App Router to leverage React's latest features.Getting StartedLearn how to create full-stack web applications with Next.js with the Pages Router.GuidesLearn how to implement common UI patterns and use cases using Next.jsBuilding Your ApplicationLearn how to use Next.js features to build your application.API ReferenceNext.js API Reference for the Pages Router.Was this helpful?