Skip to content
App icon implementationguide

How to add a favicon to a Next.js App Router project

By SkeuDesign Editorial Team1 min read

Answer in brief

Use the App Router's icon file conventions so Next.js can generate the matching head entries. Keep the favicon intended for browser chrome distinct from larger in-page brand artwork.

Place favicon.ico at the top level of app, or src/app for a project using that layout. Build or run the project, inspect the icon link in the served page and load its href directly. Check the silhouette in a real browser tab.

Trace the favicon for a particular route

Visit a nested route and inspect its rendered head if the tab icon changes between screens. Follow the actual icon href and compare it with the root route's link. A segment-level icon can explain why editing the top-level file seems to fix the home page alone.

Sources

  1. [1] favicon, icon, and apple-icon — Next.js, accessed November 23, 2026

Frequently asked questions

Can a nested route have its own icon?

The icon file convention can be used in route segments. The special favicon.ico convention applies at the top app level.