Where the gigabytes actually are
Discord on Windows is an Electron app, and like every Electron app it keeps its junk inside %APPDATA%\. The Cache folder is the big one: a Chromium disk cache holding every embedded image, GIF and video preview you have ever scrolled past, stored as thousands of numbered files. Code Cache holds compiled copies of Discord's own JavaScript, GPUCache holds shaders for the interface — both are rebuilt on demand.
No setting in the app caps any of it, so months of active use on big servers routinely leave 2–5 GB behind. Updates add their own leftovers: after a failed or interrupted update, %LOCALAPPDATA%\Discord can end up holding two app-x.y.z version folders of a few hundred megabytes each, and nothing removes the orphan automatically.
- %APPDATA%\discord\Cache — Chromium's disk cache of embedded media: the item worth gigabytes
- %APPDATA%\discord\Code Cache — compiled JavaScript, rebuilt on the next launch
- %APPDATA%\discord\GPUCache — cached shaders for the interface
- %LOCALAPPDATA%\Discord\app-x.y.z — orphaned old version folders after a broken update
- Local Storage, Cookies and IndexedDB — leave them alone: login and local settings live here
Clearing it without logging out
Recent Discord builds have a built-in path: Settings → Advanced → Clear Cache wipes the disk cache in one click. If your build doesn't offer it yet, do the same by hand. Quit Discord from the tray icon, confirm in Task Manager that no Discord process is left running, then delete the Cache, Code Cache and GPUCache folders in %APPDATA%\discord.
On the next launch the app rebuilds what it needs and logs in as usual, because your session lives in Cookies and Local Storage, which you did not touch. The difference is immediate: an empty cache starts at zero and re-caches only what you actually open, which is the honest definition of a cache. Kleaner PRO's junk scan covers these same folders, so a monthly pass keeps Discord at a few hundred megabytes without the manual ritual.
Keeping it from growing back
A cache cleared once is a cache that grows back, so the real fix is rhythm rather than a one-off purge. Check %LOCALAPPDATA%\Discord after every update and delete any old app-x.y.z folder that is not the current version. And if you use Discord mostly as a text chat, the browser version keeps its cache inside the browser, where you already manage it alongside everything else.
When a folder that should be a few hundred megabytes suddenly isn't, measure before deleting: right-click Properties on %APPDATA%\discord tells you in ten seconds whether Cache is the culprit or something else. Nuking the whole profile folder is how people lose their local settings — and it buys nothing that targeted cleanup doesn't already give you.
Questions and Answers
Is it safe to delete Discord's cache folder?
Yes. Discord rebuilds Cache, Code Cache and GPUCache automatically on the next launch; only avoid Local Storage, Cookies and IndexedDB, which hold your login and settings.
Will clearing the Discord cache log me out?
No, as long as you clear only the cache folders. You get logged out only if Local Storage or Cookies are deleted along with them.
Know what is included before you buy.
The one-time 30-minute trial covers core tools. PRO-labelled features stay locked until a paid license is activated.
Read next
Write to us: [email protected]