Skip to content

Favicon guide

Favicon not showing? How to fix it

Nine times out of ten it's caching or a wrong path. Work through this list from the top.

Updated November 11, 2026

1. The browser cached the old icon

Browsers keep favicons in a separate cache that a normal reload doesn't clear. Check in a private or incognito window first. If it shows there, your setup is fine and your regular browser just needs time. To force it, open the icon URL directly (/favicon.ico), hard-reload that tab, then reload your page. Some people add a version to the URL, like /favicon.svg?v=2, to bust caches for every visitor.

2. The path is wrong

Open the exact URL from your href in the browser. If you get a 404, the file isn't where the tag says. Common causes: writing /public/favicon.ico instead of /favicon.ico in Vite, Astro, or Next.js; using favicon.ico (relative) on a page inside a subfolder; or a site deployed under a sub-path such as GitHub Pages.

3. The tag isn't in the <head>

View the page source (not the inspector) and search for rel="icon". If it's missing, your template isn't the one that's actually rendering, or the tag ended up in <body>.

4. No favicon.ico at the root

Some browsers, bookmarks, and tools ignore your tags and request /favicon.ico directly. Keep a real ICO file there, even if you also use SVG.

5. A renamed PNG isn't an ICO

Changing favicon.png to favicon.ico doesn't convert it. Most browsers cope, but some tools don't. Export a real multi-size ICO; FavMint builds one with 16, 32, and 48 px images inside.

6. The server sends the wrong content type

SVG favicons need to be served as image/svg+xml. In the browser's Network tab, click the favicon request and check the Content-Type header. Misconfigured servers sometimes send text/plain or application/octet-stream, and the icon is ignored.

7. Something else declares an icon

A framework default (Next.js's app/favicon.ico), a CMS setting, a theme, or a plugin may be adding its own <link rel="icon">. With several icon tags, the browser picks one by its own rules. Search the rendered source for every rel="icon" and remove the extras.

8. It's there, but invisible

A black icon on a transparent background vanishes on a dark tab bar, and thin artwork disappears at 16 px. Put the mark on a filled shape, or make it adapt to dark mode.

9. Google search still shows the old icon (or a globe)

Google recrawls favicons on its own schedule, often days to weeks. Make sure your home page has a <link rel="icon">, the icon is square and a multiple of 48×48 px, and neither the page nor the icon is blocked by robots.txt. You can ask Google to recrawl your home page with the URL Inspection tool in Search Console, but there's no way to force the favicon update itself.

Make your favicon in a minute

FavMint is a free favicon generator that runs in your browser. Design an icon from letters, symbols, or 2,100+ icons, check it at real sizes, and download the full package: favicon.ico, SVG, PNGs, the Apple touch icon, Android icons, and site.webmanifest. No signup, nothing uploaded.