Skip to content

Discord keeps three caches and every installer it ever downloaded

Discord's cache folders grow quietly and its updater leaves old builds behind. Where both live, and which one is actually worth clearing.

5 min read

Discord is another web app in a native wrapper, and it stores what a browser stores. The difference is the updater: it keeps its downloaded builds, so a Mac that has had Discord for a year or two is often carrying several copies of the app on top of the caches.

Check both halves

du -sh ~/Library/Application\ Support/discord/* 2>/dev/null | sort -h | tail -12

The three cache folders, Cache, Code Cache and GPUCache, are the disposable part. Local Storage and IndexedDB hold state, and clearing them signs you out or resets settings, which is a small cost but not zero.

The old builds

Discord updates by downloading a full new copy rather than patching, and the previous ones are not always cleaned up. Look for version numbered folders alongside the caches. Each one is the size of the whole application, which is why this is usually the bigger number of the two.

Removing an old build folder is safe when the app is not running and the folder is not the current version. If in doubt, the safest sequence is to quit Discord, move the numbered folders to the Trash, launch it once, and confirm it starts normally before emptying.

What clearing costs

FolderEffect of clearing
Cache, Code Cache, GPUCacheSlower first load, nothing else
Local StorageSigns you out, resets some settings
IndexedDBLocal message and emoji data resyncs
Version foldersNothing, unless you removed the running version

Do it in one pass with the others

Every Electron app on the Mac has this shape, so checking them one at a time is wasted effort. Run the same command against the whole folder and read the top of the list:

du -sh ~/Library/Application\ Support/* 2>/dev/null | sort -h | tail -20

On the Mac these numbers were taken from, that list was topped by a browser at 6.3 GB and a development tool at 3.0 GB, well ahead of any chat app. Slack has the same structure, and the general map of where this data lives is your Library folder.

Common questions

Where is the Discord cache on a Mac?

In ~/Library/Application Support/discord, which contains Cache, Code Cache and GPUCache alongside Local Storage and IndexedDB. The first three are disposable, the last two hold your session and local state.

Is it safe to delete Discord's cache?

Yes. The cache folders rebuild themselves and you lose nothing but a slightly slower first load. Clearing Local Storage as well will sign you out, so leave that one alone unless you are troubleshooting.

Why does Discord have several version folders?

Because it updates by downloading a complete new build rather than patching, and the old ones are not always removed. Each folder is roughly the size of the whole app, so on a Mac that has had it installed for a while this is usually larger than the caches.

Does clearing Discord's cache delete my messages?

No. Messages are stored on Discord's servers and the local copies resync when you sign in. Clearing the cache only affects what is stored locally for speed.

Read next