How Do I Clear NVIDIA Cache?
If a game stutters, displays visual glitches, or behaves strangely after a graphics driver update, clearing the NVIDIA cache may help. The cache stores temporary graphics data—such as shader files—to help games and applications load or render more efficiently. If those files become outdated or corrupted, removing them can give your system a clean start.
On Windows, you can clear NVIDIA-related shader data using Windows’ temporary-file settings or by deleting specific cache folders. These steps are generally safe: Windows and your applications will recreate needed cache files as you use them again. The first launch of a game after clearing the cache may take longer, and you might notice temporary stuttering while shaders are rebuilt.
What Is the NVIDIA Cache?
NVIDIA cache is a collection of temporary files created by your graphics driver, games, and other graphics applications. Shader caches, for example, store compiled instructions that tell the GPU how to render effects such as lighting, shadows, and reflections. Reusing those files can reduce loading time and help avoid repeated shader compilation.
There isn’t always one single NVIDIA cache folder. The files may be stored in different places depending on your Windows version, graphics driver, application, and graphics API. A game may also maintain its own shader cache, separate from the NVIDIA driver’s cache. Clearing one type of cache does not necessarily clear every game or application cache.
Cache files are not your graphics driver itself, and they are not the same as your game saves, documents, or personal files. Still, it’s important to remove only the cache data described below. Avoid deleting entire NVIDIA folders or driver installation files just because they contain NVIDIA in the name.
Before You Clear the NVIDIA Cache
Save your work and close games, video editors, 3D software, and other graphics-intensive applications. If a program is actively using a cache file, Windows may prevent you from deleting it. You can also restart your PC before following the steps, which closes many background processes that might keep files in use.
Clearing the cache is usually a troubleshooting step, not routine maintenance. Cache files are meant to be reused, so deleting them regularly can make games slower the next time they build shaders. Try it when you are troubleshooting a specific graphics issue, after certain driver changes, or when you have a clear reason to suspect the cache is damaged.
Method 1: Clear DirectX Shader Cache in Windows
Windows includes a built-in option for removing the DirectX Shader Cache. This is a straightforward first step because Windows manages the cleanup rather than requiring you to browse to folders manually. The exact labels can vary slightly between Windows 10 and Windows 11.
- Open Settings from the Start menu.
- In Windows 11, select System, then Storage. In Windows 10, open System, then Storage.
- Choose Temporary files. Windows may take a moment to scan your drive.
- Find and select DirectX Shader Cache.
- Check the other items carefully. Leave anything you want to keep unselected, especially Downloads or Recycle Bin contents.
- Select Remove files or the equivalent cleanup button.
You can also use Disk Cleanup, if it is available on your Windows installation. Search for Disk Cleanup in the Start menu, choose your Windows drive, select DirectX Shader Cache in the list, and confirm the cleanup. If Windows asks you to scan system files, that step is not always necessary just to remove the shader cache.
This method targets the DirectX shader cache managed by Windows. It may not remove every cache created by NVIDIA drivers or individual games, so use the manual method below if you are troubleshooting persistent NVIDIA-related issues.
Method 2: Delete NVIDIA Cache Folders Manually
You can remove common NVIDIA cache folders from your Windows user profile. The folders may be hidden, but entering their paths directly into File Explorer is often easier than browsing through them. Delete the contents of the cache folders, not unrelated folders elsewhere in the NVIDIA directory.
- Close games and graphics applications, then press Windows key + R to open the Run dialog.
- Enter
%LOCALAPPDATA%\NVIDIAand press Enter. - Look for folders named
DXCacheandGLCache. - Open each folder and delete its contents. If you prefer, you can delete the cache folder itself; it will usually be recreated when needed.
- Check whether this older cache location exists:
%PROGRAMDATA%\NVIDIA Corporation\NV_Cache. - If it exists, delete the files inside
NV_Cache, but do not remove the entireNVIDIA Corporationfolder. - Restart your PC before testing the game or application again.
Not every computer will have all of these folders. Their names and locations can change with driver versions, and some systems may have an empty folder or no matching folder at all. That is normal. Do not create folders simply because they are missing.
If Windows reports that a file is in use, don’t force-delete it with unfamiliar tools. Confirm that games and graphics applications are closed, restart the PC, and try again. You can also skip the locked file; Windows may recreate or clean it up later.
Method 3: Use the NVIDIA Control Panel to Manage Shader Cache
The NVIDIA Control Panel can let you manage the shader cache size, but this is different from clearing existing cache files. To check the setting, right-click the desktop and open NVIDIA Control Panel. Select Manage 3D settings, then look for Shader Cache Size in the global settings or a specific program’s settings.
Depending on your driver, the setting may offer a size limit or an option to disable the cache. Available choices can vary. Leaving shader caching enabled is usually appropriate for everyday gaming because it allows compatible graphics data to be reused. Disabling it is not the same as clearing the cache and may cause shaders to compile repeatedly.
If you change a setting for troubleshooting, make a note of the original value so you can restore it later. Changing cache size will not necessarily remove existing files immediately. Use Windows cleanup or the relevant cache folder if your goal is to clear stored data.
What to Expect After Clearing the Cache
After the cache is cleared, Windows, the NVIDIA driver, or a game will rebuild the files as they are needed. The first time you launch a game, you may see a shader-compilation screen, a longer loading time, or brief stuttering while you play. This is typically temporary and should improve once the cache has been rebuilt.
Clearing the cache does not normally uninstall your graphics driver, reset your NVIDIA Control Panel settings, delete game saves, or remove games. If you see a Windows cleanup prompt, review the selected file categories before confirming so you don’t accidentally remove other temporary files you meant to keep.
To check whether the cleanup helped, test the same game or application that had the problem. If it runs normally after rebuilding shaders, the issue may have been related to stale or corrupted cache data. If the problem continues, the cache was probably not the cause, or the application may have its own cache that needs separate attention.
Common Problems and Troubleshooting Tips
If the NVIDIA folders are missing, that does not mean something is wrong. Your driver or applications may use a different location, or they may not have created those caches yet. Try the Windows DirectX Shader Cache cleanup first, then check the specific game’s support information for any application-managed shader cache.
If the problem began immediately after a graphics driver update, clearing the cache can be one useful troubleshooting step, but it is not guaranteed to resolve driver problems. Check that you have a stable, compatible NVIDIA driver. If you reinstall a driver, download it from an official NVIDIA source or use the official NVIDIA app, and follow the installer’s instructions.
If you are trying to free disk space, check how much space the cache is actually using before removing files. Shader caches are often modest in size, and they grow again as you use graphics applications. Windows Storage settings can help you identify other temporary files or large items taking up space.
On Linux, cache locations depend on the distribution, driver, and graphics applications in use. Some NVIDIA OpenGL cache data may be stored under a user’s ~/.nv directory, but Vulkan and individual games can use different locations. Close graphics applications first, consult your distribution or application documentation, and avoid deleting driver or system directories.
Frequently Asked Questions
Is it safe to clear the NVIDIA shader cache? In general, yes. The cache contains temporary graphics data that can be regenerated. Use the Windows cleanup option or remove only the specific NVIDIA cache folders, and don’t delete unrelated driver or system files.
Will clearing the cache improve FPS? Not usually as a permanent performance upgrade. It may help if cache data is causing a particular problem, but deleting it can temporarily make performance worse while shaders are compiled again. Once the cache is rebuilt, performance may return to its usual level.
How often should I clear the NVIDIA cache? There is no need to clear it on a schedule. Consider doing so when troubleshooting visual glitches, unusual stuttering, or issues that started after a driver or game update. If your computer is working normally, leaving the cache alone is generally best.
Conclusion
To clear the NVIDIA cache on Windows, start with Settings > System > Storage > Temporary files and remove the DirectX Shader Cache. If you need a more targeted cleanup, close graphics applications and remove the contents of common folders such as %LOCALAPPDATA%\NVIDIA\DXCache and %LOCALAPPDATA%\NVIDIA\GLCache, along with the older NV_Cache folder if it exists.
These files are temporary and will be rebuilt, so expect longer loading or brief stuttering the next time you use a game or graphics application. Clear the cache when troubleshooting—not as a routine performance tweak—and avoid deleting NVIDIA folders that are not specifically identified as cache folders.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.