Sweepfor Mac

Free up storage

How to Clear Discord's Cache on Mac

Discord's cache on Mac can swallow 1-2GB without warning. Here's where it lives and how to clear it without losing your servers or settings.

6 min read

Discord is sneaky. It sits in the dock looking innocent while quietly stockpiling every emoji, GIF, and voice channel artifact it’s ever rendered. After 18 months of moderate use, my Discord cache hit 1.7GB. Yours is probably similar.

Clearing it is a two-minute job once you know where to look. Here’s the rundown for macOS Sonoma 14 and Sequoia 15.

Where Discord stashes its cache

All of Discord’s local data lives under ~/Library/Application Support/discord/. The folders that matter for cache cleanup:

  • ~/Library/Application Support/discord/Cache — primary HTTP cache
  • ~/Library/Application Support/discord/Code Cache — compiled JavaScript
  • ~/Library/Application Support/discord/GPUCache — GPU shader data
  • ~/Library/Application Support/discord/Service Worker/CacheStorage — embedded media and assets

There’s also a smaller cache at ~/Library/Caches/com.hnc.Discord and another at ~/Library/Application Support/discord/blob_storage if you’ve been using voice and video heavily.

If you’re running Discord PTB or Canary, replace discord with discordptb or discordcanary in those paths.

The fast manual clear

  1. Quit Discord completely (Cmd+Q, then check Activity Monitor — Discord likes to leave helper processes running).
  2. Open Finder.
  3. Press Cmd+Shift+G and paste ~/Library/Application Support/discord/.
  4. Move these folders to the Trash: Cache, Code Cache, GPUCache, Service Worker.
  5. Empty the Trash.
  6. Reopen Discord.

That’s the whole thing. You’ll lose nothing — Discord will repopulate the folders automatically as you use it. Server icons, custom emoji, and recent images will reload from Discord’s CDN the first time you see them.

Tip: Don't delete the `Local Storage` or `IndexedDB` folders. Those hold your login session and message draft state. Removing them logs you out and can cause other minor weirdness.

Using Terminal if you prefer

If you like Terminal, this works:

quit Discord first
rm -rf ~/Library/Application\ Support/discord/Cache
rm -rf ~/Library/Application\ Support/discord/Code\ Cache
rm -rf ~/Library/Application\ Support/discord/GPUCache
rm -rf ~/Library/Application\ Support/discord/Service\ Worker

Same result. Use whichever you’re comfortable with.

Don’t dig through ~/Library yourselfSweep knows where every app stores its cache. Free download for Mac →

Why Discord’s cache grows so fast

A few culprits:

  • GIFs are sticky. Every Tenor and Giphy embed gets cached. In a meme-heavy server, this adds up fast.
  • Voice and video. Voice channel sessions write blob storage that doesn’t always clean itself up.
  • Custom emoji. Each unique emoji from each server you’re in is cached locally.
  • Rich embeds. Twitter, YouTube, and link previews cache thumbnails and metadata indefinitely.

If you’re in 30+ servers with active voice channels, expect 2GB+ of cache after a year. If you mostly text in three servers, you’ll see a few hundred MB.

What clearing the cache does and doesn’t do

Does:

  • Free up 500MB to 2GB+ of disk space
  • Sometimes fix laggy server switching
  • Sometimes fix images that won’t load
  • Reset GPU cache, which can resolve weird visual glitches

Doesn’t:

  • Log you out (your auth token lives in Local Storage, which we left alone)
  • Delete your message history (that’s on Discord’s servers, not yours)
  • Remove your DMs, friends list, or server memberships
  • Reset your settings, themes, or keybinds

When manual is fine, when it isn’t

For one app, doing this by hand is fine. The folders are easy to find, the work takes two minutes, and you’re done.

The annoying part is that every Electron-based app on your Mac has the same problem in a different folder:

  • Slack lives in ~/Library/Application Support/Slack/
  • Microsoft Teams hides in ~/Library/Containers/com.microsoft.teams2/
  • Notion is at ~/Library/Application Support/Notion/
  • WhatsApp Desktop is at ~/Library/Group Containers/group.net.whatsapp.WhatsApp.shared/

If your Mac has a few of these installed, you’re looking at 5–10GB of cache scattered across folders most people don’t know exist.

There’s a faster waySweep finds and clears caches across every app you use, all at once. Try Sweep free →

What if Discord won’t open after clearing?

Rare, but it happens. If Discord launches to a blank screen or refuses to load:

  1. Force quit Discord (Cmd+Option+Esc → select Discord → Force Quit).
  2. Hold Shift while opening Discord — this forces a fresh window.
  3. If still broken, delete ~/Library/Application Support/discord/Local State and try again.

If none of that works, the nuclear option is removing the entire ~/Library/Application Support/discord/ folder, which logs you out completely. Sign back in and you’re fresh.

How often is worth doing?

Once or twice a year for most users. The caches don’t grow linearly forever — they hit a soft ceiling and Discord starts evicting old entries. But “soft ceiling” still means 1–2GB sitting on your SSD.

If your Mac storage is tight or Discord feels sluggish, do it now. If you’ve got plenty of space and the app runs fine, don’t bother.

Worth automating?

Doing this once is fine. Doing it across Discord, Slack, Spotify, Chrome, Firefox, Zoom, and whatever else lives on your Mac every few months is a chore. Sweep handles all of those in a single pass — scans the actual cache directories, shows you what it found, and clears it once you give the go-ahead. Free download, no signup needed to try it.

For Discord alone, manual is totally fine. For maintaining a full Mac, automating saves real time.

← Back to all guides