This guide explains how to free up disk space on a Mac by identifying the largest storage consumers, clearing system caches and logs, and removing unnecessary files. You will learn the built-in tools and safe manual methods to reclaim space without deleting anything important.
Why Macs Run Out of Space
macOS and modern applications are storage-hungry. The operating system itself takes 15–30 GB, and apps like Xcode, Final Cut Pro, or Adobe Creative Suite can each use 10–50 GB. Over time, caches, logs, temporary files, and old versions of apps accumulate. The “Other� category in About This Mac often grows because it includes caches, app support files, disk images, and virtual machine files. On laptops with 128–256 GB SSDs, this can fill up quickly, causing slowdowns and failed updates.
Check Your Storage Breakdown
To see what is using space, click the Apple menu → System Settings → General → Storage. The bar shows categories: Applications, Documents, macOS, System Data, and Others. Click the “i� next to each category to see recommendations. For a more detailed view, use a third-party tool like DaisyDisk or OmniDiskSweeper, which scan your drive and display a visual map of large files and folders. These tools are read-only, so you can inspect before deleting anything.
Built-in Cleanup Tools
macOS includes several tools that can safely remove unnecessary files:
- Optimize Storage: In Storage settings, this automatically removes watched movies and TV shows from Apple TV, keeps only recent email attachments, and can offload unused apps (the app icon remains, but its data is deleted).
- Empty Trash Automatically: This deletes items in the Trash after 30 days. Enable it in Storage settings.
- Reduce Clutter: The Storage settings also show large files, downloads, and unsupported apps. Review these lists and delete what you don’t need.
- Storage Management for Photos: If you use iCloud Photos, you can choose to keep only optimized versions on your Mac, storing full-resolution originals in iCloud.
Manual Cleanup: Caches, Logs, and Temporary Files
For deeper cleanup, you can manually delete system and user caches. These are safe to remove because macOS will recreate them as needed.
- Open Finder and press Cmd+Shift+G to “Go to Folder�.
- Type
~/Library/Cachesto open your user cache folder. Sort by size (View → as List, then click the “Size� column). Delete the largest folders, but avoid deleting the folder itself—only its contents. For example, deletecom.apple.Safaricontents, but keep the folder. - For system caches, go to
/Library/Caches(requires admin password). Be more cautious here; only remove items you recognize as temporary, like browser caches or app update downloads. - Logs are in
~/Library/Logsand/Library/Logs. These are plain text files that can be deleted if you don’t need them for troubleshooting. - Temporary files are in
/private/var/tmpand/tmp. You can clear these, but they are usually small.
Always quit apps before deleting their caches. If an app is running, it may recreate the files immediately or become unstable.
Remove Unused Applications and Their Leftovers
Dragging an app to the Trash does not remove its support files, caches, or preferences. To fully uninstall, use a dedicated uninstaller or manually delete related files in ~/Library/Application Support, ~/Library/Preferences, and ~/Library/Caches. For example, if you delete Adobe Photoshop, you should also remove ~/Library/Application Support/Adobe and ~/Library/Preferences/com.adobe.Photoshop.plist. This can free up several gigabytes per app.
Deal with Large Files and Duplicates
Large media files, disk images (DMG), and old backups often hide in plain sight. Use Finder’s search: press Cmd+F, choose “File Size� in the first dropdown, and set it to “greater than� 1 GB. Review the results and delete what you no longer need. For duplicates, especially photos, use a dedicated duplicate finder app or manually compare file sizes and dates. Be careful with Time Machine local snapshots—they can consume a lot of space. To delete them, open Time Machine settings and turn off automatic backups temporarily, or use the command tmutil listlocalsnapshots / and tmutil deletelocalsnapshots in Terminal.
Optimize Developer Tools and Virtual Machines
Developers often have large toolchains that eat disk space:
- Xcode: Remove old iOS device support files (
~/Library/Developer/Xcode/iOS DeviceSupport) and old simulator runtimes (Xcode → Preferences → Components). - Docker: Run
docker system prune -ato remove unused images, containers, and volumes. - Homebrew: Run
brew cleanupto remove old versions of packages. - Node.js: Clear the npm cache with
npm cache clean --force. - Virtual Machines: Delete old VM snapshots and shut down VMs to shrink their disk images.
Frequently Asked Questions
Is it safe to delete files in ~/Library/Caches?
Yes, generally. Caches are meant to be disposable. macOS and apps recreate them as needed. However, deleting caches may make apps slower the first time they launch, and some apps might reset their state (e.g., login items). Always quit the app first and avoid deleting the folder itself—just its contents.
Why is “System Data� so large?
System Data (formerly “Other�) includes caches, logs, temporary files, Time Machine local snapshots, app support files, and virtual memory. It can grow to tens of gigabytes. Use a tool like DaisyDisk to see exactly what’s inside. Clearing caches and old snapshots usually reduces it.
How do I clear Time Machine local snapshots?
Open Terminal and run tmutil listlocalsnapshots / to see them, then tmutil deletelocalsnapshots / to delete all. Alternatively, turn off automatic backups in Time Machine settings for a while; macOS will eventually purge the snapshots.
Will deleting caches break my apps?
No, but it can cause temporary slowness or require you to log in again to some apps. Caches are not essential data. If an app behaves oddly after clearing, restart it or reinstall it.
What is the safest way to find large files?
Use Finder’s search with “File Size� greater than 1 GB, or a disk space analyzer like DaisyDisk. These tools only show files; they don’t delete anything unless you tell them to. Always review before deleting.
Can I move files to an external drive instead of deleting?
Yes. Moving large media files, old projects, or rarely used apps to an external drive is a safe way to free space without losing data. Just make sure the external drive is formatted for Mac (APFS or HFS+) and keep it backed up.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- DisplayPort vs HDMI: Which Cable Should You Use?
- Soundbar vs 2.1 Speaker System: Which Is Better?
- Mouse Moving on Its Own? Causes & Fixes
- Slack Channels for Construction Projects: Setup Guide
- Surface Won’t Turn On: Quick Fixes1.8 h
- Survive Lava for Brainrot Tier List170 points