How Do I Clear Nvidia DXCache?
If a game is stuttering, showing visual glitches, or behaving strangely after a graphics driver update, you may be wondering how to clear Nvidia DXCache. DXCache stores DirectX shader data that your Nvidia graphics card can reuse, helping supported games and applications load and render more efficiently. In most cases, it is safe to remove the cache files: Windows and your Nvidia driver can create new ones when needed.
The simplest approach is to close games and graphics applications, delete the contents of Nvidia’s DXCache folder, and restart your computer. You can also use Windows’ built-in cleanup tools to remove the DirectX Shader Cache. This guide explains both methods, where to find the files, what to expect afterward, and how to troubleshoot if the folder is missing or its contents will not delete.
What Is Nvidia DXCache?
DXCache is a folder used by Nvidia’s graphics software to store cached DirectX shader data. Shaders are small programs that help a graphics card render details such as lighting, shadows, materials, and visual effects. Rather than preparing the same data from scratch every time, a game or application may reuse cached shader files to reduce repeated work.
After you clear the cache, it is normal for the folder to become smaller or temporarily empty. As you launch games and other DirectX applications, new cache files are generated. The first launch after clearing the cache—or the first time you revisit a particular game area—may take longer or include brief stutters while shaders are rebuilt. This is usually temporary.
DXCache is not the same as your game saves, documents, or Windows system files. Removing the cache does not normally uninstall a game, reset your graphics driver, or erase saved progress. However, deleting the wrong folder can cause problems, so use the specific cache locations and methods below rather than removing unfamiliar files.
How to Clear Nvidia DXCache Manually
The manual method lets you delete Nvidia’s DirectX cache files directly. These instructions apply to most Windows 10 and Windows 11 computers with Nvidia graphics software installed.
- Save your work. Close any open documents and save progress in games.
- Exit games and graphics applications. Close games, video editors, 3D programs, and other software that may be using the GPU. Also close launchers if they are actively running a game or performing a graphics task.
- Open the Run dialog. Press the Windows key and R at the same time.
-
Open the Nvidia cache location. Type
%LOCALAPPDATA%\NVIDIA\DXCacheand press Enter. Windows should open the DXCache folder for your user account. - Select the cache contents. Press Ctrl+A to select the files and folders inside DXCache. Check that you are in the DXCache folder before continuing.
- Delete the selected items. Press Delete. If Windows asks for confirmation, confirm that you want to remove the selected cache items.
- Restart your computer. A restart is not always essential, but it helps close processes that might still be using cached files and gives you a clean starting point.
In most cases, you do not need to delete the DXCache folder itself. Remove its contents and leave the folder in place so the driver can continue using it. If Windows says a file is in use, do not force-delete it or end processes you do not recognize. Confirm that games and GPU-intensive applications are closed, restart the PC, and try again.
Clear DirectX Shader Cache in Windows
Windows also provides a way to remove the DirectX Shader Cache through its temporary-file cleanup features. This can be useful if you want Windows to handle the cleanup or if you cannot easily find the Nvidia folder. The exact wording can vary slightly depending on your Windows version.
- Open Settings. Press Windows+I.
- Go to storage options. In Windows 11, choose System and then Storage. In Windows 10, choose System and then Storage.
- Open temporary files. Select Temporary files and wait for Windows to calculate the available cleanup options.
- Select the shader cache option. Check DirectX Shader Cache if it appears in the list. Review the other selected categories carefully; they may include items you do not intend to remove.
- Run the cleanup. Choose the option to remove the selected files and allow Windows to complete the process.
You may also be able to use Disk Cleanup. Search for Disk Cleanup from the Windows Start menu, choose your Windows drive, and select the DirectX Shader Cache entry if it is listed. Then confirm the cleanup. Avoid selecting additional categories unless you understand what they contain.
Windows’ DirectX Shader Cache option and the files in Nvidia’s DXCache folder are related to graphics caching, but they are managed through different parts of the system. The available cleanup tools and the exact files removed can vary by Windows version and driver. If you want to target Nvidia’s folder specifically, use the manual method as well.
What If the DXCache Folder Is Missing?
If entering %LOCALAPPDATA%\NVIDIA\DXCache does not open a folder, that does not necessarily indicate a problem. The folder may not exist yet, may be empty, or may not have been created under your current Windows account. Some systems also use different cache locations depending on the installed driver and software.
First, confirm that you typed the path correctly, including the percent signs and backslash. You can also open File Explorer and paste %LOCALAPPDATA%\NVIDIA\ into its address bar, then look for a folder named DXCache. If it is not there, do not create or delete folders at random. The driver can make the required cache folders when they are needed.
Some older installations or guides refer to a folder named NV_Cache, and Nvidia software may use other cache folders for different purposes. Do not assume every folder containing “NVIDIA” or “Cache” should be deleted. If you intend to clear DirectX shader data, use the DXCache location or Windows’ DirectX Shader Cache cleanup option.
Is It Safe to Clear Nvidia DXCache?
For most users, clearing the contents of the DXCache folder is safe. The files are cached data rather than personal files, and the graphics driver or applications can rebuild them. You generally do not need administrator privileges to clear the cache in your own Windows user profile.
The main trade-off is that rebuilding shader data can temporarily affect performance. After cleanup, a game may take longer to start, pause briefly while loading a new area, or show short-lived stuttering as shaders compile again. These effects should usually settle as you continue using the game. Clearing the cache repeatedly is not a routine performance-boosting measure and may make loading less smooth until the cache is rebuilt.
Do not delete Nvidia driver folders from Program Files, Windows system folders, or other locations simply because their names look unfamiliar. The DXCache cleanup does not require uninstalling your driver or removing the Nvidia software. If you are unsure about a file or folder, leave it in place and use Windows’ built-in cleanup option instead.
When Should You Clear DXCache?
There is usually no need to clear Nvidia DXCache on a schedule. The cache is designed to be reused, and keeping it can help avoid compiling the same shader data repeatedly. Consider clearing it when you are troubleshooting a specific issue rather than as a general maintenance habit.
- After a graphics driver update if a game develops persistent graphical problems or unusual stuttering.
- When troubleshooting a particular game that crashes, displays visual artifacts, or behaves differently after an update.
- If Windows reports low storage and the cache is using a meaningful amount of space.
- When a support guide specifically recommends it as one step in diagnosing a graphics issue.
Clearing the cache is not guaranteed to fix every crash or performance problem. Issues can also be caused by a game update, an incompatible driver, overheating, background applications, corrupted game files, or hardware limitations. If the same issue continues after the cache is rebuilt, investigate those possibilities instead of repeatedly deleting the cache.
What to Do If Files Will Not Delete
Windows may prevent you from deleting a file if a running program is using it. Close games, game launchers, video-editing software, and 3D applications, then try again. Check the notification area near the clock for apps that may still be running in the background. If you are uncertain which process is holding a file, restarting Windows is safer than ending unfamiliar processes.
If the folder remains locked after a restart, make sure you are signed into the Windows account whose local cache you are trying to clear. The path using %LOCALAPPDATA% points to the current account’s local application data. A different user account may have its own Nvidia cache.
You can also skip the manual deletion and try the Windows DirectX Shader Cache cleanup option. If Windows reports a permissions problem, avoid changing ownership or permissions on broad Nvidia or Windows folders. For help with a recurring permissions error, consult Microsoft or Nvidia support rather than modifying system security settings without a clear reason.
Will Clearing DXCache Improve FPS?
Clearing DXCache does not usually increase frame rates by itself. The cache exists to help graphics software reuse shader data, so deleting it can lead to extra shader compilation until the files are recreated. If corrupted or outdated cache data is contributing to a specific issue, clearing it may help resolve that issue, but it is not a universal FPS fix.
For a persistent performance problem, check that your game is using the intended graphics processor, install an appropriate stable Nvidia driver, review the game’s graphics settings, and make sure the PC is not overheating. Close unnecessary background tasks and verify the game’s files through its launcher if crashes or missing assets are involved. Change one thing at a time so you can tell whether it makes a difference.
Frequently Asked Questions
Will clearing Nvidia DXCache delete my game progress? No. DXCache stores graphics-related cache data, not normal game saves. Game saves are typically stored separately, although cloud-sync and save locations vary by game.
Should I delete everything in the Nvidia folder? No. Only remove the contents of the specific DXCache folder if you are following the manual method. Other Nvidia folders may contain settings, installer files, or data used by different features.
How often should I clear Nvidia DXCache? There is no recommended routine schedule for most people. Clear it when troubleshooting a graphics issue or when you have a specific storage reason to do so.
Do I need to reinstall my graphics driver afterward? No. The driver can recreate the cache as needed. Reinstalling the driver is not required just because you cleared DXCache.
Conclusion
To clear Nvidia DXCache, close games and graphics applications, open %LOCALAPPDATA%\NVIDIA\DXCache, and delete the contents of the folder. You can also use Windows Settings or Disk Cleanup to remove the DirectX Shader Cache. Leave unrelated Nvidia and Windows folders alone, and do not worry if shader files return: they are rebuilt as you use games and applications.
Because clearing the cache can cause temporary shader compilation and stuttering, it is best used as a troubleshooting step rather than a regular maintenance task. If the graphics problem persists after the cache has been recreated, investigate the game, driver, temperature, and system settings as well.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.