Guides · Updated 2026-12-04
The Apple touch icon: size, format and common problems
When someone taps Share and then Add to Home Screen on an iPhone or iPad, iOS needs an icon to put on the home screen. If your site does not supply one, it takes a screenshot of the page, which looks messy and unbranded. The Apple touch icon is the file that prevents that.
It is one of the simplest icons to get right and one of the easiest to get subtly wrong. This guide covers the size, the file rules, the HTML and the few quirks worth knowing.
What the Apple touch icon is for
The Apple touch icon is used by Safari on iOS and iPadOS when a page is added to the home screen, and by some other Apple surfaces such as the favorites grid and reading list. It is also read by a number of third-party tools, including some link previews and bookmark managers, which treat it as a handy high-resolution icon.
It is separate from the favicon. The tab icon is small and shows in the browser; the touch icon is large and shows on the home screen next to native apps, so it is held to a higher standard of polish.
The size to use
Supply a single PNG of 180 by 180 pixels. That is the size modern iPhones display at three times density. iOS scales it down for other devices and contexts, and scaling down from a large, sharp file looks much better than scaling up from a small one.
Older advice lists many sizes, such as 57, 72, 114, 120, 144, 152 and 167 pixels, each with a sizes attribute. That was needed when devices came in many resolutions, but a single 180 pixel file is enough today. If you want to cover an iPad at its native size you can add a 167 pixel version, though it is rarely necessary.
No transparency, and no rounded corners
Two rules matter more than any other. First, the icon must be opaque. If your PNG has transparent areas, iOS fills them with black, so a logo that looked fine on a white page appears as a white shape on a black square. Give the icon a solid background colour that suits the brand.
Second, supply a full square with square corners. iOS applies its own rounded-corner mask when it draws the icon. If you round the corners yourself you get a double effect, with visible gaps of background in the corners. Fill the whole canvas and let the system do the rounding.
Keep the artwork away from the edges. The mask trims a little of each corner, so leave a margin of roughly ten percent around the symbol and the visual result will feel balanced.
The HTML
One link tag in the head is enough. The file can be named anything, but apple-touch-icon.png is the convention. In fact, if you place a file with that exact name in the site root, Safari will look for it even when no tag exists.
<link rel="apple-touch-icon" href="/apple-touch-icon.png">Optional: the web app title
When a page is added to the home screen, iOS uses the page title as the label by default, which can be long. You can supply a short name with a meta tag, so the label under the icon is not truncated.
<meta name="apple-mobile-web-app-title" content="Faviqo">Apple touch icon vs the web app manifest
Android and Chrome read icons from the web app manifest, not from the Apple link tag. Safari on iOS has historically relied on the Apple touch icon instead, and while newer versions read the manifest for some things, the touch icon remains the dependable route. Ship both: the touch icon for Apple devices, and the 192 and 512 pixel icons in the manifest for everything else.
Troubleshooting
If the home screen icon looks wrong, check these in order.
- A black background means the PNG has transparency. Re-export it on a solid colour.
- A screenshot instead of an icon means the file was not found. Open the URL directly and check it returns an image.
- A blurry icon means the file is too small. Export at 180 by 180 or larger.
- An old icon after a change means iOS cached it. Remove the home screen shortcut and add it again.
- Cropped or off-centre artwork means too little margin. Leave space around the mark so the corner mask does not clip it.
Was this guide helpful?
Questions
What size is the apple-touch-icon?
180 by 180 pixels, as a PNG. iOS scales it for other devices, so one file is enough.
Why is my Apple touch icon black?
Your PNG has transparent areas. iOS fills transparency with black, so export the icon on a solid background.
Should I round the corners myself?
No. Supply a full square and iOS applies its own rounded mask. Rounding it yourself leaves visible corners.
Try it
More guides
- How to add a favicon to your website
- Favicon formats: ICO vs PNG vs SVG
- Favicon not showing or not updating: nine fixes
- Maskable icons explained: the safe zone and how to use it
- The web app manifest: what each field does
- How to design a favicon that is readable at 16 pixels
- How to get your favicon to show in Google Search results
- Open Graph image not showing: a checklist that finds the cause
- How to test Open Graph tags before you deploy
- Favicon setup in Next.js, Vite and React