How to Free Up Disk Space on Mac: 15 Steps, Safest First
Short answer: to free up disk space on a Mac, open Apple menu › System Settings › General › Storage, turn on the Recommendations (Store in iCloud, Optimize Storage, Empty Trash automatically), then click the info button next to each big category and delete large files, unused apps and old iPhone backups. Empty the Trash afterwards: nothing is freed until you do.
TL;DR
- Start with Storage settings. It is the Mac’s built-in disk cleanup, and it shows which category is big before you delete anything.
- Safest wins first: Trash, Downloads, large files you recognise, apps you don’t use, old iPhone backups.
- Biggest wins are usually video, the Photos library, iPhone backups, Messages attachments, and for developers Docker, Xcode and
node_modules. - Terminal finds what Storage settings hides: six read-only commands below show where the space really went.
- Delete in the owning app (Finder, Photos, Docker, Xcode), not by dragging folders out of
~/Library. You don’t need a cleaner app.
How do I see what’s taking up disk space on my Mac?
Open Apple menu › System Settings › General › Storage (scroll down in General if you need to). On macOS Ventura 13 and later this shows a coloured bar of used space and a list of categories with their sizes; on older versions it’s under Apple menu › About This Mac › Storage, per Apple’s storage guide.
Wait for the bar to finish calculating, then read the list from the top:
| If this category is big | Go to |
|---|---|
| Documents | Steps 2, 3 and 9 |
| Applications | Step 5 |
| iOS Files | Step 6 |
| Messages | Step 7 |
| Photos, TV or Music | Steps 4 and 9 |
| Developer | Step 11 |
| System Data | Steps 10, 12 and 13, and what System Data is |
For a second opinion from Finder, Disk Utility or Terminal, our guide on how to check disk space on a Mac compares all four views, and explains why they rarely agree (mostly purgeable space).
Which steps free the most space on a Mac, and which are safest?
Here are all 15 steps in this guide, ordered safest first. “Comes back” means the space refills on its own as you use the Mac.
| # | Step | Where | Usual impact | Risk | Comes back? |
|---|---|---|---|---|---|
| 1 | Empty the Trash (and Photos’ Recently Deleted) | Dock, Photos | Small to large | None, if you checked it | No |
| 2 | Clear Downloads | Finder | Medium | Low | Slowly |
| 3 | Delete large files you recognise | Storage › Documents | Large | Low | No |
| 4 | Turn on the Recommendations | Storage settings | Medium to large | Low, needs iCloud space | Managed for you |
| 5 | Uninstall apps and games you don’t use | Storage › Applications | Medium | Low | No |
| 6 | Delete old iPhone and iPad backups | Finder | Medium to large | Low, if backed up elsewhere | On next backup |
| 7 | Remove large Messages attachments | Storage › Messages | Small to large | Low | Slowly |
| 8 | Clean up Mail | Small | Low | Slowly | |
| 9 | Move media libraries to an external drive | Finder, Photos | Large | Medium: drive must be connected | No |
| 10 | Find hidden space with Terminal | Terminal (read-only) | Shows, doesn’t free | None | n/a |
| 11 | Clear developer data | Xcode, Docker, Homebrew, npm | Large for developers | Medium | Yes |
| 12 | Clear app caches | Each app | Small to medium | Low | Yes |
| 13 | Thin local Time Machine snapshots | Terminal | Small to large | Low | Yes, hourly |
| 14 | Restart, or safe mode once | Apple menu | Small | None | Yes |
| 15 | Use a disk map for what’s left | App | Shows, doesn’t free | None, if read-only | n/a |
Part 1: How do I free up disk space on Mac with Storage settings?
Apple’s own tools cover most of the space on most Macs. Do these first.
1. How do I empty the Trash properly?
Right-click the Trash in the Dock and choose Empty Trash. Files you move to the Trash keep using space until you do this, which Apple states plainly in Free up storage space on Mac.
Two other bins catch people out:
- Photos keeps deleted photos and videos in Recently Deleted for 30 days. In Photos, click Recently Deleted under Utilities in the sidebar, unlock it, select what you want gone and delete it. That deletion is permanent. Apple explains the album in the Photos User Guide.
- Mail keeps deleted messages until you choose Mailbox › Erase Deleted Items.
To stop the Trash piling up again, turn on Finder › Settings › Advanced › Remove items from the Trash after 30 days.
2. What can I safely delete from Downloads?
Old installers, disk images and archives you’ve already opened are safe to delete from Downloads in almost every case. Open Finder, choose Go › Downloads, switch to List view (Command-2) and click the Size column.
- Disk images (
.dmg) and installers (.pkg) for apps you’ve already installed. .zipfiles you’ve already unzipped.- Duplicates with “(1)” or “copy” in the name.
3. How do I find and delete large files on a Mac?
In System Settings › General › Storage, click the info button next to Documents. The Large Files list shows your biggest files with their size and last-opened date; select any you don’t need and click Delete.
Finder can search the whole Mac too:
- In a Finder window, press Command-F.
- Click This Mac.
- Click the first pop-up menu (it says Kind), choose Other…, tick File Size, and click OK.
- Set it to is greater than 1 GB.
Videos, disk images, old virtual machines and screen recordings usually top the list. Our guide to finding large files on a Mac has more search recipes.
4. Should I turn on Store in iCloud and Optimize Storage?
Yes, if you have iCloud space to spare: they are Apple’s way to keep disk space free automatically. You’ll find them under Recommendations at the top of Storage settings. According to Apple’s optimize storage guide:
| Recommendation | What it does | Trade-off |
|---|---|---|
| Store in iCloud | Desktop and Documents go to iCloud Drive, photos and videos to iCloud Photos, Messages attachments to iCloud. Only recently opened files stay on the Mac when space is needed | Needs iCloud storage and an internet connection to open older files |
| Optimize Storage | Removes Apple TV movies and shows you’ve already watched, and keeps only recent Mail attachments on the Mac when space is low | You re-download to watch again |
| Empty Trash automatically | Erases items that have been in the Trash for more than 30 days | None, really |
If you already use iCloud Drive, you can free a single file or folder without deleting it: right-click it in Finder and choose Remove Download. The file stays in iCloud. Don’t use Delete on iCloud Drive files to save space: that removes them from every device.
5. Which apps should I uninstall to get more storage?
Uninstall the large apps you haven’t opened in months. In Storage settings, click the info button next to Applications, sort by size and check the Last Accessed date.
Select an app there and click Delete, or drag it from Applications in Finder to the Trash. If the app came with its own uninstaller (common with Adobe, Microsoft and some VPNs), use that instead: it also removes helpers and support files. Uninstall games through Steam, Epic or the App Store, so the launcher knows and you can download them again later.
6. How do I delete old iPhone backups from my Mac?
Local iPhone and iPad backups can each take many gigabytes. Delete the ones you don’t need from Finder, following Apple’s steps:
- Connect the device with a cable, then open Finder.
- Select the device in the sidebar.
- On the General tab, click Manage Backups.
- Right-click a backup you don’t need and choose Delete.
A deleted backup can’t be recovered, so keep the latest backup of any device you still use, unless it’s also backed up to iCloud. Storage settings lists the same backups under iOS Files.
7. How do I clear Messages attachments?
In Storage settings, click the info button next to Messages to see large attachments, photos and stickers sorted by size, then select and delete the ones you don’t need.
To stop it growing, open Messages › Settings › General and change Keep messages from Forever to 1 Year or 30 Days. Read the prompt carefully: it deletes older conversations and their attachments.
8. How do I clean up Mail?
In Mail, choose Mailbox › Erase Junk Mail, then Mailbox › Erase Deleted Items. With Optimize Storage on (step 4), Mail also keeps only recent attachments on the Mac.
9. Can I move my Photos library to an external drive?
Yes, and for many people it’s the single biggest win. Apple documents it in Move your Photos library to save space on your Mac:
- Quit Photos.
- In Finder, open your Pictures folder and drag Photos Library to an external drive formatted APFS or Mac OS Extended (Journaled). Apple says not to use your Time Machine drive, an SD card, a USB flash drive or network storage.
- Double-click Photos Library in its new place to open it. If you use iCloud Photos, set it as the System Photo Library in Photos › Settings › General.
- Once you’ve confirmed everything is there, delete the original and empty the Trash.
The drive has to be connected whenever you open Photos. The same idea works for Final Cut libraries, Logic projects and iMovie: move them in their app, or while the app is closed.
Part 2: What Terminal commands free up disk space on a Mac?
Terminal shows the space Storage settings lumps into System Data or Developer, and lets you clear developer leftovers with their own tools. The first block below is read-only: it only measures.
10. How do I find what’s using space with Terminal? (read-only)
# Free space on the startup disk
df -h /
# Your 20 biggest folders one level inside your home folder
du -hd 1 ~ 2>/dev/null | sort -h | tail -20
# Biggest folders inside ~/Library (caches, app data, containers)
du -hd 1 ~/Library 2>/dev/null | sort -h | tail -15
# Every file over 1 GB in your home folder
find ~ -type f -size +1G 2>/dev/null
# Local Time Machine snapshots on the startup disk
tmutil listlocalsnapshots /
# How much Docker is using, by images, containers, volumes and build cache
docker system df
None of these change anything. Once you know which folder is big, clear it from the app that owns it, not with rm. Our developer guide to what’s eating your Mac’s disk decodes the usual folder names.
11. How do I clear developer files (Xcode, Docker, Homebrew, npm)?
On a developer’s Mac, this step often frees more than all the others put together. Use each tool’s own cleanup command, and read its prompt before you confirm:
# Xcode: remove simulators for runtimes you no longer have
xcrun simctl delete unavailable
# Homebrew: remove old versions and the download cache
brew cleanup --prune=all
# npm: clear the package cache (rebuilt on next install)
npm cache clean --force
# Docker: remove stopped containers, unused networks, dangling images and build cache
# (asks to confirm; add --volumes only if you mean to delete volume data)
docker system prune
Xcode’s DerivedData (~/Library/Developer/Xcode/DerivedData) is safe to delete while Xcode is closed; it rebuilds on the next build. Old simulator runtimes go from Xcode › Settings › Components. For Docker’s disk image, which doesn’t shrink on its own, see Docker using too much disk space on Mac.
12. Should I clear caches?
Clearing caches buys time, not permanent space, because apps rebuild them. Do it inside each app where you can: browsers, Slack, Teams, Spotify and Discord all keep large caches and most have a clear-cache option. If you clear ~/Library/Caches by hand, quit the app first and delete only its folder.
13. Can I delete local Time Machine snapshots?
Yes, but you rarely need to: macOS removes local snapshots on its own when it needs space, so they mostly show up as purgeable space. If an app or installer refuses to run because the disk looks full, this deletes every local snapshot on the startup disk (it asks for your password):
# Destructive: removes all local Time Machine snapshots on the startup disk
sudo tmutil deletelocalsnapshots /
Your backups on the Time Machine drive itself are not touched. Snapshots and caches are part of System Data, and this guide to System Data walks through each part.
14. Does restarting free up space?
A little. A restart can release swap files and some temporary files. If you need room for a macOS update right now, Apple says starting up in safe mode once might free enough space temporarily to finish the update; restart normally afterwards. The full rescue routine is in what to do when your startup disk is almost full.
How do I free up space on a MacBook Air with a small SSD?
Start with the three things that grow without you noticing: the Photos library (step 9, or Store in iCloud), iPhone backups (step 6) and Messages attachments (step 7). Then turn on the Recommendations (step 4) and remove large apps you don’t use. The steps are the same on any Mac; a small SSD just leaves less margin.
What should I never delete to free up space?
- Anything in
/System,/privateor/Library/Apple. ~/Library/Mobile Documents, which is your iCloud Drive.- Whole folders in
~/Libraryyou can’t name, especially Containers and Group Containers. - Docker’s disk image, virtual machines and Xcode Archives, unless you mean to lose what’s in them.
- The Photos Library or any app library from inside Finder. Use the app.
Part 3: Which disk cleanup app for Mac should I use?
You don’t need one. Every step above uses built-in tools, and you see exactly what goes. A disk map helps when Storage settings doesn’t explain where the space went. Prices as of November 2026:
| Tool | What it does | Deletes files? | Price |
|---|---|---|---|
| Storage settings | Categories, large files, Recommendations | Yes, what you select | Free, built in |
Terminal (du, find) | Exact folder and file sizes | Only if you tell it to | Free, built in |
| GrandPerspective | Treemap of every file, open source | Yes, what you select | Free from SourceForge, $2.99 on the App Store |
| DaisyDisk | Interactive disk map, protects system files | Yes, what you select | $9.99 once, free trial |
| FavTray Space | Treemap, named folders, owner-app hand-offs, history | Never | Pro ($4.99 once), free 7-day trial |
For more options, compare the best disk space analyzers for Mac. If you’re shopping for a one-click cleaner anyway, read our CleanMyMac alternatives and DaisyDisk alternatives first.
How does FavTray Space help free up disk space?
We make FavTray, so weigh our take accordingly. FavTray is a macOS menu bar app with 15+ developer and productivity tools, free with daily limits, $4.99 once for Lifetime.
FavTray Space does the “where did it go” part of this guide, read-only. It draws a treemap of every folder, names about 115 kinds of folder that grow on a Mac (caches, iPhone backups, Messages attachments, installers in Downloads, game libraries, Xcode, simulators, node_modules, Docker, local AI models) and ranks a Worth a look list by size and by how easily each item comes back. Your own work is never offered. It never deletes, moves or changes a file: “Where to clear it” opens the app that owns the data and shows the menu path.
History shows what grew this week and, after a few scans, forecasts when the disk fills. DaisyDisk is the better pick if you want to delete straight from the map. Space is part of Pro; Free shows your capacity, the known recoverable total and the top 3 categories with names hidden. Every install gets a 7-day full Pro trial with no card (pricing). It runs on macOS 14 Sonoma or later and keeps every scan on your Mac.
Frequently Asked Questions
What is the fastest way to free up disk space on a Mac?
Empty the Trash, then open System Settings › General › Storage and click the info button next to Documents. The Large Files and Downloads lists show your biggest files with their size and last-opened date. Delete old videos, disk images and installers you no longer need, then empty the Trash again. Moving files to the Trash frees nothing until you empty it.
Is there a Disk Cleanup tool on Mac like on Windows?
Yes. The Mac's equivalent is System Settings › General › Storage on macOS Ventura 13 and later (About This Mac › Storage on older versions). It shows space by category, lists large files, apps and iPhone backups you can delete, and offers Store in iCloud, Optimize Storage and Empty Trash automatically. You don't need a third-party cleaner to free up space.
Why is my Mac storage still full after deleting files?
Usually the Trash wasn't emptied, or the files went to Photos' Recently Deleted album, which keeps items for 30 days. Local Time Machine snapshots can also keep holding deleted data until macOS needs the space; tmutil listlocalsnapshots / shows them. Storage settings can take a few minutes to recalculate, so check again after a short wait or a restart.
How do I free up space on my MacBook Air?
The same way as any Mac, but small SSDs fill faster, so prioritise the big three: move your Photos library to an external drive, turn on Store in iCloud for Desktop and Documents, and delete old iPhone backups from Finder › Manage Backups. Then remove large Messages attachments and apps you haven't opened in months. Except the Photos move, each is in System Settings › General › Storage.
Can I delete everything in ~/Library/Caches?
Apps rebuild their caches, so deleting a cache folder doesn't lose your data, but clearing everything while apps are running can make them misbehave until you restart. It's safer to clear caches from inside each app, or quit an app and delete only its own folder. Never delete /System/Library/Caches, and remember the space comes back as you use the app.
Do I need a cleaner app to free up space on a Mac?
No. Everything a cleaner does can be done with System Settings, Finder, Terminal and each app's own settings, and doing it yourself means you see exactly what's removed. A disk map such as GrandPerspective (free), DaisyDisk ($9.99) or FavTray Space helps you find where the space went; the deleting is safest done in the app that owns the data.