How to Clear Discord Cache on Mac: Step-by-Step Guide
In this article
Clearing the Discord cache on your Mac is a straightforward process that can resolve issues like freezing, lagging, or failure to load images and audio. This action removes temporary local files stored by the application, forcing it to download fresh data from the servers. No special software or administrative privileges are required beyond standard access to your user folder.
What You'll Need
- A Mac running macOS (Intel or Apple Silicon)
- The Discord desktop application installed
- Access to the Finder application
Step-by-Step
- Close Discord Completely: Simply clicking the red "X" button in the top-left corner of the window does not quit the app; it only minimizes it to the background. To ensure no files are locked, right-click the Discord icon in your Dock and select Quit. Alternatively, press Command + Q while Discord is focused. Verify it has closed by checking the Activity Monitor or ensuring the icon disappears from the Dock.
- Open the Go to Folder Menu: Click anywhere on your desktop to ensure the Finder is the active application. In the menu bar at the very top of your screen, click Go. From the dropdown menu, select Go to Folder... (or use the keyboard shortcut Command + Shift + G).
- Navigate to the Library Folder: A dialog box will appear with a text field. Type the following path exactly as shown:
~/Library/Application Support/Discord
Note the tilde (~) at the start, which represents your user home directory. Press Enter or click Go. - Identify the Cache Folders: You will see several folders here. The primary folders you need to clear are Cache, Code Cache, and GPUCache. There may also be a Local Storage folder, but clearing this might reset some local preferences, so proceed with caution if you wish to keep settings intact. For a standard cache clear, focus on the three cache-related folders mentioned above.
- Delete the Cache Files: Select the Cache folder. You can do this by clicking it once to highlight it. Then, press Command + Delete to move it to the Trash. Repeat this process for the Code Cache and GPUCache folders. If you choose to clear Local Storage, delete its contents as well, but be aware this may log you out or reset widget positions.
- Empty the Trash: Right-click the Trash icon in your Dock and select Empty Trash. Confirm the action when prompted. This permanently removes the temporary files from your disk space.
- Restart Discord: Open the Discord application again from your Applications folder or Dock. The app will now rebuild its cache with fresh data from the internet. This initial startup may take slightly longer than usual as it downloads necessary assets.
Common Mistakes
One of the most frequent errors users make is failing to fully quit the Discord application before attempting to delete files. Because Discord runs in the background even when minimized, the operating system locks these cache files. Attempting to delete them while the app is open often results in an error message stating that the file cannot be deleted because it is in use. Always verify the app is completely closed using Command + Q or the Dock menu.
Another common mistake is navigating to the wrong Library folder. Users sometimes go to /Library/Application Support/Discord (without the tilde), which is the system-wide library rather than their personal user library. This location may be empty or contain different files depending on your macOS version. Always use the tilde (~) prefix to target your specific user account's application support folder.
Finally, some users attempt to clear the cache via Discord's internal settings. While Discord does have a "Clear Cache" button in newer versions under User Settings > Advanced, this method is not always reliable or comprehensive. Manually deleting the files via Finder ensures all temporary data, including corrupted image tiles and audio snippets, is removed.
Tips
If you experience persistent issues after clearing the cache, consider restarting your Mac entirely. This clears the system RAM and ensures any lingering processes related to Discord are terminated. A full reboot can often resolve conflicts that simple cache deletion does not fix.
For users who frequently encounter performance issues, creating a bookmark for the ~/Library/Application Support/Discord path in Finder can save time. You can drag the folder into your Finder sidebar for quick access whenever maintenance is needed.
Be mindful of your internet connection speed when restarting Discord after a cache clear. The app will re-download avatars, server icons, and other media. If you are on a metered connection, perform this step during off-peak hours to avoid excessive data usage.
Troubleshooting
Discord crashes immediately upon opening: If the app fails to launch after clearing the cache, the issue may lie within the Local Storage or configuration files rather than the cache itself. Try renaming the Local Storage folder to Local Storage.old instead of deleting it. This allows Discord to create a fresh storage file while keeping a backup if needed. Restart the app to see if it loads.
Files cannot be deleted: If you receive a "Permission Denied" error, ensure you are logged into your Mac account with administrator privileges. Additionally, check if any other applications are accessing Discord data. Restarting your Mac usually resolves permission locks.
Issues persist after clearing cache: If clearing the cache does not solve your problem, try updating Discord to the latest version. Outdated versions may have bugs that manifest as cache corruption. Go to the Discord website or the App Store to download the newest release. If the problem remains, consider reinstalling the application entirely by dragging the current Discord app to the Trash and downloading a fresh copy.
Frequently Asked Questions
Does clearing the Discord cache delete my messages or login info?
No. Clearing the cache only removes temporary local files like images, audio, and video thumbnails. Your chat history, friends list, and login credentials are stored securely on Discord's servers and sync automatically when you reopen the app. You will not be logged out unless you specifically delete the Local Storage folder, which is optional.
Why is my Discord cache so large?
Discord stores cached data for every server you join, including server icons, channel avatars, uploaded images, and voice/video call artifacts. Over time, especially in servers with heavy media usage, these files accumulate. Regularly clearing the cache helps manage disk space and prevents corruption.
Can I clear the cache without closing Discord?
No. You must close the application completely to delete the cache files. If Discord is running, the files are locked by the operating system, and any attempt to delete them will fail. Use Command + Q to quit the app properly.
Is there a way to automate cache clearing on Mac?
Discord does not offer an automated cache clearing feature. However, you can use third-party cleaning utilities like CleanMyMac or OnyX to schedule regular cleanup of application caches. Alternatively, you can create a simple Automator script to delete the contents of the Discord cache folder, though manual deletion is generally safer and more controlled.
Does clearing the cache improve Discord's performance?
Yes, if your Discord is experiencing lag, freezing, or failing to load media. Corrupted cache files can cause these issues. Removing them forces the app to fetch fresh, uncorrupted data, which often restores normal functionality. However, if performance issues are due to hardware limitations or network problems, clearing the cache may have little effect.