Free auditStart free
GuideWordPress · Branding

WordPress favicon

Set your WordPress favicon through the Site Icon setting in the Customizer or Site Editor, then check it against Google's favicon guidelines.

4 min
read
5
sources
Oct 23, 2026
updated
Scaplet Editorial Team
author
In one line

WordPress calls the favicon the Site Icon. On a classic theme, set it at Appearance > Customize > Site Identity. On a block theme, open Appearance > Editor, then Identity. WordPress says the image should be square and at least 512 by 512 pixels. Google also needs a crawlable home page and favicon file.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01How it works

Where to set the WordPress favicon

The setting depends on the theme type
Theme typeWhereWhat WordPress documents
Classic theme with the CustomizerAppearance > Customize > Site Identity > Site Icon > Select ImageIcons must be square, and at least 512 pixels wide and tall
Block themeAppearance > Editor, then Identity in the sidebarThe Identity menu is only available with an activated block theme
Block theme, from the Site Logo blockSite Logo block settings, where the Learn WordPress tutorial says you find the setting to set a site iconThat tutorial says to set a logo first, then you can delete it later and the site icon remains

The Customizer is only available if the active theme supports it. WordPress says it stays hidden for block themes unless a plugin needs it. If you cannot find Site Identity, check whether the active theme is a block theme.

  1. 01

    Prepare the image

    Use a square image of at least 512 by 512 pixels. WordPress says the Site Icon is shown in browser tabs, bookmarks, and mobile apps. Google recommends a favicon larger than 48x48px.

  2. 02

    Open the right screen

    In a classic theme go to Appearance > Customize and open Site Identity. In a block theme go to Appearance > Editor and select Identity.

  3. 03

    Choose the image

    Pick or upload the file in the media library. In the block theme Identity screen, WordPress says you can click the image to open the media library and pick a different one, or remove it with the X when you hover.

  4. 04

    Publish

    In the Customizer, click Publish. In the Site Editor, save your changes. WordPress says Identity changes are available after saving.

02Tags output by wp_site_icon()

What WordPress puts in the page

WordPress prints the icon tags itself through wp_site_icon(), which its developer reference describes as displaying site icon meta tags. A theme normally does not need a hand-written <link> tag.
Tag

<link rel="icon">

Size
32x32
Purpose
Standard icon
Tag

<link rel="icon">

Size
192x192
Purpose
Larger icon
Tag

<link rel="apple-touch-icon">

Size
180x180
Purpose
Apple touch icon
Tag

<meta name="msapplication-TileImage">

Size
270x270
Purpose
Windows tile image

Each size is only output if it is available. Plugins can modify the tags through the site_icon_meta_tags filter, so a plugin can also change what a page prints. View the page source and search for rel="icon" to see the live result.

04How it works

Check it in two minutes

  1. 1

    Read the source

    Open the live home page, view source, and search for rel="icon". Confirm the URL loads in a browser.

  2. 2

    Check crawl access

    Open /robots.txt and make sure nothing blocks the home page or the icon file. See WordPress robots.txt.

  3. 3

    Ask Google to refresh

    Inspect the home page URL in Search Console and request indexing, then wait. See the favicon glossary entry for how it appears in results.

Google also says a favicon is not guaranteed to appear in Search results even if every guideline is met, and that its crawl can take anywhere from several days to several weeks, so a browser tab can show the new icon well before Search does. For other head tags WordPress controls, see WordPress title and meta.

Sources · 5

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • wordpress.org
  • google.com
  1. 01Site Editor Identity | WordPress.org Documentationwordpress.org · checked 2026-10-25
  2. 02Customizer | WordPress.org Documentationwordpress.org · checked 2026-10-25
  3. 03How to add and remove a logo and site icon in a WordPress block theme | Learn WordPresslearn.wordpress.org · checked 2026-10-25
  4. 04wp_site_icon() | WordPress Developer Resourcesdeveloper.wordpress.org · checked 2026-10-25
  5. 05Define a favicon to show in Google Search results | Google Search Centraldevelopers.google.com · checked 2026-10-25
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01How do I add a favicon in WordPress?

Set the Site Icon. In a classic theme use Appearance > Customize > Site Identity. In a block theme use Appearance > Editor > Identity. WordPress says the image should be square and at least 512 by 512 pixels.

02What size should a WordPress favicon be?

WordPress says square and at least 512 by 512 pixels. Google needs a square favicon of at least 8x8px and recommends one larger than 48x48px.

03Why is my WordPress favicon not showing in Google?

Google says crawling can take several days to several weeks. Also confirm that Googlebot can crawl the home page and Googlebot-Image can crawl the icon file, and that the icon URL is stable.

04Can I use a favicon without a site logo in a block theme?

Yes. WordPress's Site Editor Identity page lists Site Icon next to Site Logo, so you can set it there directly. An older Learn WordPress tutorial says to set a logo first, then delete it later, and the site icon remains.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane