How to fix Mac desktop icons

Desktop icons

It might be the case that the icons on your Mac aren't showing up properly, something that's easily fixable with a quick Terminal command.

How do you fix Mac desktop icons?

After updating to iWork 13, I've noticed that document icons for Pages and Numbers don't show the new icon previews, even when that option is selected and older Pages and Numbers docs show previews. Is there any way to alter these apps to show previews in the icons?

Answer

As you use your Mac and install multiple versions of applications onto the system, there can come a day where the icon association that the operating system stores for use with applications gets corrupted or is incorrect and out of date. Fortunately, this is a fairly easy fix, and it only requires moderate mucking about in Terminal (or if you prefer, a dedicated application like Cocktail or TinkerTool).

We'll use the Terminal to make the fix, since it's fairly easy and requires no additional downloads or software that you'll probably only use infrequently. To fix the problem, open the Terminal application (located inside the /Applications/Utilities folder), then type in one of these commands, followed by the Return key.

If you are on OS X 10.5 or later, then execute this command (all in one string):

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/
LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local
-domain system -domain user

Terminal

Executing this command will rebuild the system's icon association database, and will restore order in OS X with regards to how apps' icons appear in the Finder

If you are on OS X 10.4 or below, execute this command (all in one string) instead:

/System/Library/Frameworks/ApplicationServices.framework/Frameworks/
LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system
-domain user

When you press Return, the command may take a few minutes to execute. Don't close the Terminal window until you're returned to the Terminal (with a flashing insertion point). Once returned and you see the flashing insertion point, then you can exit the Terminal application.

TOPICS
Read more
macOS Catalina
A secret project, a stubborn developer, and a lot of glossy icons: here's the story behind macOS’s Dock as it turns 25
A woman sitting on a couch cross-legged and using a laptop
Essential apps and features to start getting the most out of your brand-new Mac
Docker Hub Office
False malware alert is leading Docker Desktop to be blocked on Apple Macs
Apple's Craig Federighi opens a MacBook Air laptop at Apple's November 2020 Apple silicon launch event.
Sick of your MacBook starting when you open the lid? Apple has just revealed a fix
Apple's Craig Federighi demonstrates the iPhone Mirroring feature of macOS Sequoia at the Worldwide Developers Conference (WWDC) 2024.
Report: iOS 19 and macOS 16 could mark their biggest design overhaul in years – and we have one request
Angry business man screaming on laptop
Finding Windows 11 sluggish when you’re working with files and folders? You’re not alone – and it’s high time for Microsoft to sort out File Explorer
Latest in Software & Services
TinEye website
I like this reverse image search service the most
A person in a wheelchair working at a computer.
Here’s a free way to find long lost relatives and friends
A white woman with long brown hair in a ponytail looks down at her computer in a distressed manner. She is holding her forehead with one hand and a credit card with the other
This people search finder covers all the bases, but it's not perfect
That's Them home page
Is That's Them worth it? My honest review
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Latest in How Tos
Mobile phone with logo of video game distribution platform Steam operated by Valve on screen in front of web page
How to gift a game on Steam
Venezuela's forward #09 Jhonder Cadiz celebrates after scoring during the 2026 FIFA World Cup South American qualifiers football match between Ecuador and Venezuela, at the Rodrigo Paz Delgado stadium in Quito, on March 21, 2025 ahead of Venezuela vs Peru
Venezuela vs Peru live stream: how to watch today's FIFA World Cup 2026 qualifier anywhere online
The cast of Alone Australia season 3, standing in a knee-high body of water
How to watch Alone Australia season 3 online – stream the survival show from anywhere
Pinterest
How to post on Pinterest
ChatGPT app on an iPhone
5 things you should ask ChatGPT today – oh, and 1 you should never ask it!
This City Is Ours
How to watch This City Is Ours online – stream Sean Bean crime drama from anywhere