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
This City Is Ours
How to watch This City Is Ours online – stream Sean Bean crime drama from anywhere
Canada's Val Sweeting competes during the LGT World Womens Curling Championship match for third place ahead of Canada's showing at the Women's Curling World Championships 2025
Women's Curling World Championships live stream: how to watch Uijeongbu 2025 online, schedule, streaming guide
Thomas Tuchel, Head Coach of England, reacts during a training session at St George's Park on March 17, 2025 in Burton upon Trent, England.
England vs Albania live stream: How to watch 2026 World Cup qualifier online and from anywhere today, team news
Smartphone with new logo X twitter app background. Application twitter old blue bird change X black and white new.
How to delete all your tweets on X
ChatGPT Voice mode
How to add ChatGPT or Gemini voice mode to your iPhone Action button (while you wait for Siri's big upgrade)
McLaren’s Oscar Piastri driving on a straight in qualifying for the Chinese Grand Prix 2025
How to watch Chinese Grand Prix 2025: TV & live streams, schedule, start time, what channel is it on? Piastri on pole