If you play games on a Mac through Steam, you have probably noticed unfamiliar folders quietly consuming gigabytes in the background. One of the biggest culprits is the Steam shader cache — a collection of compiled GPU shader programs that helps your games load faster and run more smoothly. This post explains what the cache actually is, where macOS stores it, how large it tends to grow, and when you can safely delete it without any lasting damage to your games or Steam library.
What Is a Shader Cache, Exactly?
A shader is a small program that runs on the GPU and tells it how to draw geometry, lighting, shadows, and post-processing effects. The first time a game runs a particular shader on your hardware, it must compile the raw shader source into machine code your GPU understands. That compilation takes time — sometimes several seconds — which is why you sometimes see stuttering or frame-rate dips when entering a new area for the first time.
The shader cache stores the results of that compilation work on disk. On subsequent runs, the game reads the pre-compiled shader from the cache instead of recompiling it on the fly, which eliminates the stutter and speeds up load times. Steam maintains its own layer of this cache in addition to whatever caching macOS Metal and individual game engines do themselves.
Where Does Steam Store the Shader Cache on Mac?
Steam on macOS keeps several categories of data in different locations. The shader cache specifically lives inside the Steam userdata and game-specific folders rather than in ~/Library/Caches (where most macOS apps put ephemeral data). The primary paths to know are:
~/Library/Application Support/Steam/steamapps/shadercache/— per-game compiled shader folders, each named by the game's Steam App ID~/Library/Application Support/Steam/logs/— shader pipeline logs that can be deleted independently~/Library/Caches/com.valvesoftware.steam/— general Steam runtime caches including thumbnail art and web data
If you have moved your Steam library to an external drive or a secondary volume, the shadercache folder travels with the library. Each game's folder is named numerically, so you can cross-reference App IDs at store.steampowered.com/app/<ID>/ if you want to identify which game owns which folder.
How Large Does the Steam Shader Cache Get?
The answer varies enormously by how many games you have installed and how graphically complex they are. A typical Mac library of a dozen mid-sized games can accumulate 2–8 GB of shader cache data. AAA titles with complex rendering pipelines — especially those rebuilt for Apple Silicon using Metal — can each generate 500 MB to 1.5 GB of shader data on their own. The table below shows representative sizes from commonly installed Steam games on macOS Sequoia and the upcoming Tahoe release cycle:
| Game (example) | App ID | Typical shader cache size | Notes |
|---|---|---|---|
| Hades II | 1145360 | 80–200 MB | 2D-heavy; smaller shader set |
| Portal 2 | 620 | 50–150 MB | Older engine; compiles quickly |
| Baldur's Gate 3 | 1086940 | 600 MB–1.2 GB | Vulkan-to-Metal layer; large pipeline |
| No Man's Sky | 275850 | 300–700 MB | Procedural rendering generates many variants |
| Cyberpunk 2077 (via CrossOver) | N/A | 1–3 GB | DirectX-to-Metal translation layer amplifies cache |
On Apple Silicon Macs using the Game Porting Toolkit or similar translation layers, cache sizes tend to run even higher because the translation layer itself compiles shaders for each DirectX draw call variant it encounters.
Is It Safe to Delete the Steam Shader Cache?
Yes — the shader cache is entirely regenerable. Deleting it carries no risk of losing your saved games, Steam Cloud progress, installed game files, or achievements. The only consequence is that the next time you launch each affected game, it will recompile shaders as needed, which causes some initial stutter or extended loading screens until the cache is rebuilt. For most games this rebuild is transparent; for graphically intensive titles it may take a full play session to feel smooth again.
You should consider clearing the shader cache if you have recently updated macOS (especially across major versions such as Sequoia to Tahoe), switched from an Intel Mac to Apple Silicon, or if a game that previously ran well has started stuttering unexpectedly — a sign that cached shaders may be stale or mismatched.
How to Delete the Steam Shader Cache on Mac
There are two approaches: deleting via Steam's built-in tool (recommended for a single game) or deleting the folders manually in Finder or Terminal.
Method 1: Use Steam's Built-In Cache Clear (Per Game)
- Open Steam and go to your Library.
- Right-click (or Control-click) the game whose cache you want to clear and choose Properties.
- Select the Local Files tab.
- Click Browse Local Files to confirm you are looking at the right game, then go back and click Delete Local Content only if you want to remove the whole install. For the cache alone, proceed to Method 2.
Steam does not currently expose a one-click “clear shader cache only” button in its macOS UI the way it does on Windows. That means the cleanest approach for targeted removal is the manual Terminal method below.
Method 2: Delete Manually via Terminal
- Quit Steam completely (Steam menu → Quit Steam, or
Command-Q). - Open Terminal (in
/Applications/Utilities/). - Run the following command to see how large the shader cache is before you delete it:
du -sh ~/Library/Application\ Support/Steam/steamapps/shadercache/ - To delete the entire shader cache directory:
rm -rf ~/Library/Application\ Support/Steam/steamapps/shadercache/ - Relaunch Steam. The
shadercachefolder will be recreated automatically as games run.
If you only want to remove the cache for one game, replace the path with the specific App ID folder, for example:
rm -rf ~/Library/Application\ Support/Steam/steamapps/shadercache/1086940/
What About Steam's Downloaded Pre-Compiled Shaders?
Separate from the locally-compiled cache, Valve also pre-compiles shader pipelines in the cloud and pushes them to clients before you even launch a game. On macOS these are stored alongside the game files in the steamapps/common/<GameName>/ directory and are considered part of the game install rather than a cache. Deleting these forces a re-download rather than a local recompile, so they are better left alone unless you are troubleshooting a specific corruption issue.
Other Steam Data Worth Reviewing on Mac
The shader cache is often only part of the disk space Steam occupies. Related folders worth auditing include:
~/Library/Application Support/Steam/steamapps/downloading/— partially downloaded games that were paused or cancelled~/Library/Application Support/Steam/steamapps/temp/— staging area for updates; usually clears itself but can linger after crashes~/Library/Caches/com.valvesoftware.steam/— web cache, thumbnails, and runtime data (generally 100–400 MB)- Workshop content in
~/Library/Application Support/Steam/steamapps/workshop/— mods and map packs that accumulate over time
If you want a broader picture of where gigabytes are hiding across your whole Mac — not just Steam — a tool like Crumb can audit all of these at once and show you what's safe to remove before you delete anything. For more context on which Mac storage categories are worth reviewing first, see our guide on what is taking up space on your Mac, and for a deeper look at how cache files behave across the system, what are cache files on a Mac covers the full picture.
Keeping the Cache Under Control Long-Term
The shader cache is self-managing in the sense that Steam will overwrite stale entries when a game or driver update invalidates them. However, it does not automatically prune old entries for games you have uninstalled. Running a periodic manual check — or using a disk auditing tool — a few times a year is enough for most users. On a 256 GB MacBook Air, even saving 3–5 GB from old shader caches can meaningfully reduce storage pressure. On a 1 TB Mac Studio the urgency is lower, but the principle is the same: data for uninstalled games should not sit on your drive indefinitely.
The short answer to the headline question is: yes, you can delete the Steam shader cache on Mac whenever you like. It will rebuild itself, your games and saves are untouched, and the only cost is a recompile period the next time you play. If your Mac is running low on space and you see a multi-gigabyte shadercache folder, it is one of the cleanest, lowest-risk deletions available to you.