User Agents

Web browsers and everyday web tech, explained

How to Clear Discord Cache on PC (2025 Guide)

· 5 min read · Cookies and Cache

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing the Discord cache on your PC can fix a range of issues, from slow startup and laggy voice chat to broken images and files not downloading. The cache is a folder of temporary files Discord stores locally to speed up loading, but over time it can become corrupted or bloated. This guide walks you through the safe, official way to clear it—no third-party tools needed.

What You'll Need

  • Your Windows or macOS PC with Discord installed.
  • Administrator access to your user account (you should be able to delete files in your own user folder).
  • About 5–10 minutes of free time.

Step-by-Step

  1. Close Discord completely. Right-click the Discord icon in the system tray (bottom-right near the clock) and choose Quit Discord. Do not just close the window—that leaves Discord running in the background.
  2. Open File Explorer. Press Win + E on Windows, or open Finder on macOS.
  3. Navigate to the Discord cache folder. The path depends on your operating system:
    • Windows: Press Win + R, type %appdata%\discord and press Enter. This opens the Discord data folder directly.
    • macOS: In Finder, press Cmd + Shift + G, type ~/Library/Application Support/discord and press Enter.
  4. Locate the cache subfolders. Inside the Discord folder, you’ll see several subfolders: Cache, Code Cache, and GPUCache. These are the ones you want to clear.
  5. Delete the contents of each cache folder. Open each folder (Cache, Code Cache, GPUCache) and select everything inside (press Ctrl + A on Windows, Cmd + A on macOS), then press Delete. You can also right-click and choose Delete. Do not delete the folders themselves—only the files inside them.
  6. Empty the Recycle Bin (optional). If you want to free up disk space immediately, right-click the Recycle Bin and choose Empty Recycle Bin.
  7. Restart Discord. Launch Discord normally. It will recreate the cache folders automatically. The first launch may take a few seconds longer as it rebuilds the cache.

Common Mistakes

  • Deleting the entire Discord folder. This removes your settings, login tokens, and even your downloaded themes. Only delete the contents of the three cache subfolders, not the whole discord folder.
  • Not closing Discord first. If Discord is still running, it may lock the cache files, and Windows will show an error like “File in use.” Always quit Discord completely from the system tray.
  • Deleting the wrong folder. Some users accidentally delete the discord folder under %appdata% instead of the Cache subfolder. Double-check the path.
  • Using third-party “cache cleaner” tools. These are unnecessary and can remove unrelated files or cause permission issues. The manual method above is safe and free.

Tips

  • Clear cache regularly. If you use Discord daily, clearing the cache once a month can prevent slowdowns and storage bloat.
  • Check disk space after clearing. The cache can grow to hundreds of megabytes, especially if you send/receive many images or GIFs.
  • Use the built-in “Clear Cache” option (if available). Some Discord versions have a Settings → Advanced → Clear Cache button. It does the same thing but is even easier. If you don’t see it, use the manual method.
  • Keep your login credentials handy. Clearing the cache does not log you out, but if you ever delete the whole Discord folder, you’ll need to log in again.

Troubleshooting

  • “File in use” error when deleting. This means Discord is still running. Check the system tray for the Discord icon, right-click it, and choose Quit. If it still appears, open Task Manager (Ctrl+Shift+Esc), find Discord in Processes, select it, and click End Task.
  • Cache folders don’t exist. If you don’t see Cache or Code Cache, it’s possible Discord hasn’t created them yet, or you’re in the wrong location. Re-verify the path: %appdata%\discord on Windows, ~/Library/Application Support/discord on macOS.
  • Discord still runs slowly after clearing. The cache might not be the issue. Try restarting your PC, updating Discord (Settings → About → Check for Updates), or reinstalling Discord as a last resort.
  • Cleared cache but images still won’t load. This can be a network issue or a corrupted local file. Try switching to a different voice/text channel, or restart your router.
  • You accidentally deleted the entire Discord folder. Don’t panic. Reinstall Discord from the official website. Your account data is stored on Discord’s servers, so you won’t lose your messages or friends. You’ll just need to log in again and reconfigure your settings.

Frequently Asked Questions

Will clearing the cache log me out of Discord?

No. Clearing the cache only removes temporary files like images and sounds. Your login token and account settings are stored in a separate file called Local Storage or leveldb, which you are not touching.

Does clearing the cache delete my messages or friends?

No. All your messages, friends, and server data are stored on Discord’s servers. Clearing the cache only removes local copies of images, GIFs, and other temporary data.

How often should I clear the Discord cache?

There’s no strict rule, but if Discord feels sluggish or you notice your disk space shrinking, clearing it once a month is a good habit. Heavy users might do it weekly.

Will clearing the cache speed up Discord?

Often yes, especially if the cache was corrupted or overly large. It forces Discord to re-download fresh files, which can resolve lag and display issues.

Is it safe to delete the cache files while Discord is updating?

It’s best to wait until the update finishes. If you delete cache files during an update, Discord might get confused and fail to launch. Close Discord, clear the cache, then relaunch.

Does clearing the cache on PC affect Discord on my phone?

No. The cache is stored locally on each device. Clearing it on your PC only affects your PC installation.