🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Change Favicon in Magento 2

By Sanjay JethvaUpdated on May 22, 2025 3 min read

A favicon, i.e, the “favourite icon” is the small icon that you see on the tab of each page in the browser.

The favicon represents your brand to the user when he is visiting multiple sites at a time. If you want your store to stand apart among multiple sites open at a time in the visitor’s machine, favicon does play a significant role!

Magento 2 allows the admin to upload favicon from the admin panel. It is recommended to use the ICO image format for the favicon, however, PNG, JPG, GIF, JPEG, APNG and SVG file types are also allowed, also uploading SVG image in Magento 2 custom module to enhance visual content. The favicon is usually 16 * 16 pixels or 32 * 32 pixels in size.

The size and file type can be conveniently changed as per the requirements using free online tools available.

The default Magento favicon is of size 16*16 pixels which can be overridden by uploading a custom brand icon from the admin panel or adding it at a particular location in the theme directory manually. In case of both favicons, the priority of the one uploaded in the admin panel is considered.

Check the steps to change favicon in Magento 2 that represents your brand!

Steps to change favicon in Magento 2:

1. Login to admin panel

2. Navigate to Content > Configuration

3. Open the current website/theme in the edit mode

1_change-favicon-in-Magento-2

4. Expand the HTML Head section

5. Click on upload button to upload the favicon icon.

2_change-favicon-in-Magento-2

6. Save the configuration

7. Refresh cache

That’s it.

The favicon will appear as follows:

change-favicon-in-Magento-2-frontend

Please share the post with the Magento community via social media.

Thank you.

Sanjay Jethva Full Image
Article bySanjay Jethva

Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe. His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.