Skip to content

Shopify Favicon: Add or Change Your Store Icon

The theme setting takes two minutes. This guide also covers what Shopify leaves out — a sharp icon for Google and a proper iPhone home-screen icon — and how to add both with two lines of Liquid.

No square icon yet?

Make one from your store's initial, an emoji or your logo, check it at 16 and 32 px in light and dark tabs, and download a 512×512 PNG for Shopify.

Open the favicon generator

How to add a favicon in Shopify

  1. 1

    Prepare a square image

    Export a square PNG of at least 512×512 px. Use the symbol or an initial from your logo, not the full wordmark — the tab version ends up 32 px wide.

  2. 2

    Open the theme editor

    In Shopify admin go to Online Store → Themes and click Customize on your live theme.

  3. 3

    Open Theme settings

    Click the Theme settings icon (the gear or brush in the left sidebar). In Dawn and most Online Store 2.0 themes the field is under Logo → Favicon image; some older themes have a separate Favicon section.

  4. 4

    Upload and save

    Click Select image, upload your PNG (or pick it from Files), then click Save in the top-right corner.

  5. 5

    Check it outside your cache

    Open the storefront in a private window. Your normal window may keep showing the old icon for a while because browsers cache favicons separately from pages.

What Shopify does with your image

Open Edit code → layout/theme.liquid in Dawn and you will find the whole favicon implementation in three lines:

{%- if settings.favicon != blank -%}
  <link rel="icon" type="image/png" href="{{ settings.favicon | image_url: width: 32, height: 32 }}">
{%- endif -%}

Shopify's image CDN resizes your upload to fit inside 32×32 and the theme declares that single PNG. That is enough for a browser tab, but nothing else on the list below gets a dedicated file:

Where the icon appearsDefault Dawn outputWhat to do
Browser tab (desktop and mobile)Yes — the 32×32 PNGNothing to do
Google Search result iconUses the 32×32 PNGAdd a 192×192 icon tag (below) — Google recommends icons larger than 48×48
iPhone / iPad home screenNo tag — iOS uses a page screenshotAdd an apple-touch-icon tag (below)
Android home screenNo manifest — Chrome falls back to the largest declared icon (32 px) or a letter tileAdd the 192×192 tag (below)
/favicon.ico at the store rootNot something you can uploadNot needed — browsers use the declared PNG

Other themes use similar code; search theme.liquid for settings.favicon to see yours.

Add a sharper Google icon and an Apple touch icon

You do not need to upload extra files. The same favicon setting can be requested from Shopify's CDN at larger sizes. Duplicate your theme first (Actions → Duplicate) so you have a backup, then in Edit code → layout/theme.liquid replace the block above with:

{%- if settings.favicon != blank -%}
  <link rel="icon" type="image/png" sizes="32x32" href="{{ settings.favicon | image_url: width: 32, height: 32 }}">
  <link rel="icon" type="image/png" sizes="192x192" href="{{ settings.favicon | image_url: width: 192, height: 192 }}">
  <link rel="apple-touch-icon" href="{{ settings.favicon | image_url: width: 180, height: 180 }}">
{%- endif -%}
  • The 192×192 line gives Google Search and Android a large, sharp icon instead of an upscaled 32 px one.
  • The apple-touch-icon line stops iPhones using a page screenshot as the home-screen icon. iOS fills transparent areas with black, so this only looks right if your uploaded favicon has a solid background. If it is transparent, upload a separate 180×180 PNG with a background to Content → Files and use {{ 'apple-touch-icon.png' | file_url }} as the href instead.
  • The upload must be at least 192 px for the larger sizes to be sharp — another reason to start from 512×512.

After publishing, run the favicon checker on your store URL. The PNG 32×32 and Apple touch icon checks should pass; the manifest checks will show as missing, which is expected because Shopify storefronts do not ship a web manifest.

Three store examples

A wide text logo ("NORTHWIND COFFEE")

Uploading the logo as-is gives a 32×6 px sliver. Use the initial instead: a bold white "N" on the brand colour, made in the text favicon tab, reads clearly at 16 px.

A black logo on a transparent background

It looks fine in a white tab and vanishes in Chrome's dark theme. Put the mark on a light rounded square, or switch the generator preview to dark before downloading and adjust until both tabs read.

A detailed illustrated mascot

Fine detail turns to noise at 32 px. Crop to the face or the most recognisable shape and increase contrast. The 192 px version can carry more detail, but the tab version has to work first.

Shopify favicon not showing?

  1. Check in a private window. If the new icon appears there, the store is fine and your browser is caching the old one.
  2. Confirm you edited the live theme. Settings saved on an unpublished theme do not affect the storefront.
  3. Look for a hard-coded tag. Search theme.liquid for rel="icon". An old app or developer may have added a tag pointing at a file that no longer exists, and it can win over the theme setting.
  4. Check the password page. While the store is password-protected, visitors see layout/password.liquid, which has its own head section.
  5. Google still shows the old icon. Google refreshes favicons on its own schedule; see the Google Search favicon guide.

Common mistakes

  • Uploading a 32×32 file. It works in the tab but leaves nothing to scale up for Google or the home screen.
  • Using the full logo with the store name. The text is unreadable at tab size.
  • Editing theme.liquid on the live theme without a duplicate to roll back to.
  • Expecting a JPG to keep transparency. JPG has no alpha channel; use PNG.

Shopify favicon FAQ

What size should a Shopify favicon be?▾
Upload a square PNG of at least 512×512 px. Dawn and most current themes scale the favicon down to a 32×32 PNG for the browser tab, so a large square source gives the cleanest result. If you also add the theme.liquid tags on this page, the same upload is reused at 180 px and 192 px.
Where is the favicon setting in Shopify?▾
Online Store → Themes → Customize → Theme settings. In Dawn it is under Logo → Favicon image. If your theme has no favicon field, you can add the link tag yourself in layout/theme.liquid.
Why is my Shopify favicon not showing?▾
Usually browser cache: open the store in a private window to check. If it is missing there too, confirm you saved the theme you are viewing (the live theme, not a draft), and search theme.liquid for a hard-coded <link rel="icon"> that points to an old file.
Why does my favicon look like a thin strip?▾
The image was not square. Shopify fits the upload inside a 32×32 box without cropping, so a wide logo shrinks to a few pixels tall. Crop it to a square before uploading.
Does Shopify create an Apple touch icon?▾
Dawn does not output an apple-touch-icon tag, so iPhones use a screenshot of the page when someone adds your store to the home screen. Add the apple-touch-icon line shown on this page to theme.liquid to fix it.
Will changing themes remove my favicon?▾
The favicon is a theme setting, so a newly installed theme starts without one. Any tags you added to theme.liquid are also theme-specific. Re-upload the image and re-add the tags after switching themes.

Related guides