Why Is My DirectX Cache So Large on Windows

If DirectX cache is taking too much space, Kudu can help clear it safely and recover storage.

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 cache usually grows because Windows stores temporary shader files to help games and graphics-heavy apps load faster. Over time, those cached files can pile up, especially if you install new games often, update your graphics driver, or switch between different versions of DirectX features. In some cases, old cache files are left behind after driver updates and no longer serve any useful purpose.

Common Symptoms

  • You notice several hundred MB or even multiple GB of storage used by DirectX Shader Cache
  • Disk Cleanup shows a large amount next to "DirectX Shader Cache"
  • Your C: drive is low on space for no obvious reason
  • Games or 3D apps have been installed, updated, or removed recently
  • Storage Sense or Windows storage reports large temporary file usage

How to Fix It Manually

  1. Check how much space the cache is using

    1. Press Windows + I to open Settings.
    2. Go to System > Storage.
    3. Click Temporary files.
    4. Look for DirectX Shader Cache in the list to see how much space it is taking.
  2. Clear DirectX Shader Cache from Settings

    1. In Settings > System > Storage > Temporary files, check DirectX Shader Cache.
    2. Leave other boxes unchecked unless you also want to remove those files.
    3. Click Remove files.
    4. Wait for Windows to finish deleting the cache.
  3. Use Disk Cleanup if the cache still appears large

    1. Press Windows + S, type Disk Cleanup, and open it.
    2. Select your C: drive and click OK.
    3. In the list, check DirectX Shader Cache.
    4. Click OK, then click Delete Files to confirm.
  4. Restart your PC

    1. Click Start > Power > Restart.
    2. This helps Windows fully release any temporary graphics files still in use.
  5. Update your graphics driver if the cache keeps growing abnormally

    1. Press Windows + X and click Device Manager.
    2. Expand Display adapters.
    3. Right-click your graphics card and choose Update driver.
    4. Click Search automatically for drivers.
    5. If Windows does not find one, check the GPU maker’s app or website:
      • NVIDIA: GeForce Experience or nvidia.com
      • AMD: Adrenalin or amd.com
      • Intel: Intel Driver & Support Assistant or intel.com
  6. Run Storage Sense for ongoing cleanup

    1. Open Settings > System > Storage.
    2. Turn on Storage Sense.
    3. Click Storage Sense and choose how often Windows should clean temporary files automatically.

A few things to keep in mind: deleting the DirectX cache is generally safe, but games may take a little longer to load shaders the next time you open them. If the cache comes back later, that is normal—Windows and your GPU driver rebuild it as needed. The real issue is when it becomes unusually large and never gets cleaned up.

Fix It Automatically with Kudu

Kudu can scan your PC for oversized temporary files, including DirectX-related cache, and clean them up safely without making you hunt through Windows settings. It is a faster way to recover space and keep junk files from building up again, especially if you game often or install lots of graphics apps.

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 →