How to Clear Discord Cache on Windows 10
In this article
Clearing the Discord cache on Windows 10 resolves issues like frozen screens, failed voice connections, and slow loading times by deleting corrupted local data. You do not need any special software; simply closing the app and navigating your file explorer is all that is required.
What You'll Need
- A Windows 10 PC with Discord installed
- Access to the File Explorer (Windows Key + E)
- The Discord application must be fully closed
Step-by-Step
- Quit Discord Completely: Right-click the Discord icon in your system tray (bottom right corner of the taskbar) and select "Quit Discord." Do not just close the window; ensure it is not running in the background. If you are unsure, open Task Manager (Ctrl + Shift + Esc), find "Discord" in the list, right-click it, and choose "End Task."
- Open the Run Dialog: Press the
Windows Key + Ron your keyboard simultaneously. This opens the small "Run" command box. - Navigate to App Data: In the Run box, type
%appdata%and press Enter. This will open a folder named "Roaming," which contains settings for many applications. - Locate the Discord Folder: In the address bar at the top of the File Explorer window, click once to highlight the current path. Type
%appdata%\discordand press Enter. Alternatively, scroll down in the Roaming folder until you see a folder named "discord" and double-click it. - Identify Cache Folders: Inside the Discord folder, you will see several subfolders. The most critical ones for clearing cache are:
- Cache: Stores temporary images, icons, and media files.
- Code Cache: Stores compiled JavaScript code used for the interface.
- GPUCache: Stores graphics-related data to speed up rendering.
- Delete the Contents: Select all three folders (Cache, Code Cache, and GPUCache). You can do this by holding Ctrl and clicking each one, or pressing
Ctrl + Ato select all items in the folder. Press theDeletekey on your keyboard. Confirm any prompts to move these files to the Recycle Bin. - Restart Discord: Open Discord normally from your desktop shortcut or Start menu. The application will automatically rebuild these cache folders with fresh, uncorrupted data. This may take a few seconds longer than usual upon first launch.
Common Mistakes
The most frequent error users make is failing to fully quit Discord before deleting the files. Because Discord runs as a background process even when minimized, Windows will prevent you from deleting active cache files, resulting in an "Access Denied" error. Always verify the app is closed via the system tray or Task Manager.
Another mistake is deleting the entire "discord" folder instead of just the cache subfolders. While this fixes cache issues, it also deletes your saved login tokens and some local preferences, forcing you to log in again and potentially losing quick-access settings. Stick to deleting only the specific cache folders mentioned above.
Users sometimes confuse the "AppData" folder with "LocalAppData." While Discord does have a presence in both, the primary configuration and cache data for the main client resides in %appdata%. Deleting files in %localappdata% is generally unnecessary for standard cache clearing and may remove other user-specific configurations.
Tips
If you experience persistent freezing or graphical glitches, consider disabling hardware acceleration within Discord. Go to User Settings (gear icon) > Advanced > turn off "Hardware Acceleration." This reduces reliance on the GPU cache, though it may increase CPU usage slightly.
For users who frequently encounter cache corruption, enabling "Use Old Voice API" in Voice & Video settings can sometimes bypass specific codec caching issues, although this feature has been deprecated in newer versions. Instead, ensure your audio drivers are updated regularly.
You can automate this process by creating a simple batch script if you clear the cache often. Create a text file, paste the deletion commands for the three folders, save it as clear_discord_cache.bat, and run it as administrator when needed. However, manual deletion is safer for occasional use to prevent accidental data loss.
Troubleshooting
If Discord still crashes after clearing the cache, try resetting the application settings. Navigate to %appdata%\discord again, but this time delete the entire "discord" folder contents except for the "config" folder (which stores your account token). Restarting Discord will prompt you to log in again, effectively performing a clean slate reset.
If the issue persists, check for Windows updates. Outdated system libraries can cause conflicts with Discord's rendering engine. Go to Settings > Update & Security > Windows Update and install any pending patches.
Ensure no antivirus software is blocking Discord from recreating its cache folders. Temporarily disable real-time protection to test if this is the cause, then add Discord to your antivirus exclusion list if necessary.
If you cannot access the %appdata% folder, ensure your Windows user account has administrative privileges. Standard user accounts may have restricted access to certain system directories.
Frequently Asked Questions
Will clearing the cache log me out?
No. Clearing the Cache, Code Cache, and GPUCache folders does not delete your login credentials or session tokens. You will remain logged in. Only if you delete the entire discord folder or the config.json file will you be logged out.
Does this fix voice chat issues?
Often, yes. Corrupted voice cache data is a common cause of static, echo, or connection failures. Clearing the cache forces Discord to re-download fresh voice codecs and settings, which usually resolves these problems.
How often should I clear the cache?
Only when you experience technical issues such as freezing, black screens, or slow performance. There is no benefit to clearing it routinely if the app is functioning correctly. It consumes disk space temporarily and rebuilds quickly.
Can I clear the cache without closing Discord?
No. Windows locks active files, preventing deletion. You must quit the application completely via the system tray or Task Manager before the delete operation will succeed.
Does this delete my messages or friends?
No. Your messages, friend lists, server memberships, and direct message history are stored on Discord's servers, not in your local cache. Clearing the cache only affects temporary local files used for display and performance.