How to Clear NVIDIA GPU Cache on Windows
In this article
You cannot clear the NVIDIA GPU cache directly through a single button or menu in Windows. The GPU does not maintain a user-accessible "cache" in the way a browser does. Instead, what people usually mean by "clearing the GPU cache" is removing temporary files, shader caches, and leftover data that can accumulate and sometimes cause performance issues or glitches. The practical approach is to delete the NVIDIA shader cache folders, clean up temporary files, and reset the graphics driver stack if needed. This guide walks you through the safe, official methods to achieve that on Windows 10 and Windows 11. Note that menu labels and folder paths can differ slightly depending on your Windows version and NVIDIA driver version.
What You'll Need
- A Windows 10 or Windows 11 PC with an NVIDIA graphics card.
- Administrator rights on your user account (to delete some system-level cache folders).
- Basic familiarity with File Explorer and the Settings app.
- Optional: the latest NVIDIA driver installer from the official NVIDIA website, in case you need to reinstall the driver.
Step-by-Step
- Close all running applications. Save your work and exit games, browsers, and any GPU-accelerated apps. This prevents files from being locked while you delete them.
- Open the NVIDIA shader cache folder. In File Explorer, navigate to
C:\Users\[YourUsername]\AppData\Local\NVIDIA\DXCache. Replace[YourUsername]with your actual Windows username. If you don't see the AppData folder, enable "Hidden items" in the View tab of File Explorer. - Delete the contents of the DXCache folder. Select all files inside (Ctrl+A) and press Delete. Confirm any prompts. Do not delete the DXCache folder itself, only its contents.
- Also check the GLCache folder. In the same NVIDIA folder, you may find a
GLCachefolder (for OpenGL shaders). Open it and delete its contents the same way. If it doesn't exist, skip this step. - Clear the NVIDIA Corporation temp folder. Navigate to
C:\Users\[YourUsername]\AppData\Local\Temp. Look for any folders or files with "NVIDIA" in the name and delete them. These are temporary files created during driver installation and updates. - Use Disk Cleanup for system temp files. Press Windows key + R, type
cleanmgr, and press Enter. Select your system drive (usually C:), click OK, then click "Clean up system files" (requires admin). Check "Temporary files" and any other categories you want to clear, then click OK. This removes broader temp data that can include GPU-related leftovers. - Restart your PC. A restart ensures all cached data is flushed from memory and any locked files are released.
- Optional: Reset the NVIDIA driver stack. If you suspect deeper issues, you can perform a clean reinstall of the NVIDIA driver. Download the latest driver from the official NVIDIA website, run the installer, and choose "Custom (Advanced)" then check "Perform a clean installation." This removes all previous driver settings and cache. Warning: this will reset your NVIDIA Control Panel settings to default.
Common Mistakes
- Deleting the entire NVIDIA folder. Only delete the contents of the cache subfolders (DXCache, GLCache), not the parent NVIDIA folder, which may contain important configuration files.
- Forgetting to close apps. Trying to delete files while a game or app is running will result in "file in use" errors.
- Using third-party "cleaner" tools. Some registry cleaners or optimizer tools claim to clear GPU cache but can damage your system. Stick to manual deletion or official Windows tools.
- Expecting immediate performance boost. Clearing the shader cache may cause temporary stuttering as shaders are recompiled on first launch of games. This is normal and usually resolves after a few minutes of gameplay.
- Confusing GPU cache with VRAM. VRAM is cleared automatically when you close applications or restart; you cannot manually "empty" VRAM beyond that.
Tips
- Clear the shader cache after major driver updates or when you notice graphical glitches in games. It's not something you need to do daily.
- If you frequently switch between many games, the shader cache can grow large. Deleting it frees up disk space, but the cache will rebuild over time.
- Use the NVIDIA Control Panel to manage shader cache size if you want to limit its growth. Open NVIDIA Control Panel > Manage 3D settings > Shader Cache Size. Set it to a smaller value or disable it if you prefer. Note: disabling may increase load times.
- Keep your NVIDIA driver up to date via GeForce Experience or manual download from the official site. Updated drivers often include optimizations that reduce cache-related issues.
- Before deleting, you can check the size of the DXCache folder by right-clicking it and choosing Properties. It can be several gigabytes.
Troubleshooting
- Cannot delete files: "File in use". Ensure all apps are closed. If the problem persists, restart your PC and try again immediately after logging in.
- DXCache folder not found. The folder may not exist if you haven't run any DirectX applications. It will be created automatically when needed. You can also check the NVIDIA folder under ProgramData:
C:\ProgramData\NVIDIA Corporation\NV_Cache. Delete its contents if present. - Games stutter after clearing cache. This is expected as shaders are recompiled. Play for a few minutes; stuttering should decrease. If it persists, verify game files or reinstall the game.
- Performance issues continue. Clearing cache may not solve underlying problems. Check for driver updates, ensure your GPU is not overheating, and consider a clean driver reinstall as described in step 8.
- Accidental deletion of important files. If you deleted more than intended, use the Recycle Bin to restore files. For system files, you may need to reinstall the NVIDIA driver.
Frequently Asked Questions
Does clearing the NVIDIA cache improve performance?
It can help if the cache is corrupted or causing glitches, but it's not a general performance booster. In fact, it may temporarily reduce performance as the cache rebuilds.
Is it safe to delete the DXCache folder?
Yes, it's safe. The folder contains temporary shader files that will be regenerated automatically when needed.
How often should I clear the GPU cache?
Only when you experience graphical issues, after driver updates, or if you need to free up disk space. There's no need for regular clearing.
Can I clear the cache from NVIDIA Control Panel?
No, there is no built-in option to clear the cache from NVIDIA Control Panel. You must delete the folders manually or use Disk Cleanup.
Will clearing the cache affect my game settings?
No, game settings are stored separately. Only shader caches are removed, which may cause a brief recompilation period.
What if I have an AMD GPU?
This guide is for NVIDIA GPUs. AMD has similar cache folders (e.g., in %LOCALAPPDATA%\AMD\DxCache), but the steps differ slightly.