How to Delete All Discord Files: Clear Cache & Data
In this article
Discord does not store files in a single folder that can be deleted with one click. Instead, it caches images, emojis, and voice data across multiple system directories. To achieve a clean slate, you must manually clear the application cache and, if necessary, reset the app data entirely. This process frees up disk space and resolves corruption issues without deleting your account or server memberships.
What You'll Need
- A Windows PC, Mac, or Linux device running the official Discord desktop application.
- Administrative access to your computer to modify hidden system folders.
- The Discord app closed completely (check the system tray/taskbar).
Step-by-Step
- Close Discord Completely: Right-click the Discord icon in your system tray (Windows) or menu bar (Mac) and select "Quit." Ensure it is not running in the background, as open files cannot be deleted.
- Open the App Directory: Press
Win + Ron Windows orCmd + Shift + Gon Mac to open the run/command dialog. Type the appropriate path for your operating system below and press Enter.- Windows:
%appdata% - Mac:
~/Library/Application Support - Linux:
~/.config
- Windows:
- Navigate to Discord: In the folder that opens, locate and enter the folder named
Discord. Inside this folder, you will see several subfolders includingCache,Code Cache,GPUCache, andLocal Storage. - Delete Cache Files: Select all files within the
Cache,Code Cache, andGPU Cachefolders. Delete them. These contain temporary images, web content, and UI assets. Do not delete the folders themselves, only their contents. - Clear Local Storage (Optional but Recommended): Navigate to the
Local Storagefolder. You may find files here related to your login state or local database. Deleting these will log you out of the app but will not delete your account. Select all contents and delete them. - Restart Discord: Launch the application again. It will rebuild its cache from scratch, which often fixes loading errors and frees up significant storage space.
If you wish to remove all user-specific data including settings, friends lists, and server preferences, you must perform a full app data reset. On Windows, go to %appdata%, delete the entire Discord folder, and then reinstall the app. On Mac, delete the Discord folder in ~/Library/Application Support. Note that this action logs you out and removes local configurations; your account data remains safe on Discord's servers.
Common Mistakes
- Deleting the Account Instead of Cache: Users often confuse clearing local files with deleting their Discord account. Deleting the local cache or app data does not delete your account, servers, or messages. Only the "Delete Account" option in Settings > My Account performs that irreversible action.
- Leaving Discord Open: Attempting to delete cache files while the app is running results in "Access Denied" errors because the operating system locks those files. Always quit the app first.
- Deleting the Main Folder Incorrectly: When resetting app data, ensure you are deleting the correct directory. On Windows,
%localappdata%contains some Discord components, but%appdata%holds the primary user data. Mixing these up can lead to incomplete cleans.
Tips
- Regular Maintenance: Discord cache can grow large over time. Clearing it every few months helps maintain performance.
- Use Built-in Cleanup: If you just want to free up space without technical steps, go to User Settings > Appearance > Scroll down to "Clear Cache" and click the button. This is safer and easier than manual deletion.
- Backup Settings: Before deleting the entire Discord folder for a full reset, consider taking screenshots of your key settings or friend list, as local preferences will be lost.
Troubleshooting
If Discord fails to launch after deleting files, the installation may be corrupted. Re-download the latest version from discord.com and install it fresh. If specific images or emojis fail to load, they will re-download automatically when you view them again. If the app crashes repeatedly, try moving the Discord folder to a different location or renaming it temporarily to force a complete rebuild upon next launch.
Frequently Asked Questions
Will deleting cache delete my messages?
No. Messages are stored on Discord's servers. Deleting local cache only removes temporary copies needed for fast loading.
How do I clear cache on mobile?
On Android, go to Settings > Apps > Discord > Storage > Clear Cache. On iOS, you must uninstall and reinstall the app to clear all data.
Is it safe to delete the Local Storage folder?
Yes. It only stores local session tokens and minor preferences. You will simply need to log in again.
Why is my Discord folder so large?
It accumulates cached images, emojis, and voice chat recordings. Regularly clearing the Cache folder keeps it small.
Can I automate this process?
Discord does not have an auto-delete feature. You must use the built-in "Clear Cache" button or manual deletion periodically.