How to Free Up Space on Mac — Fast, Safe & Complete Guide
Short summary: Practical techniques to free up storage on Mac, remove unwanted files, clear caches and snapshots, and prevent reappearance. Includes safe Terminal commands, built-in macOS tools, and recommended utilities.
Quick wins: immediate space recovery (5–15 minutes)
Start by targeting the low-effort, high-impact items that typically consume the most space: Downloads, Large files, Mail attachments, and the Trash. These places often accumulate gigabytes without you noticing. Doing a quick sweep here often frees enough space to breathe again and avoids risky system changes.
Open Finder and use a Size search (File → Find, then set Kind = Any and Size > 100 MB) or create a Smart Folder to list large files. Empty your Trash and check Mail.app for large attachments you can delete or re-download from the cloud when needed.
If you prefer a one-click route, macOS has a built-in Storage Management (Apple menu → About This Mac → Storage → Manage) that surfaces large files and unused apps. It suggests moving items to iCloud, optimizing storage, and identifying large files so you can decide what to remove.
- Top immediate actions: Empty Trash, remove old installers from Downloads, delete large unneeded movies and disk images (.dmg/.iso), clear Mail attachments.
- Tip: Sort by Last Opened to find old files worth deleting or archiving to an external drive.
Deep cleanup: reclaim hidden and system space safely
Large “Other” or “System” storage values are often the result of caches, local Time Machine snapshots, iOS backups, and app caches (Xcode, Docker, browsers). Don’t start deleting random files from /Library or /System—use targeted, safe actions instead.
To list local Time Machine snapshots and remove them, use Terminal commands: tmutil listlocalsnapshots / to view and sudo tmutil deletelocalsnapshots YYYY-MM-DD-HHMMSS to delete. This is safe and instantly reduces the “System” storage footprint. For macOS versions that maintain purgeable space, the system will free it automatically, but explicitly removing snapshots is sometimes necessary.
For developer and container environments, run app-specific cleanups: brew cleanup for Homebrew, docker system prune -a (confirm first) for Docker images and volumes, and clear Xcode DerivedData via Xcode → Preferences → Locations or manually remove the DerivedData folder.
Caches, logs and safe manual deletes
Application caches can be safely cleared in most cases, but do it deliberately. User caches live in ~/Library/Caches/. Remove only obvious large caches (for example, old browser cache folders or corrupt app caches); excessive deletion may cause apps to re-download data, which temporarily uses bandwidth but not long-term storage.
System logs and crash reports are in /var/log and ~/Library/Logs. Delete only aged, large files. On modern macOS, Onyx or CleanMyMac X can automate cache pruning—Onyx is free and good for maintenance tasks; paid utilities offer a more guided UI but are not required.
Always create a Time Machine backup before mass-deleting system-level files. If you need to delete caches safely without hunting files, use the app-provided reset or clear-history options where available. For browsers, use built-in settings to clear cache, site data, and large downloads.
Large and hidden files: find and act
To find what actually consumes space, use these commands or tools: du -sh ~/* to see folder sizes in your home directory, or use GUI visualizers like DaisyDisk or GrandPerspective to map disk usage visually. These tools immediately show the largest files and folders so you can prioritize deletions.
Inspect these common culprits: iOS backups in ~/Library/Application Support/MobileSync/Backup, sparse disk images (.sparseimage), old virtual machines (Parallels, VMware), and .vdi/.vmdk files. Move rarely-used virtual disks to external storage if you keep VMs for archival reasons.
Be cautious with files inside /private and /usr—don’t remove system binaries. If you find very large, unfamiliar files, check file type and origin before deleting. A good pattern: move suspect files to a temporary folder, verify system stability for 24–48 hours, then empty the temporary folder.
Automation and prevention: keep your Mac lean
Use macOS features to prevent re-accumulation: Enable Optimize Storage and Store in iCloud for Desktop and Documents if you have iCloud space. Turn on “Empty Trash Automatically” and set Messages to delete older attachments. These settings reduce manual maintenance and are recommended for most users.
For ongoing control, set up a monthly review: run a Smart Folder to find files >100 MB, audit big applications, and remove old device backups. If you work with media or large datasets, consider a two-tier storage plan: local fast SSD for active projects and an external or network drive for archives.
Finally, script routine cleanups for power users. Small, safe scripts can rotate logs, remove old local snapshots, and run brew cleanup. Keep scripts documented and always test them on non-critical machines first.
Recommended tools and when to use them
There are a few reliable utilities that speed up diagnosis and cleanup without guessing:
- DaisyDisk (visual map of disk usage) — good for quick identification of large files.
- GrandPerspective / OmniDiskSweeper — free or low-cost for listing files by size.
- Onyx — free maintenance tool for cache, preferences, and system cleaning tasks.
Use paid utilities like CleanMyMac only if you want a guided interface and subscription support; otherwise, the built-in Storage Management and the command line cover all essential tasks. If you want a curated script collection for routine cleanup, you can find a practical repo with step-by-step scripts here: free up space on Mac.
For official guidance on managing storage, consult Apple’s documentation: Apple Support — Manage storage on your Mac.
Quick reference commands (use with care)
Copy these to Terminal when instructed; some require sudo and will prompt for your password. Never run commands from unknown sources.
# List local Time Machine snapshots tmutil listlocalsnapshots / # Remove a specific snapshot sudo tmutil deletelocalsnapshots 2023-07-01-123456 # Show top-level folder sizes in home du -sh ~/* | sort -hr | head -n 30 # Homebrew cleanup brew cleanup # Docker prune (removes images, containers, volumes) docker system prune -a
These commands reveal where space is going and let you remove big items in a controlled way. If a command or path is unclear, ask before running it.
When to consider larger fixes
If you consistently run out of space, the right long-term solutions are hardware or architectural: upgrade to a larger internal SSD (if your Mac model supports it), use a fast external SSD for active projects, or move large media libraries to network-attached storage (NAS).
For laptops with soldered storage (many modern MacBooks), external SSDs are the practical choice. Use Thunderbolt or USB-C NVMe enclosures for performance that’s very close to internal drives.
Finally, if Storage shows a very large “System Data” and you can’t identify the culprit, consider a reinstall of macOS after a verified backup. Reinstalling clears accumulated cruft but should be a last resort when simple cleanups fail.
Popular user questions (survey of common queries)
The following questions are frequently asked by Mac users searching for how to clear up disk space:
- How do I free up space on my Mac without deleting files?
- What is purgeable storage and how do I remove it?
- How to delete local Time Machine snapshots?
- Where are iPhone backups stored and how can I delete them?
- How do I clear system storage on Mac?
- How do I delete cache files safely on macOS?
- How to find and remove large hidden files on Mac?
- Can I safely delete app language files to free space?
- How to clear Docker and Xcode caches?
- Best tools to visualize disk usage on macOS?
Selected FAQ (top 3)
- Q: How do I free up storage on Mac quickly?
- A: Start with Storage Management (Apple menu → About This Mac → Storage → Manage), empty Trash, delete files in Downloads, remove large Mail attachments, and delete local Time Machine snapshots. Use Finder Size search or a visual tool like DaisyDisk to target the biggest files.
- Q: How do I clear system/storage “Other” or purgeable space?
- A: “Other” often includes caches, local snapshots, and app data. Remove local Time Machine snapshots with
tmutil deletelocalsnapshots, clear large caches selectively, and uninstall unused apps. If necessary, back up and reinstall macOS to fully reset system data. - Q: Is it safe to delete files in ~/Library/Caches/?
- A: Deleting caches is generally safe but may cause apps to re-download data (temporary bandwidth). Remove only large or obviously stale cache folders. Prefer app-specific settings or trusted utilities (Onyx) for cache cleaning, and always keep a recent backup.
Semantic core (expanded)
Below is an SEO-oriented semantic core grouped by intent: primary, secondary, and clarifying keywords and LSI phrases to use internally for optimized on-page relevance.
- free up space on mac
- how to free up space on mac
- how to free storage on mac
- clear storage on mac
- how to free disk space on mac
Secondary (medium intent / task-based):
- delete local Time Machine snapshots
- clear cache mac
- remove iOS backups mac
- optimize storage mac
- find large files mac
- empty trash automatically mac
Clarifying & LSI (long-tail & supportive):
- mac storage management
- purgeable storage mac
- tmutil deletelocalsnapshots
- du -sh find large files
- clear system data mac
- clean mac hard drive
- best tools to free up mac disk space