How to Delete Temporary Files on macOS
Remove temp files and system junk left behind by installations and updates.
Last verified: February 21, 2026
macOS temporary files live primarily in ~/Library/Caches (user apps) and /Library/Caches (system services), both hidden from regular Finder navigation unless you use the Go > Go to Folder shortcut (Command + Shift + G). The OS actively manages most of these locations and reclaims space automatically under storage pressure, so manual cleanup is rarely necessary unless you're tracking down a specific misbehaving app whose cache has grown unusually large. Third-party tools like CleanMyMac or the free OnyX can clear multiple cache categories simultaneously with a preview of what will be removed.
Quick Steps
Follow in order for the fastest result.
- 1Open Finder, press Command + Shift + G, type ~/Library/Caches, and delete the contents of cache folders for apps you use.
- 2Also open Disk Cleanup from the Start menu (Windows) or use Storage Recommendations (macOS) for deeper system temp file removal.
- 3Empty the Recycle Bin or Trash after deleting to complete the cleanup.
Still Not Working?
Try these if the steps above didn't help.
- Skip files showing an in-use error during deletion — these release on the next restart.
- Do not delete files in System32, Windows, or macOS system directories.
- Restart before repeating the cleanup to free locked file handles.
Verify the Fix
Confirm everything is fully working before closing this guide.
- Re-check available storage to confirm the amount freed.
- Restart once more to finalise cleanup of any remaining locked temp files.
Frequently Asked Questions
Is it safe to delete temporary files on macOS?
How much space will deleting temp files free on macOS?
Why do temp files come back so quickly after I delete them on macOS?
What is the difference between temp files and junk files on macOS?
Same task, different device
Related guides for macOS
Clear Cache
Remove cached data to fix loading errors and reclaim disk space.
Uninstall Apps
Remove apps you no longer use to free up storage and improve performance.
Take a Screenshot
Capture your full screen or a selected region using built-in shortcuts.
Record Your Screen
Start a native screen recording without installing third-party software.