Every professional website has a small icon in the browser tab, and visitors notice when yours is missing. If you want to add favicon to WordPress, the good news is that the whole job takes about five minutes, costs nothing, and needs no coding for most sites. WordPress calls the favicon a “Site Icon”, which is why many owners search the dashboard for the word “favicon” and find nothing.
This guide shows you how to add favicon to WordPress using every method that works in 2026: the built-in Site Icon setting, the Customizer on classic themes, the Site Editor on block themes, a free plugin, and manual code for developers. You will also learn how to prepare the right image, check that the icon actually appears, and fix it when it does not.
In this guide
- What Is a Favicon and Why It Matters
- Before You Add Favicon to WordPress: Prepare the Right Image
- Method 1: Add Favicon to WordPress with Settings > General
- Method 2: The Customizer on Classic Themes
- Method 3: Block Themes and the Site Editor
- Method 4: Plugins and RealFaviconGenerator
- Method 5: Manual Code for Developers
- Which Method Should You Choose?
- How to Check Your Favicon Is Working
- Troubleshooting: Favicon Not Showing?
- Favicon Design Tips That Actually Work
- Frequently Asked Questions
- Conclusion
What Is a Favicon and Why It Matters
A favicon is the small square icon that represents your website in browser tabs, bookmark lists, search results, and on phone home screens. WordPress calls it the Site Icon, but it is the same thing. When a visitor opens ten tabs at once, your favicon is often the only thing that identifies your site at a glance.
A missing favicon leaves the generic browser icon in the tab, which looks unfinished and makes your site harder to recognise. That is why so many site owners decide to add favicon to WordPress on day one. Once you add favicon to WordPress, a clear icon strengthens your brand every time someone glances at their tabs or bookmarks. It is a tiny detail, but it is one of the first details visitors see.
The best part is that you can add favicon to WordPress for free. Every method in this guide costs nothing, and the built-in method needs no plugin at all. All prices were checked on 22 November 2026, and there is nothing to buy: the tools, the generator, and the WordPress setting itself are all free.
Before You Add Favicon to WordPress: Prepare the Right Image
Before you add favicon to WordPress, prepare one good square image. WordPress asks for a square image of at least 512 by 512 pixels, and PNG is the recommended format because it keeps transparency and survives resizing cleanly. Uploading at exactly 512 by 512 pixels is ideal, because then WordPress skips the crop step and you control the final pixels.
WordPress automatically generates the smaller sizes your site needs once you upload the master image. It creates copies at sizes such as 270, 192, 180, 64, and 32 pixels, and it prints the right tags into the head section of every page for you. That is why one upload is enough when you add favicon to WordPress with the built-in method.
Your source image should be simple, because the moment you add favicon to WordPress it will usually be shown at 16 by 16 pixels in a browser tab, so fine detail, small text, and thin lines disappear at that size. Use one bold shape, one or two colours, and plenty of contrast. A simplified version of your logo, a single initial, or a simple mark works far better than a full logo squeezed into a square.

Method 1: Add Favicon to WordPress with Settings > General
This is the recommended way to add favicon to WordPress in 2026, and it works on every theme. Since WordPress 6.5, the Site Icon setting lives on the General settings page, so block-theme users who have no Customizer can set a favicon without touching a template.
Step-by-step instructions
First, log in to your WordPress dashboard and go to Settings > General. Scroll down to the Site Icon row, just below the Tagline field. Click Choose a Site Icon to open the media library.
Next, upload your square image or select one already in the media library. If the image is not square, WordPress will ask you to crop it. Drag the crop box until the preview looks right, then confirm the crop.
Then click Set as Site Icon and scroll down to click Save Changes. Your favicon is now live, although your browser may still show the old icon for a while because of caching, which we cover in the troubleshooting section below.
Why this method is the default
The Settings method is the simplest way to add favicon to WordPress because it uses only WordPress core. There is no plugin to install, update, or remove later, and the setting survives theme changes. If you switch themes next year, your Site Icon stays in place.
It is also the method WordPress itself documents first. The official WordPress documentation describes the Site Icon as the image shown in browser tabs, bookmark bars, and the WordPress mobile apps, and it recommends a square image of at least 512 by 512 pixels. You can read the official guidance on creating a favicon on WordPress.org.
Method 2: The Customizer on Classic Themes
If your site uses a classic theme, you can add favicon to WordPress through the Customizer instead. This is the older route, and it works on any WordPress version from 4.3 onward, when built-in Site Icon support was first introduced.
Step-by-step instructions
From your dashboard, go to Appearance > Customize. This opens the Customizer with a live preview of your site. Click Site Identity in the left-hand panel.
In the Site Identity panel you will see your site title and tagline at the top, and the Site Icon section below them. Click Select Image, then upload your 512 by 512 image or pick one from the media library. Crop it if WordPress asks, and you will see a preview of the icon in the browser tab straight away.
When you are happy with the preview, click Publish at the top of the Customizer to add favicon to WordPress on a classic theme. The change is live immediately, and it sets exactly the same Site Icon as Method 1, so the two methods are interchangeable on classic themes.
When to use the Customizer
Note that block themes hide the Customize menu. If you cannot see Appearance > Customize, your theme is a block theme, and you should use Method 1 or Method 3 instead. On a classic theme you can also open the Customizer directly by adding /wp-admin/customize.php to your site address.
Method 3: Block Themes and the Site Editor
Block themes skip the Customizer entirely, but they offer a second way to add favicon to WordPress in the Site Editor. This method is handy when your logo is already a clean square mark, because you can turn the logo itself into the favicon.
Step-by-step instructions
Go to Appearance > Editor to open the Site Editor, then open the header template part. Select the Site Logo block, or add one if the header has none, and upload or choose your logo image.
In the block settings sidebar, turn on Use as Site Icon. Click Save in the top right corner. WordPress then uses the logo image as the Site Icon too, and it appears in browser tabs and bookmarks just like an icon set through Settings.
How to tell which theme type you have
Look under Appearance in your dashboard. Once you know your theme type, you can pick the right way to add favicon to WordPress in under a minute. If you see Editor, you use a block theme. If you see Customize, you use a classic theme. The rule is simple, and it tells you in seconds whether Method 2 or Method 3 applies to your site.
Method 4: Plugins and RealFaviconGenerator
If you want to add favicon to WordPress with the most complete coverage across devices, including Apple touch icons, Android home screen icons, and Windows tiles, a plugin is the right choice. The best-known free tool for this is RealFaviconGenerator, which generates every icon size from one master picture and gives you the HTML code to match.
The free generator website
RealFaviconGenerator is a free web tool. Upload your master image, preview how the icon looks on each platform, adjust the background colours and margins per platform, and download a package with all the icon files and the HTML snippet. The service is free, and you can use the downloaded files with any website, not only WordPress.
The companion WordPress plugin
The companion plugin, Favicon by RealFaviconGenerator, is free on WordPress.org and does the whole job inside your dashboard. Install it from Plugins > Add New, search for “Favicon by RealFaviconGenerator”, click Install Now, and activate it.
After activation, go to Appearance > Favicon to add favicon to WordPress with the generator’s full icon set. Select a master picture from the media library, click Generate Favicon, and follow the instructions on the RealFaviconGenerator site. The plugin then installs the generated icons and adds the code for you, so you never touch a theme file.
When a plugin makes sense
Choose this method if you run a business site and want every platform covered, or if you need a favicon.ico file in the site root for older apps. For a simple blog or a new site, Method 1 is enough, and you can always switch to the plugin later without losing anything.

Method 5: Manual Code for Developers
Developers sometimes prefer to add favicon to WordPress by hand, usually because they manage many sites or need full control over the markup. The manual method works, but it is the only method in this guide that can break your site if you edit the wrong file.
How the manual method works
First, create your icon files if you plan to add favicon to WordPress by hand. Save a copy of your icon as favicon.ico and, if you want full coverage, generate the PNG sizes and the Apple touch icon as well. Upload the files to your site root directory, usually public_html, using FTP or your hosting file manager.
Then add link tags to the head section of your theme, pointing browsers at the files. A basic example looks like this:
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
The child theme rule
Never edit your theme files directly. Any change to the parent theme is wiped out the next time the theme updates, and your favicon disappears with it. Make the edit in a child theme instead, so your link tags survive updates.
If you have never built a child theme, our guide to how to add custom CSS to WordPress explains the safe way to customise a theme without losing your changes on update, and the same principle applies here. Unless you are comfortable with FTP and theme files, pick Method 1 or Method 4 instead: they give the same result with far less risk.
Which Method Should You Choose?
There is no single best way to add favicon to WordPress, only the best method for your site. The table below compares all four practical routes side by side so you can decide in seconds.
| Method | Best for | Difficulty | Cost | Theme changes | Platform coverage |
|---|---|---|---|---|---|
| Settings > General (Site Icon) | Almost every site | Easy | Free | Survives | Browsers, bookmarks, mobile |
| Customizer > Site Identity | Classic themes | Easy | Free | Survives | Browsers, bookmarks, mobile |
| Site Editor / Site Logo block | Block themes with a square logo | Easy | Free | Survives | Browsers, bookmarks, mobile |
| Favicon by RealFaviconGenerator plugin | Full multi-platform coverage | Easy | Free | Survives | All platforms, including Windows tiles |
| Manual code | Developers managing many sites | Medium | Free | Needs a child theme | Full control, if you do the work |
For most readers, the answer is simple: use Settings > General. That is the fastest way to add favicon to WordPress and the one we recommend first. It takes two minutes, costs nothing, needs no plugin, and covers the places that matter. Reach for the RealFaviconGenerator plugin only when you need the extra platform icons, and use manual code only when you are already comfortable editing theme files.
How to Check Your Favicon Is Working
After you add favicon to WordPress, verify it instead of assuming it worked. Open your site in a private or incognito browser window and look at the tab. A private window skips most of your cached data, so it shows the new icon sooner than your normal window. This check works whichever method you used to add favicon to WordPress.
Next, check a second browser. Chrome, Firefox, and Safari all cache favicons aggressively, and one browser can hold the old icon for days while another shows the new one. If the icon appears in one browser but not another, the setting is fine and the problem is caching.
Finally, bookmark the site and save it to a phone home screen. Both actions use the favicon, and both are quick checks that confirm the icon works outside the browser tab as well.
Troubleshooting: Favicon Not Showing?
If you tried to add favicon to WordPress and the icon refuses to appear, the cause is almost always caching, not settings. Work through these fixes in order, and check the tab after each one.
Clear your browser cache
Browsers cache favicons for a long time, sometimes for weeks. This step alone fixes most cases where a new icon will not appear after you add favicon to WordPress. Do a hard refresh with Ctrl + Shift + R on Windows or Cmd + Shift + R on Mac, or clear the browser cache entirely. Then open the site in a private window to see the fresh icon.
Clear your WordPress cache
If you use a caching plugin or a host-level cache, clear it after changing the icon. A cached page can keep serving the old head section with the old icon tags. The same applies to a content delivery network: purge the cache for your homepage and the icon files.
Check for a leftover favicon.ico
An old favicon.ico file in your site root can override the Site Icon, because some browsers request that file directly. If you previously uploaded one by hand, delete it or replace it with the new icon, then hard refresh.
Check the image itself
If the upload failed, the usual cause is the image. Confirm it is square, at least 512 by 512 pixels, and saved as PNG, JPEG, or GIF. A very large file can also fail on some hosts, so keep the master image under a few hundred kilobytes. Our guide to optimize WordPress images shows how to shrink images without losing visible quality.
Wait, then check again
Sometimes nothing is wrong at all. Search engines and some browsers take hours to pick up a new favicon, and Google can take days to show it next to a search listing. If the icon appears in a private window, your work is done, and the rest is just waiting.
Favicon Design Tips That Actually Work
A good favicon is simple, bold, and readable at 16 pixels. Every tip below assumes you will add favicon to WordPress from a single 512 pixel master image. Start by removing everything that is not essential. If your logo has a wordmark, drop the words and keep only the mark. If your mark has fine detail, redraw a simplified version for the icon alone.
Contrast matters more than colour choice. Test the icon on a white tab, a dark tab, and a grey bookmark bar. If it disappears on any of them, add a solid background or a light outline. A small white border around a dark mark is a classic fix that costs nothing.
Use one colour as the background and one as the mark where you can.
Frequently Asked Questions
What size should a WordPress favicon be?
Upload a square image of at least 512 by 512 pixels, ideally exactly 512 by 512 in PNG format. WordPress then generates the smaller sizes automatically, including 270, 192, 180, 64, and 32 pixel versions, and prints the matching tags in your page head.
Where is the favicon setting in WordPress?
Since WordPress 6.5, the setting is under Settings > General > Site Icon on every theme. Classic themes also show it in Appearance > Customize > Site Identity, and block themes offer it in the Site Editor under Appearance > Editor > Identity > Site Icon, or through the Site Logo block.
Do I need a plugin to add a favicon to WordPress?
No. You can add favicon to WordPress with the built-in Site Icon setting and no plugin at all. A plugin such as Favicon by RealFaviconGenerator is useful only when you want the widest platform coverage, including Apple touch icons and Windows tiles, from one upload.
Is RealFaviconGenerator free?
Yes. RealFaviconGenerator is free to use, and its companion WordPress plugin is also free. Upload a master image, preview the result on each platform, and download the full icon set at no cost.
Why is my new favicon not showing?
The usual cause is caching. Browsers cache favicons aggressively, so do a hard refresh, clear your browser and WordPress caches, and check in a private window. Also look for an old favicon.ico file in your site root, which can override the new icon.
Can I use an SVG as my WordPress favicon?
No, not as the Site Icon. SVG is not an allowed upload type for the Site Icon, and search engines do not show SVG favicons. Use a PNG of at least 512 by 512 pixels instead.
Conclusion
Learning how to add favicon to WordPress takes five minutes, and it is one of the highest-value small jobs on a new site. Upload a square 512 by 512 PNG, set it as your Site Icon under Settings > General, and WordPress handles the sizes and the code for you. If you need every platform covered, the free RealFaviconGenerator plugin does the rest.
Add favicon to WordPress today, while your site is still young, so every tab, bookmark, and home screen shortcut carries your brand from the start. Then check the icon in a private window, and move on to the next job: if your site still needs its search foundations, our guide to how to add a sitemap to WordPress is the logical next step.
The BadilHost verdict: To add favicon to WordPress, use Settings > General > Site Icon with a square 512 by 512 PNG. It is free, takes two minutes, needs no plugin, and survives theme changes. Use the free RealFaviconGenerator plugin only when you need full Apple, Android, and Windows tile coverage.