How can I change favicon. icon in magento 2

You can do this through the admin:

Content -> Design -> Configuration

Select your theme,

enter image description here

Go to HTML Head

Set Favicon icon


You can change favicon from admin panel

  1. go to Content -> Design -> Configuration
  2. Click on HTML Head settings tab
  3. Upload your favicon and save configuration.

Make sure that you are editing this settings to the current active theme of your store


I followed the 1st method in this tutorial to change favicon of Magento 2. You can try which you want.

There are 2 ways to change favicon of Magento 2 website

Method 1 : Changing Favicon via backend (recommended)

Log in to your Magento 2 backend, navigate to Store > Setting > Configuration > HTML Head https://i.stack.imgur.com/CDqXZ.jpg

Method 2: Changing Favicon in theme file (not recommended) You can also manually change Favicon of your Magento 2 store by upload and replace favicon.ico file located in

/app/design/frontend/<Vendor>/<Theme>/Magento_Theme/web/favicon.ico

Hope this helps!