Communication app storage

Discord Taking Up 10GB+ on Mac? How to Clear Discord Cache in 2026

If you have ever opened About This Mac and wondered why your disk is tighter than expected, Discord may be a quiet culprit. Because Discord is built on Electron — a framework that bundles a full Chromium browser inside the app — it accumulates several overlapping cache layers that can collectively grow to 10 GB or more over time. This guide covers exactly how to clear Discord cache on Mac, which folders are safe to delete, and what to leave alone.

Why Discord's Cache Gets So Large

Discord caches aggressively for a good reason: loading a server with thousands of members, dozens of emoji, animated avatars, and embedded videos on every launch would be painfully slow without a local store. The problem is that it rarely cleans up after itself. Three separate caches pile up independently:

  • Cache — HTTP resources: images, avatars, emoji, embedded media thumbnails.
  • Code Cache — Compiled JavaScript bytecode. Chromium pre-compiles JS so pages render faster; this folder grows with every Discord update.
  • GPUCache — Shader programs compiled for your specific GPU. Smaller, but persistent.

On a machine used daily in multiple active servers, the Cache folder alone can exceed 5 GB. Add Code Cache and GPUCache and the total climbs quickly.

Where Are Discord Cache Files on Mac?

Discord stores its Electron caches inside your user Library, which macOS hides by default. The root path depends on which Discord variant you use:

Discord variant Cache root path
Discord (stable) ~/Library/Application Support/discord/
Discord PTB (Public Test Build) ~/Library/Application Support/discordptb/
Discord Canary ~/Library/Application Support/discordcanary/

Inside each variant's folder, the cache directories sit at paths like:

~/Library/Application Support/discord/Cache/Cache_Data/
~/Library/Application Support/discord/Code Cache/
~/Library/Application Support/discord/GPUCache/

Note: on macOS 12 Monterey through macOS 26 (Tahoe), these paths have not changed. The ~/Library/Application Support/ location is the canonical home for Electron app data.

How to Clear Discord Cache on Mac Manually

The process is safe as long as Discord is quit first. Deleting these caches does not affect your account, servers, messages, or settings — Discord rebuilds them the next time it launches.

  1. Fully quit Discord. Click the Discord icon in the menu bar (if present) and choose Quit, or press Cmd + Q with Discord focused. A simple window-close leaves the app running in the background.
  2. Open Finder, then in the menu bar choose Go > Go to Folder… (Shift + Cmd + G).
  3. Paste the following path and press Return:
    ~/Library/Application Support/discord
  4. Inside that folder, locate the three cache directories: Cache, Code Cache, and GPUCache.
  5. Select all three, right-click, and choose Move to Trash.
  6. Empty the Trash.
  7. Relaunch Discord. It will recreate these folders from scratch.

If you use Discord PTB or Canary, repeat the same steps for discordptb or discordcanary inside Application Support.

Doing It from Terminal

If you prefer the command line, the following removes all three cache folders for the stable build in one shot:

quit discord 2>/dev/null; true
rm -rf ~/Library/Application\ Support/discord/Cache
rm -rf ~/Library/Application\ Support/discord/Code\ Cache
rm -rf ~/Library/Application\ Support/discord/GPUCache

For PTB or Canary, replace discord in the path with discordptb or discordcanary accordingly.

What Is Safe to Delete — and What Is Not

It is worth being explicit, because the Application Support/discord/ folder contains more than just caches.

  • Safe to delete: Cache, Code Cache, GPUCache. These are pure rebuild artifacts with no user data.
  • Safe to delete (with minor side-effects): blob_storage, DawnCache. These are additional Chromium GPU and rendering caches. Discord rebuilds them on next launch; you may notice a brief slowdown the first time.
  • Do not delete: Local Storage, Session Storage, Preferences. These store your account tokens, client settings (theme, keybinds, notification preferences), and cached server metadata. Deleting them logs you out and resets your client settings.

Cleaning is permanent — files moved to Trash and emptied cannot be recovered from within macOS. Make sure Discord is quit before you delete anything, otherwise the app may be mid-write and you could corrupt its database.

Checking Discord's Cache Size Before and After

To see exactly how much space each cache folder occupies before you delete it:

du -sh ~/Library/Application\ Support/discord/Cache
du -sh ~/Library/Application\ Support/discord/Code\ Cache
du -sh ~/Library/Application\ Support/discord/GPUCache

On a machine that has never cleared its Discord cache, it is not unusual to see the Cache directory at 4–6 GB, and Code Cache at 1–2 GB.

Clearing Discord Cache Automatically with Crumb

If you would rather skip the Finder navigation and handle Discord alongside system caches in one pass, Crumb does exactly that. Because Discord is an Electron app, its Cache, Code Cache, and GPUCache folders are nested several levels deep inside Application Support — a location that standard macOS storage tools ignore entirely. Crumb's cleaner walks the full Electron cache tree for every installed app, so Discord's caches are cleared along with Safari caches, system logs, and temporary files in a single click. You can also use the Visualize feature to see a disk map showing exactly which app directories are consuming the most space before you commit to deleting anything.

You can download Crumb and run a one-time cleanup for free, with no account required.

Preventing Discord's Cache from Growing Back Quickly

Clearing the cache is a one-time fix; Discord will start filling it again immediately. A few habits keep it manageable:

  • Clear the three cache folders every one to two months if you are in media-heavy servers.
  • Disable "Use Hardware Acceleration" in Discord's Settings > Advanced — this reduces GPU shader compilation and shrinks GPUCache over time.
  • Quit Discord fully when you are not using it rather than leaving it in the menu bar. Fewer background refreshes means slower cache growth.

Conclusion

Discord's multi-layered Electron cache is the main reason the app can quietly consume 10 GB or more on a Mac that has never had its caches cleared. The three folders to target — Cache, Code Cache, and GPUCache — are entirely safe to remove while leaving your account data and settings intact. Whether you prefer to do it manually in Finder, via a Terminal one-liner, or automatically through a tool like Crumb, the process takes under a minute and the space reclaimed is immediate.

Reclaim your disk in one click

Crumb audits your whole Mac, tells you what's safe to delete, and frees the space in seconds — private, local, and Apple-notarized.

Download Crumb for macOS

Frequently asked questions

Is it safe to clear Discord cache on Mac?
Yes. The Cache, Code Cache, and GPUCache folders contain only rebuild artifacts — images, compiled JavaScript, and GPU shaders. Deleting them does not affect your account, messages, servers, or client settings. Discord recreates them automatically on next launch.
Where is the Discord cache on Mac?
For the stable build, Discord's cache lives at ~/Library/Application Support/discord/ — specifically in the Cache, Code Cache, and GPUCache subfolders. PTB and Canary builds use discordptb and discordcanary respectively.
Why is Discord using so much storage on my Mac?
Discord is built on Electron (Chromium), which caches images, avatars, embedded media, compiled JavaScript, and GPU shaders locally. In active servers these caches accumulate over months and are rarely pruned automatically, which is why total usage can exceed 10 GB.
Will clearing Discord cache log me out?
No, as long as you only delete the Cache, Code Cache, and GPUCache folders. Avoid deleting Local Storage, Session Storage, or Preferences — those hold your login token and settings.
How often should I clear Discord cache on Mac?
Every one to two months is a reasonable interval for users in media-heavy servers. If you notice Discord using over a few gigabytes in About This Mac or a disk scanner, that is a good prompt to clear it.