How to Clear the Cache on a Mac

The Storage Reclamation Vector

The macOS operating system is engineered to constantly generate temporary “cache” files—storing website images, software update payloads, and application states—to ensure applications launch instantly. However, over several months, this hidden cache directory can easily bloat to ten or twenty gigabytes. If a specific cache file becomes corrupted, the associated application will crash continuously. You must forcefully dump this temporary data, compelling the operating system to rebuild the cache architecture from scratch.

How to Clear the Cache

Apple intentionally hides the primary Library folder containing these files to prevent accidental deletion. You must use a specific navigation command to bypass this restriction.

1. Crucial Preparation: Before deleting system files, you must save your work and completely quit out of any active, heavy applications (like video editors or web browsers).
2. Open the Finder (click the smiling blue face icon in your Dock).
3. Look at the absolute top of your Mac’s screen to the primary menu bar. Click on the word Go.
4. The Hidden Directory Bypass: Scroll down the dropdown menu and select Go to Folder… (or press Command + Shift + G).
5. A search bar will appear in the center of your screen. Type the following path exactly as written (including the tilde symbol at the beginning):

~/Library/Caches

6. Press Enter.
7. The Purge Execution: You are now inside the master cache directory. You will see dozens of folders with complex names (e.g., `com.apple.Safari`).
* Press Command + A to highlight absolutely everything in this folder.
* Press Command + Delete to throw all the files into the Trash.
8. A security prompt will likely appear because you are modifying system-level data. Enter your Mac login password (or use Touch ID) to authorize the deletion.
9. Empty your Trash immediately, then restart your Mac to allow the kernel to cleanly rebuild the necessary temporary files.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.