Oct 2026 · Comparison · ~8 min read
Next.js App Router vs Pages Router — Which to Use
By Safdar Ali — frontend engineer, Bengaluru
New work I start uses the App Router. I do not rewrite a stable Pages Router app because a blog post said the old router is finished. The choice is about the next feature, not about the history of Next.js.
| App Router | Pages Router | |
|---|---|---|
| Where files live | app/ | pages/ |
| Shared UI | Nested layouts that do not remount | _app plus component composition |
| Data | Fetch in Server Components | getServerSideProps / getStaticProps |
| Client interactivity | "use client" on the leaf that needs it | The page is client-capable by default |
What I pick
- A new product or marketing site: App Router, TypeScript, Server Components by default.
- A Pages app that is fast and understood by the team: leave it. Add a route in pages/ if that is cheaper than a migration.
- A Pages app whose layout and data fetching are the bottleneck: migrate a section, not the whole tree in one pull request. The steps in the load-time case study are the order I still follow.
Where people get stuck after they choose
The App Router reward is server rendering. The cost is drawing the client boundary in the right place. That is the subject of part 1 and part 2. The beginner path for the file layout is the App Router guide.
If this helped you
I publish free tutorials and write-ups like this in my spare time — no paywall on the guides. If it saved you an afternoon of trial and error, you can support the work:
- Buy me a coffee at buymeacoffee.com/safdarali
- Subscribe to my YouTube channel — it's free; 70+ React & Next.js tutorials
Related reading
More guides on safdarali.in — same author, production-focused.
- Comparison
GitHub Copilot vs Cursor — Which AI Coding Tool is Better in 2026?
GitHub Copilot vs Cursor 2026 — honest comparison from a React developer who uses AI coding tools daily in production.
Aug 2026Read article →
- Comparison
GraphQL vs REST API — Which to Choose for Your Next.js App
GraphQL vs REST 2026 for Next.js — comparison table, code examples, and production recommendations from Safdar Ali.
Jul 2026Read article →