How to Clear Icon Cache on Windows 11

Windows 11 stores small thumbnail-sized images of every icon your system displays — app icons, file type icons, shortcut overlays — in a dedicated database called the icon cache. When this cache becomes corrupted or outdated, you start seeing symptoms: blank icons, generic white squares where app icons should be, icons that haven't updated after you changed them, or icons that flicker and reload every time you open File Explorer.

Clearing the icon cache forces Windows to rebuild it from scratch. It's a low-risk maintenance task, but the right method depends on your comfort level and what's actually causing the problem.

What the Icon Cache Actually Is

Windows stores icon data in a hidden database file called IconCache.db, located in your user profile's local AppData folder. A separate but related cache — the thumbnail cache — stores previews of images, videos, and documents in File Explorer. These are different files, and corrupted icons versus corrupted thumbnails may require clearing one or both.

The icon cache exists for performance reasons. Rather than re-rendering every icon from scratch each time you open a folder or launch the taskbar, Windows reads from this prebuilt database. When the database gets out of sync — after a software update, a botched installation, or even an improper shutdown — the cached images no longer match the actual icons, and visual glitches appear.

Method 1: Using Disk Cleanup (Simplest Approach)

Windows 11's built-in Disk Cleanup tool can clear thumbnail caches with no manual file navigation required.

  1. Search for Disk Cleanup in the Start menu and open it
  2. Select your system drive (usually C:) and click OK
  3. Check Thumbnails from the list of file categories
  4. Click OK, then Delete Files

This clears the thumbnail cache reliably. However, it doesn't always clear the full icon cache database, so if your issue is specifically with app or shortcut icons rather than image/video thumbnails, you may need the manual method below.

Method 2: Deleting IconCache.db Manually

This is the most thorough approach for fixing corrupted or stuck icons. 🛠️

Step 1: Show hidden files Open File Explorer, click the View menu, select Show, then enable Hidden items.

Step 2: Navigate to the cache location Paste this path into the File Explorer address bar:

%localappdata%MicrosoftWindowsExplorer 

You'll see a collection of files named things like iconcache_16.db, iconcache_32.db, iconcache_256.db, and so on — these are the icon cache database files broken out by icon size.

Step 3: Close Explorer before deleting This is where most people run into trouble. Windows locks these files while File Explorer is running. You need to kill the Explorer process first.

  • Open Task Manager (Ctrl + Shift + Esc)
  • Find Windows Explorer under Processes
  • Right-click it and select End Task

Your taskbar and desktop will disappear — that's expected.

Step 4: Delete the cache files Switch to the File Explorer window you already had open (or open it from Task Manager via File > Run new task > explorer.exe), navigate back to the Explorer folder, and delete all the iconcache_*.db files.

Step 5: Restart Explorer In Task Manager, go to File > Run new task, type explorer.exe, and press Enter. Your desktop will reappear, and Windows will rebuild the icon cache automatically.

Method 3: Command Prompt (For Advanced Users)

If you prefer a scriptable, repeatable approach, you can automate the process using an elevated Command Prompt or a batch file.

The general sequence involves:

  1. Stopping the Explorer process with taskkill /f /im explorer.exe
  2. Navigating to %localappdata%MicrosoftWindowsExplorer
  3. Deleting icon cache files with del iconcache*
  4. Restarting Explorer with start explorer.exe

This method is especially useful if you're managing multiple machines or want to build a maintenance script. The tradeoff is that a single wrong command in an elevated prompt can cause unintended file deletions — accuracy matters.

What Determines Whether This Actually Fixes Your Problem

Clearing the icon cache solves a specific problem: stale or corrupted cached icon data. It won't fix every icon-related issue you encounter on Windows 11.

IssueIcon Cache Fix?
Icons show as white squaresUsually yes
Icons didn't update after app reinstallUsually yes
Thumbnails not showing in File ExplorerUse Disk Cleanup (Thumbnails)
Icons missing after Windows updateSometimes — may need update patch
Icons broken due to corrupted system filesNo — may need sfc /scannow
App icon wrong in taskbar onlyMay need to unpin and re-pin

Technical skill level is also a real variable here. The manual method requires navigating hidden folders and killing a core Windows process — steps that are straightforward for experienced users but worth approaching carefully if you're less familiar with system-level file management. The Disk Cleanup method carries essentially no risk and is a reasonable first attempt for anyone.

OS build version can matter too. Some icon cache behaviors shifted between early Windows 11 releases and later builds. If clearing the cache doesn't resolve the problem and your system hasn't been updated recently, a pending Windows Update may be the actual fix. 🔄

One More Variable Worth Knowing

Third-party customization tools — icon packers, shell themes, taskbar modifiers — maintain their own icon layers on top of Windows' native cache. If you're using any of these, clearing the Windows icon cache alone may not be enough, and you may need to reset the customization tool's own cache separately. How that works varies by tool.

Whether you're dealing with a fresh glitch after an update, a long-standing display bug, or icons that simply never looked right after migrating to Windows 11 — the specific cause behind your symptoms is what determines which method will actually resolve it. 🖥️