# Missing favicon

> A favicon improves brand recognition in browser tabs and bookmarks. Google displays favicons in SERPs. Google requires favicons to have a 1:1 aspect...

Source: https://seocode.io/checks/missing-favicon

[All checks](https://seocode.io/checks) / Technical

A favicon improves brand recognition in browser tabs and bookmarks.

Info `missing-favicon`

In SEOCode's checks since 30 Apr 2026

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Read the docs](https://seocode.io/docs)

## Why this matters.

A favicon improves brand recognition in browser tabs and bookmarks. Google displays favicons in SERPs. Google requires favicons to have a 1:1 aspect ratio and be at least 8x8px in size. A higher resolution favicon of at least 48x48px is strongly recommended. Both the favicon file and the home page of the site must be crawlable by Googlebot-Image and Googlebot respectively. Favicons are supported at the domain and subdomain level, not at the subdirectory level. You do not need to host the favicon on the same domain to be eligible.

Runs on `.html` `.jsx` `.tsx` `.vue` `.svelte` · Advisory checks point at an improvement. They never block a merge.

## How to resolve it.

Add `<link rel="icon" href="/favicon.ico" type="image/x-icon" />` inside `<head>`. Ensure the favicon has a 1:1 aspect ratio and is at least 48x48px. Confirm Googlebot can crawl both the favicon file (via Googlebot-Image) and your home page (via Googlebot).

**SEOCode writes this fix for you**

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.

## Where this comes from.

- [01 · Favicon In Searchdevelopers.google.com](https://developers.google.com/search/docs/appearance/favicon-in-search)

Using a framework? [Next.js](https://seocode.io/nextjs-seo) · [SvelteKit](https://seocode.io/sveltekit-seo) · [Nuxt](https://seocode.io/nuxt-seo)

## Related checks.

Crawling, indexing, rendering and the directives that can take a page out of search.

- [01 · Missing lang attribute on <html> Critical The lang attribute on the <html> element tells search engines and screen readers what language the page is in.](https://seocode.io/checks/missing-lang)

- [02 · Missing viewport meta tag Critical Without a viewport meta tag, mobile browsers render the page at desktop width, causing poor mobile UX and hurting mobile rankings.](https://seocode.io/checks/missing-viewport)

- [03 · Missing charset declaration Warning Without a charset declaration, browsers may misinterpret the page encoding, causing garbled text.](https://seocode.io/checks/missing-charset)

- [04 · Missing canonical tag Warning Without a canonical tag, search engines may index duplicate versions of your page (e.g., with/without trailing slash, with query params).](https://seocode.io/checks/missing-canonical)

- [05 · noindex directive detected Critical A meta robots noindex tag was found.](https://seocode.io/checks/accidental-noindex)

- [06 · Back button hijacking spam policy Critical Google has added 'back button hijacking' as a named malicious practice in its spam policies.](https://seocode.io/checks/back-button-hijacking)

[All 41 technical checks](https://seocode.io/checks#technical)

## Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Get a website audit](https://seocode.io/audit?from=checks-cta)

Free for public repositories · no credit card
