What clearing the icon cache does and when you need it

The icon cache is a hidden file Windows 11 stores to load your desktop, folder, and process icons faster. Over time, this cache can become corrupted — showing you the wrong icon for a file, displaying a blank thumbnail, or making icons load slowly. Clearing it forces Windows to rebuild the cache from scratch, which usually fixes display glitches and can free up a small amount of disk space.

You typically need to clear the icon cache when you see icons that don't match their file type, when thumbnails appear as blank boxes, or when icons take a long time to appear after you open a folder. It's also worth clearing if you've uninstalled a program and its icon still appears on your desktop or in your file explorer.

Key Takeaways

  • Windows 11 stores icon images in a hidden cache file to speed up display — clearing it removes corrupted or outdated icons and forces Windows to rebuild them.
  • The icon cache file is located at C:\Users\[YourUsername]\AppData\Local\IconCache.db and you must show hidden files to see it.
  • You must close File Explorer completely before deleting the cache file, or Windows will not let you remove it.
  • After deletion, restart your computer or sign out and back in — Windows will automatically recreate the cache within a few minutes of use.

Show hidden files so you can find the icon cache

The icon cache file is hidden by default in Windows 11. To see it, open File Explorer and look at the top menu bar. Click the three horizontal lines (the menu button) on the far right, then select View.

In the View menu, find the option labeled Show and click it. A submenu will appear with the option Hidden items — click that checkbox to turn it on. Hidden files and folders will now appear slightly faded in File Explorer, but you'll be able to see them.

Navigate to the AppData folder and locate IconCache.db

In File Explorer, click on This PC in the left sidebar, then double-click your C: drive. You'll see a folder called Users — open it. Inside, find the folder with your Windows username and open it.

Once you're in your user folder, look for a folder called AppData (it will appear faded because it's hidden). Open AppData, then open the Local folder inside it. Scroll down in the Local folder until you find IconCache.db — this is the file you need to delete.

Close File Explorer completely before deleting the cache

Before you delete IconCache.db, you must close every File Explorer window on your computer. Windows locks the icon cache file while File Explorer is running, so you won't be able to delete it otherwise. Close all open folders and windows.

If you want to be thorough, you can also close any other programs that might be accessing files — though in most cases, closing File Explorer is enough. Once all File Explorer windows are shut, right-click on IconCache.db and select Delete. Windows will move it to your Recycle Bin.

Restart your computer or sign out to rebuild the cache

After you delete IconCache.db, the fastest way to rebuild it is to restart your computer. Click the Windows Start button, select the power icon, and choose Restart. Your computer will shut down and start up again.

If you don't want to restart, you can sign out instead: click your user profile icon in the bottom left of the Start menu, then select Sign out. When you sign back in, Windows will begin rebuilding the icon cache. Either way, the cache rebuilds automatically as you use your computer — you don't need to do anything else. Within a few minutes of opening folders or using your desktop, the new cache will be complete.

What to do if you still see display problems after clearing the cache

If icons still look wrong or thumbnails are still blank after you've cleared the cache and restarted, the problem may be something else. Try restarting File Explorer: press Ctrl + Shift + Esc to open Task Manager, find Windows Explorer in the list, right-click it, and select Restart. This refreshes the file display without restarting your whole computer.

If that doesn't work, check whether you've recently installed a new program or updated Windows itself. Sometimes a program's icon files are corrupted or Windows updates change how icons are stored. In those cases, uninstalling and reinstalling the program, or running Windows Update to get the latest patches, usually fixes the problem. You can also try clearing your thumbnail cache in addition to the icon cache — the process is similar, but the file is called Thumbs.db and appears in individual folders rather than in AppData.

Frequently Asked Questions

Will clearing the icon cache delete any of my files or programs?

No. The icon cache only stores images that Windows uses to display icons — it doesn't contain your actual files, documents, or program data. Deleting it is completely safe and won't affect anything except how icons look on your screen.

How often should I clear the icon cache?

Most people never need to clear it. Only clear it when you notice a specific problem, like wrong icons or blank thumbnails. There's no benefit to clearing it regularly if everything is displaying correctly.

What if I can't find IconCache.db in the Local folder?

Make sure you've turned on the option to show hidden files — AppData and IconCache.db won't appear otherwise. If you've done that and still can't find it, try typing the full path C:\Users\[YourUsername]\AppData\Local directly into the address bar at the top of File Explorer and pressing Enter.

Can I delete IconCache.db while File Explorer is open?

No — Windows will say the file is in use and won't let you delete it. You must close all File Explorer windows first. If you try to delete it and get an error, close any remaining File Explorer windows and try again.

Does clearing the icon cache speed up my computer?

It may help slightly if your cache was very corrupted, but clearing it won't make a noticeable difference to overall speed. The main benefit is fixing display problems. If your computer is running slowly, the issue is usually something else — like too many programs starting at boot, a full hard drive, or malware.