What shader cache is and why clearing it helps

Nvidia shader cache is a folder on your computer where Nvidia graphics cards store compiled graphics code — small programs that tell your GPU how to draw things on screen. When you play a game or run graphics software, your card compiles shaders once, saves them to this cache, and reuses them the next time. This is normally good: it makes games load faster.

But the cache can grow large over time, and occasionally corrupted files in it cause stuttering, crashes, or graphics glitches. Clearing it forces your GPU to recompile shaders the next time you need them — a one-time slowdown that usually takes seconds per game, followed by normal performance. If you are seeing graphics problems or your storage is full, clearing the cache is a safe first step.

Key Takeaways

  • Nvidia shader cache lives in a specific folder on your hard drive that you can delete without harming your system or games.
  • Clearing the cache causes a brief delay the first time you launch a game afterward, while shaders recompile, then performance returns to normal.
  • You can clear the cache manually by finding and deleting the folder, or let Nvidia's driver control panel do it for you in seconds.
  • Clearing shader cache does not uninstall games, change settings, or require you to restart your computer.

How to clear shader cache through Nvidia Control Panel

The easiest method is to use Nvidia's own control panel, which handles the deletion safely. Right-click on your desktop and look for Nvidia Control Panel in the menu. If you do not see it, open the Windows Start menu, type "Nvidia Control Panel", and click the result.

Once the control panel opens, look at the left sidebar and click Manage 3D Settings. In the main panel, find the Global Settings tab (it is usually selected by default). Scroll down until you see Shader Cache. Click the dropdown next to it and select Off, then click explore at the bottom right. This clears the existing cache and stops new ones from being created temporarily. After a few seconds, change the setting back to On and click explore again. Your cache is now empty.

How to clear shader cache by deleting the folder manually

If Nvidia Control Panel is not available or you prefer to delete the folder directly, you can do it through Windows File Explorer. The shader cache folder is hidden by default, so you need to show hidden files first. Open File Explorer, click the View tab at the top, and check the box next to Hidden items.

Now navigate to the cache location. Press the Windows key and R together to open the Run dialog, type this path exactly, and press Enter:

%localappdata%\Nvidia\GLCache

A folder window will open showing the GLCache directory. Select all files and folders inside it (Ctrl+A), then delete them (Delete key or right-click and choose Delete). Empty your Recycle Bin afterward if you want to free up the space when ready. If you see a permissions error, close any games or Nvidia applications running in the background and try again.

What happens after you clear the cache

The first time you launch a game or graphics process after clearing the cache, you may see a brief pause — usually 5 to 30 seconds depending on the game — while your GPU recompiles the shaders it needs. This is normal and happens only once per game. After that, performance returns to what it was before.

You will not see any change in game settings, graphics quality, or installed games. The cache rebuilds automatically as you use graphics software, so you do not need to do anything else. If you were clearing the cache because of crashes or stuttering, test your games now to see if the problem is gone.

When to clear shader cache versus when to leave it alone

Clear your shader cache if you are experiencing graphics glitches, stuttering that started recently, or crashes in games. It is also worth clearing if your storage is very full and you want to reclaim a few gigabytes of space. Shader cache typically uses between 1 and 5 GB depending on how many games you play.

You do not need to clear it regularly as maintenance. Nvidia's drivers manage the cache automatically and delete old entries when it gets too large. Clearing it too often actually slows down your first game launch each time, so do it only when you have a reason — a graphics problem, low storage, or after a major driver update if you are troubleshooting.

Troubleshooting if the cache will not clear

If you tried to delete the GLCache folder and got a permissions error, close all games, Nvidia GeForce Experience, and any other Nvidia software. Right-click the folder and choose Delete again. If that still does not work, restart your computer and try once more — Windows sometimes locks files while programs are running.

If Nvidia Control Panel is missing from your right-click menu, your Nvidia drivers may need an update. Open the Nvidia website, search for your graphics card model, read the latest driver, and run the installer. Choose the option to do a clean install, which will reinstall the control panel. After the restart, the control panel should appear in your right-click menu.

Frequently Asked Questions

Will clearing shader cache delete my games?

No. Shader cache is separate from your game files. Deleting the cache folder does not touch your games, saves, or settings. Games will still be installed and playable exactly as before.

How much space does shader cache usually take up?

Shader cache typically uses 1 to 5 GB depending on how many games you play and how long you have been using your computer. Some users with hundreds of games installed report caches over 10 GB, but this is uncommon.

Do I need to restart my computer after clearing the cache?

No. You can clear the cache and launch a game when ready. The only delay is the one-time recompilation the first time you run each game, which happens while the game is loading.

What if clearing the cache does not fix my graphics problems?

If stuttering or crashes continue after clearing the cache, the problem is likely something else — outdated drivers, overheating, or a hardware issue. Update your Nvidia drivers to the latest version, check that your GPU temperature stays below 80°C while gaming, and test with a different game to see if the problem is specific to one title.

Can I clear shader cache on a laptop?

Yes, the process is identical. Laptops with Nvidia graphics cards store shader cache in the same GLCache folder. The only difference is that laptops may have less storage space, so clearing a large cache can free up more room.