To change an icon in macOS, you copy an image or another icon, select the file or folder you want to change, and paste it into the “Get Info” window. This works for folders, apps, and files, and the change is immediate and reversible. Below is the complete step-by-step process, plus how to create custom icons, fix common issues, and restore original icons.
How the macOS Icon System Works
macOS stores icons as part of the file’s metadata, not as separate image files. When you paste an image into the icon preview in the Get Info window, the system converts it to an icon-compatible format (usually ICNS or a high-resolution PNG) and attaches it to the file. This is why changing an icon doesn’t alter the original image or the file’s contents—it only changes the visual representation in the Finder.
Every file, folder, and app on macOS has a default icon that comes from the system or the app’s bundle. The Finder reads this metadata to display the icon. When you replace it, the Finder shows your custom image instead. The change is stored locally, so it won’t sync to other Macs or affect the original file if you copy it to another drive.
Step-by-Step: Change Any Icon in macOS
- Find an image you want to use as the icon. PNG, JPEG, or even a screenshot works, but PNG with transparency looks best.
- Open the image in Preview (or any image viewer).
- Copy the image by pressing
Command+C(or Edit > Copy). - Select the file or folder you want to change in the Finder.
- Press
Command+Ito open the Get Info window. - Click the small icon in the top-left corner of the Get Info window (next to the file name). It will highlight blue.
- Press
Command+Vto paste. The icon should update immediately.
If you’re changing an app icon, you may need to restart the app or the Finder for the change to appear everywhere (like in the Dock). To restart the Finder, hold Option and right-click the Finder icon in the Dock, then choose “Relaunch.”
How to Create a Custom Icon From Scratch
You’re not limited to pasting existing images. You can design your own icon in any image editor and save it as a PNG. For best results, use a square image (e.g., 512×512 or 1024×1024 pixels) with transparency for the background. macOS will automatically scale it down for smaller views, but it won’t upscale well, so start large.
If you want a rounded-square look like native macOS icons, you can add rounded corners in your editor or use a free online icon maker. However, macOS does not automatically apply the rounded-square mask to pasted icons—it shows your image as-is, which is why many custom icons look square or irregular.
For a more professional result, you can convert your PNG to an ICNS file using the built-in iconutil command in Terminal, but that’s only necessary if you’re creating an icon for an app bundle. For everyday file and folder icons, pasting a PNG is sufficient.
How to Restore the Original Icon
To revert a changed icon back to the default, open the Get Info window again, click the icon preview, and press Delete. The Finder will ask if you want to restore the original icon—click “Delete” again to confirm. This works for any file, folder, or app, and it’s the only way to undo a custom icon change (there’s no “undo” command for this action).
If you changed an app’s icon and want to restore it, the same method works. However, some system apps (like Finder or Trash) may not allow icon changes or may require additional steps like disabling System Integrity Protection (SIP), which is not recommended for most users.
Common Problems and Fixes
- Paste is grayed out: Make sure you’ve clicked the small icon in the Get Info window, not the file name or the window background.
- Icon doesn’t change: Try quitting and reopening the Finder (Option+right-click Finder in Dock > Relaunch). If that fails, restart your Mac.
- Icon appears blurry: Use a larger source image (at least 512×512). macOS scales down well but upscales poorly.
- Icon is square, not rounded: macOS doesn’t automatically round pasted icons. Add rounded corners in your image editor.
- Can’t change system icons (like Trash): These are protected by SIP. You can disable SIP in Recovery Mode, but this weakens system security and is not recommended.
Alternatives to Manual Icon Changing
If you want to change many icons at once or apply a consistent theme, you can use third-party apps like LiteIcon or IconChamp. These apps provide a graphical interface to drag-and-drop icons onto system elements. However, they often require accessibility permissions and may not support the latest macOS versions immediately after release.
Another alternative is to use a folder icon with a custom image inside—this is a common trick to make folders look like a photo album or a project folder. Just put a picture inside the folder and set the folder icon to that picture using the same paste method.
For a completely different look, you can also change the icon of the hard drive or external drives in the Finder sidebar, but the process is identical to the one described above.
Cost and Safety Considerations
Changing icons is free and built into macOS—you don’t need to buy any software. The only cost is your time and the effort to create or find a suitable image. There’s no risk to your files; the change is purely cosmetic and doesn’t affect the file’s data or permissions.
Be cautious when downloading icon packs or third-party icon apps from the internet. Some may contain malware or require unnecessary system access. Stick to well-known sources or create your own icons. Also, avoid changing icons for system-critical files (like those in /System) as this can cause instability or require SIP disabling.
Frequently Asked Questions
Can I change the icon of a file without changing its extension?
Yes, the icon is independent of the file extension. You can change the icon of a .txt file to look like a photo, and it will still open in TextEdit. The icon is just a visual label.
Why does my custom icon disappear after a restart?
This can happen if the icon cache is corrupted. Try restarting your Mac, or rebuild the icon cache using Terminal commands like sudo find /private/var/folders -name com.apple.dock.iconcache -exec rm {} \; and then restart. However, this is rare and usually not necessary.
Can I use an SVG file as an icon?
macOS doesn’t natively support SVG for icons. You need to convert it to PNG or ICNS first. Preview can open SVG and export as PNG, but the conversion may lose transparency or quality.
How do I change the icon of an app in the Dock?
Changing the app’s icon in the Finder (as described above) will also change it in the Dock after you relaunch the app or the Finder. If it doesn’t, drag the app out of the Dock and back in.
Is there a way to batch-change icons for many files at once?
Not with the built-in method. You’d need a third-party app or an Automator workflow. A simple AppleScript can apply an icon to multiple files, but it’s not a built-in feature.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- OneDrive Connection Problem Windows 10: Fixes
- Android Battery Care: 12 Steps to Longer Life
- Could Not Assign Applications Error on MacBook: Fix
- Fix Slow Search on Windows 11: Top Methods
- Customize Mission Control & Desktop Spaces on Mac
- Disable Cortana in Windows 10: Full Guide