macOS keeps icons for documents and apps in an icon cache so that it can quickly display them when required without having to load them from scratch every single time. It saves not just your time but also plays a vital role in boosting your productivity on Mac. For the most part, this smart play works as expected and shows relevant icons in the Finder or Dock. However, at times, you might see generic or irrelevant icons in these places. In that case, you will need to clear the icon cache on Mac to fix the issue. Let me show you how to clear and reset the icon cache on macOS.

Bear in mind that you will need to use the Terminal and rm commands to reset the icon cache on your Mac. Therefore, I recommend you back up your Mac using Time Machine or your preferred method before moving ahead. If anything goes wrong (in the event of a mistake while entering commands), you would have the latest backup with all your data handy. So, make sure to enter the exact commands given below.

  • Clear and Reset Icon Cache on Intel and M1 MacBoot into Safe Mode to Clear Other Cache on Mac

  • Boot into Safe Mode on M1 MacBoot into Safe Mode on Intel Mac

  • Boot into Safe Mode on M1 MacBoot into Safe Mode on Intel Mac

Clear and Reset Icon Cache on Intel and M1 Mac

  1. To get going, open the Terminal app on your Mac. Simply, use the Command+Space shortcut to bring up the Spotlight search. Then, search for Terminal and launch it.

  2. Now, enter the below-given command and press return. If prompted, make sure to enter your administrator password to proceed.

sudo rm -rfv /Library/Caches/com.apple.iconservices.store

  1. Next, paste the following command and hit return.

Boot into Safe Mode to Clear Other Cache on Mac

Boot into Safe Mode on M1 Mac

  1. First, restart your Mac in Safe Mode to delete any other cache and also force the icon cache to be refreshed. Click on the Apple menu icon in the upper-left corner of the screen and choose Shut Down.

  2. After waiting for about 10 seconds, press and hold the Power button until the Options screen appear.

Boot into Safe Mode on Intel Mac

  1. To restart your Intel Mac in Safe Mode, reboot your Mac and immediately hold down the Shift key until the login window appears.

Reset Icon Cache on Mac With Ease

That’s pretty much done! Hopefully, you have reset the icon cache on your macOS device without any hassle. While for some users these commands alone are able to clear the icon cache, I had to perform the extra step of restarting the Mac to reset the cache. So, make sure to reboot your device if the commands fail to do the job. Anyway, let me know your feedback and whether or not these Terminal commands have worked for you. Besides, if you want to get rid of more such common annoyances, read our detailed guide to find out the 10 most annoying issues in macOS Monterey and fix them.