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 generatorHow to add a favicon in Shopify
- 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
Open the theme editor
In Shopify admin go to Online Store → Themes and click Customize on your live theme.
- 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
Upload and save
Click Select image, upload your PNG (or pick it from Files), then click Save in the top-right corner.
- 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 appears | Default Dawn output | What to do |
|---|---|---|
| Browser tab (desktop and mobile) | Yes — the 32×32 PNG | Nothing to do |
| Google Search result icon | Uses the 32×32 PNG | Add a 192×192 icon tag (below) — Google recommends icons larger than 48×48 |
| iPhone / iPad home screen | No tag — iOS uses a page screenshot | Add an apple-touch-icon tag (below) |
| Android home screen | No manifest — Chrome falls back to the largest declared icon (32 px) or a letter tile | Add the 192×192 tag (below) |
| /favicon.ico at the store root | Not something you can upload | Not 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?
- Check in a private window. If the new icon appears there, the store is fine and your browser is caching the old one.
- Confirm you edited the live theme. Settings saved on an unpublished theme do not affect the storefront.
- 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. - Check the password page. While the store is password-protected, visitors see
layout/password.liquid, which has its own head section. - 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.