The Apple touch icon is the image iPhone and iPad use when someone adds a website to the home screen with Add to Home Screen in Safari. Provide a square 180 by 180 pixel PNG with a solid background, linked in the page head with link rel="apple-touch-icon" sizes="180x180", and iOS rounds the corners and scales it for every device. Without one, iOS may use a small screenshot of the page or a plain letter, which looks out of place among real app icons.
The basics
Why iPhones need their own icon
A browser tab draws a favicon at 16 pixels. An iPhone home screen draws icons many times larger, next to app icons made by professional designers. A tiny favicon stretched to that size looks blurred, so Apple introduced a separate, larger icon for the home screen, called the Apple touch icon.
It is used when someone opens your site in Safari, taps the Share button and chooses Add to Home Screen. The icon then sits on their home screen like an app, and tapping it opens your site. For a portfolio, a consultant or a local business, that is a small but meaningful place to be.
The touch icon is also used in some other places on Apple devices, such as Safari's favourites and frequently visited sites. Getting it right once covers all of them.
The rules
What a good Apple touch icon needs
Apple's requirements are short. Most problems come from ignoring one of these.
Size
180 by 180 pixels
The size current iPhones use at their screen density. iOS scales this one file down for iPads and older devices, so extra sizes are optional.
Format
A PNG file
PNG is the dependable format for touch icons. Save it at full quality; at this size the file stays small.
Shape
A full square
Supply a plain square with no rounded corners or drop shadow. iOS applies its own rounded mask, and pre-rounded corners end up looking doubled.
Background
Solid, not transparent
Transparent areas can be filled with a colour you did not choose, often black. Fill the background with a colour that suits your site.
Margin
Space at the edges
Keep initials, a mark or a face slightly inside the square, so the rounded corners never cut into them.
Name
Something short to go under it
iOS shows a name under the icon, taken from your site settings or page title. A short name reads better than a long page title that gets cut off.
Set it up
Add an Apple touch icon in four steps
If you edit your own HTML, this is the whole job. On a website builder, skip to the last section.
Export a 180 pixel PNG.
From a square source of at least 512 by 512 pixels, export a 180 by 180 pixel PNG with a solid background. Name it apple-touch-icon.png.
Upload it to the site root.
Place the file so it answers at yoursite.com/apple-touch-icon.png. iOS looks for that path when a page does not link an icon, so the root is the safest place.
Link it in the head of every page.
Add link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" to the shared layout, so every page a visitor might save carries it.
Test on a real device.
Open the site in Safari on an iPhone, choose Share, then Add to Home Screen, and check the icon in the preview before you add it. Look at it on the home screen in light and dark appearance.
Which icon goes where
Apple touch icon, favicon and manifest icons compared
The three icon types are easy to confuse. Each one serves a different screen.
| Capability | Apple touch icon | Favicon | Manifest icons |
|---|---|---|---|
| Used for | iPhone and iPad home screens | Browser tabs, bookmarks and history | Android home screens and installed web apps |
| Typical size | 180 by 180 pixels | 32 by 32 pixels, drawn at 16 | 192 and 512 pixels |
| How it is linked | link rel="apple-touch-icon" | link rel="icon", plus /favicon.ico | Listed in a JSON manifest linked with rel="manifest" |
| Corner shape | Rounded by iOS | Drawn as supplied | Can be masked to a shape when marked maskable |
Recent versions of Safari can also read manifest icons, but a linked Apple touch icon remains the dependable choice for iOS.
Updating it
Changing a touch icon that people have already saved
A home screen icon is copied at the moment someone saves the site. If you change your Apple touch icon later, people who already saved your site may keep seeing the old one until their device refreshes it, and some never do.
There is no way to push a new icon onto someone else's home screen. What you can do is make sure every new save gets the right icon, by publishing the new file and giving its link a new version or name so devices fetch it fresh. To update your own home screen, remove the shortcut and add the site again.
On Folio
The Apple touch icon on a Folio site
Folio makes your Apple touch icon from your site icon, the same image as your favicon, so a visitor sees one consistent picture in the tab and on the home screen. By default that is your profile photo, cut to a square a little above the centre so your face stays in view, or your monogram if you have no photo. You can switch to a custom PNG, JPEG or WebP image in Settings, under Brand and theme.
Every page links a 180 pixel Apple touch icon, along with the favicon and manifest icons. The Preview in the Site icon setting shows the home screen icon at its real size on light and dark backgrounds, so you can judge it before you choose Save site icon. The icon is made from a processed copy of your image, with its photo metadata removed.
Frequently asked questions
What size is the Apple touch icon?
Use 180 by 180 pixels. It matches current iPhones at their screen density, and iOS scales the same file down for iPads and older devices, so one file is enough for most sites.
Do I need to round the corners of my Apple touch icon?
No. Supply a full square. iOS applies its own rounded mask, so an image with corners already rounded ends up with an odd double edge.
Why is my Apple touch icon showing a black background?
The image probably has transparent areas, which iOS does not keep on home screen icons and can fill with black. Export the icon again with a solid background colour.
What happens if a site has no Apple touch icon?
iOS falls back to whatever it can find, such as a file at /apple-touch-icon.png, a small screenshot of the page or a generated letter. None of these look as good as a proper icon.
Is apple-touch-icon-precomposed still needed?
No. It dates from older iOS versions that added a gloss effect to icons. Current iOS treats every touch icon the same way, so a single rel="apple-touch-icon" link is enough.