Web & SEO

Favicon not showing? How to fix it

A favicon that won’t show is usually a cached old icon, a broken link, or Google not having fetched it yet. Here is how to check each one and fix it.

If your favicon isn’t showing, the cause is usually one of three things: the browser is still showing a cached old icon, the link in your HTML points to a file that doesn’t load, or (in Google’s results) Google simply hasn’t fetched it yet. Each has a quick check and a fix.

This guide works through the browser tab first, then Google search results, with a table at the end that matches each symptom to its likely cause.

Key takeaways

  • Open the favicon URL directly. If it doesn’t load as an image, fix that first.
  • Browsers cache favicons hard. Test in a private window, and change the file name or add ?v=2 when you update it.
  • Use root-relative paths like /favicon.ico, not favicon.ico, so the link works on every page.
  • Google fetches favicons separately from pages. A new or changed favicon can take days to weeks to appear in results.
  • Google needs a square icon on your home page, crawlable, at a stable URL. Larger than 48 × 48 px is recommended.

Step 1: check the file actually loads

Look at your page source and find the <link rel="icon"> tags. Copy each href, open it in a new tab and check that you see the icon, not an error page.

  • 404 or a page of HTML: the file is missing or the path is wrong. A common cause is a CMS or plugin adding a trailing slash, turning /favicon.ico into /favicon.ico/, which doesn’t exist.
  • Downloads instead of displaying: the server may be sending the wrong content type. SVG favicons need image/svg+xml; ICO files should be image/x-icon or image/vnd.microsoft.icon.
  • Loads, but looks blank: a dark icon on a transparent background disappears on dark browser tabs. Add a background or use an SVG that changes colour in dark mode.

For a deeper check, open your browser’s developer tools, go to the Network tab, reload the page and filter by “favicon” or “icon”. The status column shows whether each request succeeded.

Step 2: fix the paths

A relative path such as href="favicon.ico" works on your home page but not on /blog/my-post/, where the browser looks for /blog/my-post/favicon.ico. Start paths with a slash so they always point to the root of the site:

<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

Also keep a real favicon.ico file in the root folder. Some browsers, feed readers and link preview services request /favicon.ico directly without reading your HTML. The favicon sizes guide explains which files you need and why the sizes="32x32" attribute is there.

Step 3: clear the cache

Browsers store favicons separately from the rest of a page and keep them for a long time. Safari is especially reluctant to refresh them. After changing your icon:

  1. Open the page in a private or incognito window, which starts without the old cache.
  2. Open the favicon URL directly and hard refresh it (Ctrl+Shift+R on Windows and Linux, Cmd+Shift+R on Mac).
  3. For a site-wide change, rename the file (for example favicon-v2.ico) or add a version to the link: /favicon.ico?v=2. Returning visitors then fetch the new file.
  4. On iPhone and iPad, an icon already saved to the home screen won’t update. Remove it and add the site again to see the new one.

Favicon not showing in Google search results

If your favicon works in the browser but Google shows a grey globe, the usual reason is time. Google fetches favicons with a separate crawler, so pages can be indexed days or weeks before their icon appears. Google’s own guidance says recrawling can take several days to several weeks.

If it has been longer than that, check Google’s requirements:

  • The <link rel="icon"> is on your home page. Google supports one favicon per hostname, and a subfolder like /blog/ uses the root site’s icon.
  • The icon is square. The minimum is 8 × 8 px, but Google recommends larger than 48 × 48 px.
  • Googlebot can crawl the home page and Googlebot-Image can crawl the icon file. Check robots.txt doesn’t block either.
  • The favicon URL is stable. Changing it often can delay updates.
  • The format is one Google supports: ICO, PNG, GIF, JPEG, BMP, PPM or TIFF.

Once everything checks out, open Search Console, use URL Inspection on your home page and click Request indexing. Even then, the update isn’t instant, and meeting every guideline doesn’t guarantee the icon will be shown.

Tip: Because Google recommends icons larger than 48 × 48 px and many favicon.ico files stop at 48, add a larger PNG link as well, for example <link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png">. It gives Google a sharper option without affecting browsers.

Symptoms and fixes at a glance

SymptomLikely causeFix
Old icon still showingBrowser cachePrivate window, hard refresh, rename or version the file
Icon on home page onlyRelative pathStart the href with /
No icon anywhereFile missing, 404, or trailing slashOpen the URL directly and fix the path
Icon invisible in dark tabsDark icon, transparent backgroundAdd a background or a dark mode SVG
Old icon on iPhone home screenSaved shortcut keeps its iconRemove and re-add the shortcut
Grey globe in GoogleNot yet recrawled, or blockedWait, check requirements, request indexing
Blurry icon in GoogleOnly a 16 or 32 px icon availableAdd a larger square PNG

Start with a complete set

Most favicon problems come from a missing size or a broken path. The favicon generator turns one logo into the full set (favicon.ico with 16, 32 and 48 px sizes, PNG icons, an Apple touch icon with a solid background and a web app manifest) plus the HTML tags with root-relative paths. It runs in your browser, so your logo isn’t uploaded. If your logo is an SVG with editor clutter, clean it up first with the SVG optimiser.

Source: Google: define a favicon to show in search results.