How to clear thumbnail cache on Windows 11

If File Explorer isn't showing file and folder previews correctly, clearing the thumbnail cache can help, and here's how on Windows 11.

Windows 11 clear thumbnail cache
Windows 11 clear thumbnail cache
  • To clear the thumbnail cache on Windows 11, open Settings > System > Storage > Temporary files, check on “Thumbnails,” and click on “Remove files.”
  • Alternatively, open Command Prompt (admin), run the “taskkill /f /im explorer.exe” and the “del /f /s /q /a %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db” and the “start explorer.exe” commands.
  • Also, similar to using the Settings app, you can clear the thumbnail cache from Disk Cleanup and File Explorer.

On Windows 11, you can clear the thumbnail cache in multiple ways, and in this guide, you will learn how. In File Explorer, thumbnails are those image previews you see when browsing files and folders (depending on the current view), making it easier to identify the item’s contents.

Although the thumbnails feature usually works as expected, sometimes, File Explorer may not show them correctly, or they may not appear at all. When this happens, there could be a lot of reasons for the issue, but the problem is often related to corruption in the database.

Regardless of the reason, on Windows 11, you can quickly resolve this issue by clearing the “thumbnail cache,” a database that sits in the “Explorer” folder in the “AppData” path, using the Settings app, Disk Cleanup, File Explorer, or Command Prompt.

This guide will teach you the different methods to delete and recreate the thumbnail cache on Windows 11.

Clear thumbnail cache on Windows 11 from Settings

To clear the thumbnail cache from Settings, use these steps:

  1. Open Settings on Windows 11.

  2. Click on System.

  3. Click the Storage tab.

  4. Click the Temporary files setting.

    Temporary files

  5. Clear the current item selections.

  6. Check the Thumbnails option.

    Settings clear thumbnail cache

  7. Click the Remove files button.

Once you complete the steps, the system will automatically recreate the database.

Clear thumbnail cache on Windows 11 from Disk Cleanup

To delete the thumbnail cache with the legacy Disk Cleanup tool, use these steps:

  1. Open Start.

  2. Search for Disk Cleanup and click the top result to open the app.

  3. Select the System C drive (if applicable).

  4. Click the OK button.

  5. Clear the current item selections.

  6. Check the Thumbnails option.

    Disk Cleanup clear thumbnail cache

  7. Click the OK button.

After you complete the steps, the thumbnail cache will delete from Windows 11, and the system will create a new database to store thumbnails again.

Clear thumbnail cache on Windows 11 from File Explorer

To clear the thumbnails from File Explorer on Windows 11, use these steps:

  1. Open File Explorer.

  2. Type the following path in the address bar and press Enter:

    %HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer
  3. Open the “View” menu, select the “Show” submenu, and choose the “Hidden items” option.

    AppData Explorer folder

  4. Type the following search term in the search box and press Enter:

    thumbcache_*
  5. Select the “thumbcache” files (“Ctrl + A” shortcut) and click the Delete button.

    File Explorer clear thumbnail cache

After you complete the steps, the system will recreate the cache one more time on Windows 11.

Clear thumbnail cache on Windows 11 from Command Prompt

To clear the Windows 11 thumbnail cache through Command Prompt, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and choose the Run as administrator option.

  3. Type the following command to close the File Explorer processes and press Enter:

    taskkill /f /im explorer.exe
  4. Type the following command to delete the current thumbnail database and press Enter:

    del /f /s /q /a %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db

    Command Prompt delete thumbnail cache

  5. Type the following command to start the File Explorer processes and press Enter:

    start explorer.exe

Once you complete the steps, the command will remove the cache, and  Windows 11 will recreate the thumbnails.

It’s important to note that File Explorer may not be able to show thumbnails for certain file formats, such as those from Photoshop and others. Also, if you have the feature disabled, File Explorer won’t show previews for files or folders. You can always check and enable the feature from the “View” tab in the “Folder Options” page by clearing the “Always show icons, never thumbnails” option.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 14 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].