top of page

Favicon Not Showing Up

A favicon, shorthand for "favorite icon," is a small, iconic image that represents a website or a web page. Displayed in various contexts such as browser tabs, bookmark lists, history archives, and sometimes in the address bar, favicons serve as a visual identifier for websites, making it easier for users to recognize and navigate through multiple tabs or bookmarks. Typically sized at 16x16, 32x32, or 48x48 pixels, these tiny images pack a significant punch in terms of branding and user experience.

Despite their importance, there are times when favicons fail to appear as expected. This issue can be perplexing and frustrating for web developers and site administrators.

Favicon Not Showing Up

Table of Contents

Common reasons for a favicon not showing include

  1. Incorrect File Format or Size: Favicons must adhere to specific formats and sizes to be compatible across various browsers and devices. The most universally accepted format is the ICO file, but PNG or SVG formats are also widely used.

  2. Improper Linking in HTML: The <link> tag used to reference the favicon in the website's HTML code might be incorrect or placed improperly.

  3. Caching Issues: Browsers often cache favicons, so any update or change might not be immediately visible to users who have previously visited the site.

  4. Path Issues: If the favicon file is not correctly located or if its path is not accurately specified in the site's HTML, it won't display.

  5. Server Configuration: Web servers need to be configured to serve favicon files with the correct MIME type. Incorrect server-side settings can prevent the favicon from being displayed.

  6. Cross-Browser Compatibility: Different browsers may have varying requirements or handle favicons in unique ways, leading to inconsistencies in how favicons are displayed.

In the following sections, we'll delve into each of these issues in detail, providing a comprehensive guide to diagnosing and fixing the problem of a missing favicon.

Do Basic Check If Favicon is not showing

When a favicon is not displaying as expected, conducting some basic checks can often resolve the issue. Here are the key areas to examine:

A. Correct Favicon Format

Favicons can be created in various file formats and sizes, and choosing the right combination is crucial for broad compatibility and optimal display.

1. Standard Formats:

  • ICO: Traditionally, favicons are in the .ico format, which is universally supported across all browsers. This format can contain multiple sizes (16x16, 32x32, 48x48 pixels) within a single file, allowing the browser to select the appropriate size.

  • PNG and SVG: Modern web practices also embrace .png and .svg formats for favicons. PNG is widely supported and can handle transparency, while SVG offers scalability without loss of quality.

2. Sizes:

  • Classic Sizes: The traditional size for favicons is 16x16 or 32x32 pixels. These sizes are sufficient for display in browser tabs and bookmarks.

  • Larger Sizes: For high-resolution displays or specific use cases (like Apple touch icons), larger sizes (up to 180x180 pixels or more) may be used.

3. Responsive Design: Including multiple sizes or using SVG format can ensure the favicon looks sharp on devices with varying screen resolutions and pixel densities.

B. File Location

The location of your favicon file is crucial for its proper display.

  1. Standard Directory: Often, the favicon is placed in the root directory of the website (e.g., This is a common convention and allows some browsers to automatically detect the favicon.

  2. Alternative Directories: If the favicon is not in the root, ensure it's in a directory that is accessible to the public and correctly referenced in the HTML code.

C. HTML Link Tag

Properly linking the favicon in your website's HTML is essential for it to appear.

  1. Syntax: The <link> tag is used in the <head> section of the HTML document. For an ICO format, the tag looks like this:

  2. Path: Ensure the href attribute correctly points to the location of the favicon file. Relative paths (like /favicon.ico) are relative to the root directory of the site, while absolute paths include the full URL.

  3. Multiple Icons: If providing multiple icons for different contexts (e.g., standard favicon, Apple touch icon), ensure each <link> tag is correctly specified.

By addressing these basic checks, many common issues with favicons not displaying can be resolved quickly and effectively.

Browser-Related Factors Affecting Favicon Display

When troubleshooting favicon visibility issues, it's crucial to consider factors unique to each web browser, as they can significantly influence how favicons are processed and displayed. This section covers two main aspects: the necessity of clearing the browser's cached data and the differing ways browsers interpret and display favicons.

A. Purging Cached Data in Browsers

Web browsers store cached data to expedite the loading of frequently visited sites. This cache, while useful for speed, can sometimes hinder the display of updated favicons. Here’s a guide to clearing cache in several popular browsers:

Google Chrome:

  • Open the menu (three vertical dots) in the upper right.

  • Navigate to "More tools" > "Clear browsing data."

  • Select a time range, with "All time" being comprehensive.

  • Tick the box for "Cached images and files" and confirm with "Clear data."

Mozilla Firefox:

  • Access the menu (three horizontal lines), and select "Options."

  • Go to "Privacy & Security."

  • Under "Cookies and Site Data," click on "Clear Data."

  • Ensure "Cached Web Content" is selected before clearing.


  • In the menu bar, click "Safari," then "Preferences."

  • Head to the "Advanced" tab.

  • Enable "Show Develop menu in menu bar."

  • In the new Develop menu, choose "Empty Caches."

Microsoft Edge:

  • Click the menu (three horizontal dots) in the corner.

  • Go to "Settings" > "Privacy, search, and services."

  • Under "Clear browsing data," select "Choose what to clear."

  • Tick "Cached images and files" and click "Clear now."

B. Browser-Specific Handling of Favicons

Each browser may have unique ways of processing and displaying favicons, affecting their visibility:

Support for File Formats:

  • While ICO, PNG, and SVG are broadly supported, it's worth checking for any browser-specific requirements or limitations regarding favicon formats.

Preferences for Size and Resolution:

  • Certain browsers might display specific favicon sizes more effectively, particularly on high-resolution screens.

Automatic Favicon Detection:

  • Some browsers, like Chrome and Firefox, can automatically detect a favicon placed in the root directory, even if it's not explicitly referenced in the HTML. This behavior, however, is not consistent across all browsers.

Mobile Browser Tags:

  • Mobile browsers, particularly on iOS, often require specific tags (like Apple touch icons) for favicons. Correct setup is essential for mobile display.

Impact of Browser Updates:

  • Browser updates can alter favicon handling. Check whether the issue is related to a specific browser version.

Understanding these browser-related factors is key to ensuring your favicon is correctly displayed across different platforms and browsers.

Advanced Troubleshooting

When basic checks don't resolve favicon display issues, advanced troubleshooting techniques can be employed. These methods delve deeper into the technical aspects of website and browser interaction. We'll focus on two advanced strategies: inspecting network activity via browser developer tools and verifying the favicon's path relative to the website's root directory.

A. Network Inspection

Utilizing the developer tools in browsers to inspect network activity can provide insights into favicon loading issues. This process allows you to see if the favicon request is being made and how the browser is handling it.

1. Opening Developer Tools:

  • In most browsers (like Chrome, Firefox, and Edge), you can access developer tools by right-clicking on the webpage and selecting "Inspect" or by pressing Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac).

2. Using the Network Tab:

  • Once the developer tools are open, navigate to the "Network" tab.

  • Reload your website to capture all network activity from the start.

  • Look for the favicon file in the list of network requests. It is often named as per its file name (e.g., favicon.ico).

3. Analyzing the Request:

  • Check the status of the favicon request. A "200" status code indicates a successful load, while a "404" suggests the file was not found.

  • Examine the request and response headers to ensure correct paths, file types, and cache settings.

B. Path Relative to the Root

Ensuring the favicon's path is correctly specified in relation to the website's root directory is crucial, especially in different hosting environments.

1. Understanding Root Directory:

  • The root directory refers to the main folder where your website's files are stored. The path to the favicon should be relative to this directory.

2. Common Path Issues:

  • If your website is hosted in a subdirectory or subdomain, the path to the favicon might need adjustment.

  • For instance, if your site's URL is, the favicon path should account for the /blog subdirectory.

3. Checking Path in HTML:

  • Revisit the <link> tag in your HTML to ensure the path correctly reflects the favicon's location relative to the root.

  • Use absolute paths (starting with /) for clarity and consistency, especially if your site's structure is complex.

4. Hosting Environment Variations:

  • Different hosting environments (like shared hosting, VPS, or cloud services) might have unique configurations that affect how paths are interpreted. Ensure that your path settings align with your hosting provider's requirements.

By conducting these advanced troubleshooting steps, you can isolate and resolve more complex issues that prevent your favicon from displaying correctly. These methods require a deeper understanding of web development and hosting environments but are often critical in diagnosing favicon-related problems.


In conclusion, resolving favicon display issues requires a methodical approach, beginning with basic checks of format, file location, and HTML syntax, and advancing to browser-specific considerations and network inspections. Understanding these different layers - from file types and caching to the intricacies of browser behavior and hosting environments - is key. With patience and attention to detail, you can ensure that your website's favicon appears consistently and correctly across all platforms and browsers.


bottom of page