Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Backups & maintenance · Guide

How to Update Favicon in WordPress (Step by Step)

How to Update Favicon in WordPress (Step by Step)

Short answer

WordPress calls the favicon the Site Icon, and in a classic theme you open Appearance > Customize > Site Identity, upload a square image of at least 512 pixels and publish. In a block theme, turn on Use as Site Icon in the Site Logo block, then clear your cache and reload in a private window.

Key takeaways

  • The favicon is the Site Icon setting, used for tabs, bookmarks and phone shortcuts.
  • Use a square image of at least 512 by 512 pixels with a simple design.
  • Classic themes set it in the Customizer, block themes through the Site Logo block.
  • Browser, plugin and CDN caches often keep the old icon showing for a while.
  • An old favicon.ico file in the site root can override the new Site Icon.

How do you update the favicon in WordPress?

Upload a new square image as your Site Icon, in Appearance > Customize > Site Identity for classic themes or the Site Logo block settings for block themes, then clear caches so browsers show it.

WordPress calls the favicon the Site Icon. The same image is used for browser tabs, bookmarks, home screen shortcuts on phones and the app icon in the WordPress mobile apps.

Where you set it depends on your theme:

Theme typeWhere to change the Site Icon
Classic themeAppearance > Customize > Site Identity
Block themeSite Editor, Site Logo block, Use as Site Icon
Recent WordPress versionsAlso check Settings > General for a Site Icon field
Theme with its own optionThe theme's settings panel, if it overrides core

If you see Appearance > Customize in your menu, you have a classic theme or a block theme that still exposes the Customizer.

What size should a WordPress favicon be?

Use a square image of at least 512 by 512 pixels, ideally a PNG, and WordPress creates the smaller sizes browsers and devices need.

The WordPress.org favicon documentation recommends a square image of at least 512 pixels. If your image is not square, WordPress asks you to crop it.

Design tips that help a favicon read well at 16 pixels:

  • Use a simple mark, such as one letter or a logo symbol, not the full logo
  • Keep strong contrast with both light and dark browser tabs
  • Avoid thin lines and small text
  • Use a transparent background if your mark works on light and dark tabs
  • Check it in both light and dark mode

Your full logo is a separate setting. To change that, see our guide on changing the logo in WordPress.

How do you change the favicon in a classic theme?

Go to Appearance > Customize > Site Identity, click Change Image under Site Icon, upload or pick your new image, crop it if asked, then click Publish.

Step by step:

  1. In the dashboard, go to Appearance > Customize
  2. Open Site Identity
  3. Under Site Icon, click Change Image (or Select Site Icon if none is set)
  4. Upload a new image or choose one from the Media Library
  5. Crop the image to a square if WordPress asks
  6. Click Publish at the top of the panel

The Customizer preview shows how the icon looks in a browser tab and on a phone screen. This preview helps you catch an icon that is too detailed before it goes live.

How do you change the favicon in a block theme?

Open the Site Editor, select the Site Logo block in your header, and turn on Use as Site Icon in the block settings, or set the icon from Settings > General if your version shows it there.

Step by step with the Site Logo block:

  1. Go to Appearance > Editor
  2. Open a template or the header template part
  3. Click the Site Logo block
  4. In the block settings sidebar, turn on Use as Site Icon
  5. Save

That toggle makes your logo double as the favicon. If you want a different image for the icon than for the logo, use the Site Icon field in Settings > General when your WordPress version has it, or open the Customizer directly by adding customize.php after wp-admin/ in the address bar.

The Site Logo block documentation explains the block's options.

Why is the old favicon still showing?

Browsers cache favicons for a long time, and page caches or CDNs may still serve the old HTML, so the new icon can take hours or days to show for you even after it is saved.

Work through these checks:

  1. Open your site in a private or incognito window
  2. Hard reload with Ctrl+F5 on Windows or Cmd+Shift+R on Mac
  3. Clear your caching plugin's cache
  4. Purge your CDN cache, such as Cloudflare
  5. Open the icon file directly in a new tab to confirm it changed

Caching plugins and hosts often keep pages for hours. Our guide on clearing cache in WordPress covers each layer.

If the private window shows the new icon but your normal browser does not, the problem is only your browser's cache. Visitors who have never seen the old icon get the new one.

How do you check which favicon your site serves?

View the page source and search for rel=“icon”, which shows the exact image URLs WordPress outputs for the Site Icon.

When a Site Icon is set, WordPress adds several link tags to the page head. They point to resized copies of your image, such as 32 by 32 and 192 by 192 pixels, plus an apple-touch-icon for iPhones and iPads.

If you see more than one set of icon tags, a theme or plugin is adding its own. Browsers may then pick an icon you did not expect.

The MDN reference on link types describes how browsers read the icon and apple-touch-icon values.

What if a favicon.ico file overrides your Site Icon?

An old favicon.ico file in your site root can still appear in some browsers and tools, so replace it with your new icon or delete it if you rely on the WordPress Site Icon.

Browsers request /favicon.ico when a page has no icon link tags, and some tools always ask for it. Recent WordPress versions handle that request by sending the Site Icon when no favicon.ico file exists.

So an old file sitting in the root folder wins for those requests. To fix it:

  1. Connect with your host's file manager or FTP
  2. Look in the folder that holds wp-config.php
  3. Rename favicon.ico to favicon-old.ico, or replace it with your new icon
  4. Clear caches and test again

If you are not sure where your root folder is, our guide on where to find wp-config.php shows how to locate it.

How do you remove a favicon set by your theme or a plugin?

Check the theme's own settings and any SEO or header plugin for a favicon field, clear it, and make sure header.php does not hard-code an icon link.

Some older themes and page builders added their own favicon option before WordPress had a Site Icon feature. Those options may still output their own tags.

Places to look:

  • Your theme's options panel
  • Header and footer script plugins
  • Page builder site settings
  • A child theme's header.php file

If the tag is hard-coded in header.php, remove that line in a child theme. Editing the parent theme means the change is lost on the next update.

How long does Google take to show the new favicon?

Google updates favicons in search results when it recrawls your home page, which can take days to weeks, and you can request a recrawl in Search Console to prompt it.

Google has its own favicon guidelines. Among them, the icon should be square, at least 8 by 8 pixels, and Google suggests a size larger than 48 by 48 pixels. The icon file and home page also must be crawlable.

To speed things up:

  1. Open Google Search Console
  2. Use URL Inspection on your home page
  3. Click Request indexing

There is no guaranteed timeline, so be patient. If Google still shows a generic globe icon after several weeks, check that robots.txt does not block the icon file.

How do you update the favicon on a multisite network?

Each site in a WordPress multisite network has its own Site Icon, so update it from each site's dashboard rather than from Network Admin.

Switch to the site through My Sites, then use the same Customizer or Site Editor steps. The network's main site icon does not carry over to subsites.

If every site should share one icon, a network-activated plugin can set it in code. That is a developer task, so test it on staging first.

Can you remove the favicon completely?

You can clear the Site Icon by clicking Remove in Site Identity, but browsers will then show a blank icon or a default WordPress icon, which looks unfinished.

Most sites are better off with a simple custom icon. If you want to remove WordPress branding in general, our guide on removing the WordPress logo from your website covers the other places it appears.

Frequently asked questions

Where is the favicon setting in WordPress?

It is called Site Icon. In classic themes, find it in Appearance > Customize > Site Identity. In block themes, use the Use as Site Icon toggle on the Site Logo block, or the Site Icon field in Settings > General when your version shows one.

What size should my WordPress favicon be?

Upload a square image of at least 512 by 512 pixels. WordPress creates smaller copies for browser tabs, bookmarks and phone home screens. Keep the design simple so it stays readable at tiny sizes.

Why is my old favicon still showing after I changed it?

Browsers cache favicons for a long time, and caching plugins or CDNs may serve old pages. Clear those caches, then test in a private window. An old favicon file in the site root can also override the new icon.

Can I use an ICO file as my WordPress favicon?

The Site Icon setting works with images from the Media Library, such as PNG or JPG files. A PNG is the easy choice. If you need an ICO file for older tools, you can upload it separately to the site root.

Why does Google still show my old favicon?

Google refreshes favicons only when it recrawls your home page, which can take days or weeks. Make sure the icon follows Google's size rules and is not blocked by robots rules, then request indexing of the home page in Search Console.

Sources

  1. Creating a Favicon WordPress.org Documentation
  2. Site Logo block WordPress.org Documentation
  3. Define a favicon to show in search results Google Search Central
  4. HTML attribute: rel MDN Web Docs
  5. get_site_icon_url() WordPress Code Reference

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.