Favicon · iOS

Apple touch icon not working? Here's what usually goes wrong

The apple-touch-icon is the icon iOS uses when someone taps "Add to Home Screen" on your site in Safari. It's a separate file from your regular favicon, with its own size and caching rules — which is exactly why it breaks so often even when the rest of your favicon setup is fine.

What it should look like

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">

The image itself should be exactly 180×180 pixels, a square PNG. iOS doesn't apply rounded corners or a shadow for you the way it once did on older versions — it uses the image roughly as given, so keep the important content away from the very edges.

Common causes

How to fix a stale or missing icon

  1. Double-check the file is genuinely 180×180 and square.
  2. Verify the tag is present in your page's <head>, not just in a manifest file.
  3. Flatten any transparency onto a solid background before exporting.
  4. To bust the iOS cache while testing, change the filename (e.g. apple-touch-icon-v2.png) rather than just replacing the old file in place.
  5. Remove the site from your home screen and re-add it to force a fresh fetch on your own device.

Check whether your site has a valid apple-touch-icon right now.

Check your favicon

Related reading: favicon size guide · favicon not showing in Google search