How to Remove DirectX Shader Cache on Windows

Free up space by removing DirectX shader cache files on Windows with Kudu’s cleanup tools and improve system tidiness.

By Kudu Team

Fix this automatically with Kudu

Run a free system scan to detect and resolve this issue automatically — no manual steps required.

Download Kudu Free →

What Causes This?

DirectX shader cache files are temporary files Windows creates to store precompiled graphics shader data. They help games and apps load visual effects faster, but over time the cache can grow larger than necessary or keep outdated files after driver updates, game updates, or Windows changes.

This usually is not a serious problem, but the cache can take up disk space and sometimes contribute to graphics-related glitches if old cached data no longer matches your current GPU driver or app version.

Common Symptoms

  • You notice DirectX Shader Cache using space in Windows cleanup tools
  • Your PC is low on storage and you want to remove safe temporary files
  • Games or graphics-heavy apps behave oddly after a GPU driver update
  • Disk Cleanup shows temporary graphics-related files that can be deleted
  • You want to tidy up Windows system caches without deleting personal files

How to Fix It Manually

  1. Close games and graphics-heavy apps

    • Save your work and fully exit any running games.
    • Close apps that use the GPU heavily, such as video editors or 3D software.
  2. Open Windows Storage cleanup

    • Press Windows + I to open Settings.
    • Go to System > Storage.
    • Wait a few seconds while Windows calculates storage usage.
  3. Find temporary files

    • Click Temporary files.
    • Let Windows scan for removable items.
    • Look for DirectX Shader Cache in the list.
  4. Remove the DirectX shader cache

    • Check the box next to DirectX Shader Cache.
    • Review the other items carefully so you do not remove anything you want to keep, such as files in Downloads if that option appears.
    • Click Remove files.
    • Confirm if prompted.
  5. Use Disk Cleanup if the Settings method does not show it

    • Press Windows + S, type Disk Cleanup, and open it.
    • Select your C: drive, then click OK.
    • In the list of files to delete, check DirectX Shader Cache.
    • Click OK, then click Delete Files.
  6. Restart your PC

    • Open Start > Power > Restart.
    • This helps Windows rebuild the cache cleanly as needed.
  7. Optional: update your graphics driver

    • If you cleared the cache because of game stutter or visual glitches, updating your GPU driver may help prevent the issue from returning.
    • Press Windows + X > Device Manager.
    • Expand Display adapters, right-click your graphics card, and choose Update driver.
  8. Check that space was freed

    • Go back to Settings > System > Storage.
    • Confirm that temporary file usage has dropped.

Fix It Automatically with Kudu

If you do not want to dig through Windows cleanup menus, Kudu can scan your PC for safe-to-remove junk files, including caches and other unnecessary temporary data. It makes cleanup faster, helps free up space, and reduces the chance of missing hidden system clutter.

Download Kudu Free →

Fix this automatically with Kudu

Run a free system scan to detect and resolve this issue automatically — no manual steps required.

Download Kudu Free →