How to Free Up Disk Space on Mac
By Andrei Yakushau, who builds Storage Cleaner Expert · Published 30 November 2026
To free up disk space on a Mac, start with what you can get back: empty the Trash, turn on Apple’s storage recommendations, and delete old installers. Then measure the biggest folders, and remove caches, backups and developer data only once you know what each one holds.
See what’s using space on your Mac
- Choose Apple menu › System Settings, then click General › Storage.
- Wait for the bar to fill in. Each colour is a category, such as Applications, Documents or System Data.
- Click the info button next to a category to manage it. Applications, Documents, Messages, Music Creation, Podcasts, Trash and TV have one.
- For every disk at once, click All Volumes. Light grey is free space.
If the biggest category is System Data, read what System Data on a Mac counts. It isn’t a folder, so you have to find the folders behind it.
How to free up disk space on a Mac, safest first
Work down the list and stop when you have enough room. Green steps lose nothing you can’t get back. Orange steps need a look before you delete.
Empty the TrashSafe
Right-click the Trash in the Dock and choose Empty Trash. Files you move to the Trash still take space until you empty it, so do this before you measure anything.
You lose: You can’t put those items back.
Restart your MacSafe
Restarting lets macOS clear temporary files it no longer needs. If you need room for an update, starting up in safe mode also clears certain system caches.
You lose: Nothing.
Turn on Apple’s storage recommendationsSafe
Open System Settings › General › Storage. Store in iCloud keeps Desktop, Documents, photos and messages in iCloud and only recent files on the Mac when space is needed. Optimize Storage removes Apple TV movies and shows you’ve watched. Empty Trash automatically erases items that have been in the Trash for 30 days.
You lose: Older files download from iCloud when you open them. More iCloud storage is a paid plan.
Delete old installersSafe
Installer packages (
.pkg) and app disk images (.dmg) in Downloads aren’t needed once the app is installed. Neither is an Install macOS app left in Applications after the update. Open a disk image before deleting it if you’re not sure: some hold your own files, such as an encrypted volume or a backup.You lose: To install again, you download the installer again.
Delete media you can stream or download againSafe
Music, movies and podcasts you bought or can stream can be downloaded again later. Click the info button next to TV or Podcasts in Storage settings to see what’s on the Mac.
You lose: Offline copies, until you download them again.
Clean out Mail and MessagesSafe
In Mail, choose Mailbox › Erase Deleted Items, then Mailbox › Erase Junk Mail. Mail also keeps copies of attachments you opened, which you can remove; the messages keep their attachments. For Messages, click the info button next to it in Storage settings to review what it keeps.
You lose: Mail in the Trash and Junk mailboxes, and any conversations or attachments you delete.
Uninstall apps you don’t use, and their leftoversCheck first
Dragging an app to the Trash leaves its data in
~/Library/Application Supportand~/Library/Containers. Remove those folders too if you won’t reinstall the app: here is how to uninstall an app completely.You lose: If you reinstall, the settings, sign-ins or documents it kept there are gone.
Clear app caches, with the app quitCheck first
Folders in
~/Library/Cachesrebuild on their own. Start with apps you know, and use an app’s own clear-cache setting where it has one. The System Data guide goes folder by folder.You lose: The app may be slower, or download content again, the first time.
Delete old iPhone and iPad backupsCheck first
Connect the device, select it in Finder, click General, then Manage Backups. Delete only backups you’re sure you don’t need. A deleted backup can’t be recovered.
You lose: The backup, unless the device still has the same data.
Clear developer data and local AI modelsCheck first
Xcode build data, simulators, package caches, Docker images and downloaded AI models can each take many gigabytes. Use each tool’s own cleanup where it has one; see developer tools below.
You lose: Rebuild time, or a download to repeat.
Move or compress what you want to keepSafe
Move large files you rarely open, including a Photos or iMovie library, to an external drive. Files you want to keep on the Mac can be compressed and expanded when you need them.
You lose: Nothing, as long as the drive is backed up.
What each removal costs you
Something is safe to remove if you can get it back. The verdicts come from the rules Storage Cleaner Expert uses when it explains a folder, except where an Apple page is linked.
| What | Where | Verdict | What you lose |
|---|---|---|---|
| Installer packages | ~/Downloads/*.pkg | Safe | Download it again to reinstall. |
| Disk images | ~/Downloads/*.dmg | Check first | Most are app installers you can download again. Some hold your own files, such as an encrypted volume or a backup. Eject a mounted image first. |
| macOS installer | /Applications/Install macOS … | Safe | Download it again to reinstall macOS or make a bootable installer. |
| iPhone and iPad updates | ~/Library/iTunes/iPhone Software Updates | Safe | Finder downloads the update again when it’s needed. |
| Mail attachment copies | ~/Library/Containers/com.apple.mail/…/Mail Downloads | Safe | Mail makes a new copy when you open an attachment again. |
| App caches | ~/Library/Caches/<app> | Safe, app quit | The app may be slower, or download content again, the first time. |
| App logs | ~/Library/Logs | Safe | Log history used for troubleshooting. |
| Homebrew downloads | ~/Library/Caches/Homebrew | Safe | Homebrew downloads packages again when it needs them. |
| Xcode DerivedData | ~/Library/Developer/Xcode/DerivedData | Safe, Xcode quit | The next build and indexing take longer. DerivedData guide |
| Data of apps you removed | ~/Library/Application Support, ~/Library/Containers | Check first | Settings, sign-ins or documents, if you install the app again. Find what removed apps left behind |
| Simulator devices | ~/Library/Developer/CoreSimulator/Devices | Check first | The simulators and the apps and data in them. Xcode can create new, empty ones. |
| Downloaded AI models | ~/.ollama/models, ~/.lmstudio/models, ~/.cache/huggingface | Check first | Each model must be downloaded again, often many gigabytes. AI models guide |
| iPhone and iPad backups | ~/Library/Application Support/MobileSync/Backup | Check first | Can’t be recreated unless the device still has the same data. |
| Docker’s disk image | ~/Library/Containers/com.docker.docker | Use Docker’s cleanup | Images can be pulled again, but volumes can hold databases that can’t. |
| Your keychains, mail and messages | ~/Library as a whole | Keep | Passwords, mail, messages and app data. Never delete the whole folder. |
How to find what’s taking up space
Storage settings gives you categories, not folders. To see folders, measure them in Terminal. These commands only read sizes; they don’t change anything.
Your home folder and Library, largest last:
du -sh ~/* ~/Library/* 2>/dev/null | sort -h | tail -20Hidden folders, where developer tools and AI models live:
du -sh ~/.[!.]* 2>/dev/null | sort -h | tail -10Run the command again inside whatever comes out on top to narrow it down. Without Full Disk Access, Terminal skips some protected folders, so the total can come out lower than Storage settings shows. In Finder, select a folder and press Command-I to see its size one folder at a time.
Free up space from developer tools and Docker
Developer data grows with every project and tool version, and little of it shrinks on its own. Use each tool’s own cleanup first: it knows what’s still in use.
| Tool | Clean up with | What you lose |
|---|---|---|
| Xcode | Delete DerivedData with Xcode quit; remove runtimes in Xcode › Settings › Components | Build and index time. Details |
| Homebrew | brew cleanup | Older versions Homebrew no longer uses |
| Docker Desktop | docker system prune | Stopped containers, unused networks, dangling images and build cache. Volumes stay unless you add --volumes; -a also removes every image no container uses |
| npm, Yarn, pnpm | Their caches (~/.npm/_cacache, ~/Library/Caches/Yarn); pnpm store prune | Packages download again on the next install |
| Ollama, LM Studio, Hugging Face | ollama rm, hf cache rm, or the model’s folder | A download to repeat. Details |
Docker: don’t delete the files in ~/Library/Containers/com.docker.docker by hand. Its disk image holds your images, containers and volumes, and a volume can be the only copy of a database. Quit Docker Desktop before you remove its build cache, logs or temporary files.
What not to delete to free up space
- Anything in
/System. macOS protects it. - The whole
~/Libraryfolder or~/Library/Application Support: they hold keychains, mail and messages next to the caches. - Local Time Machine snapshots and swap files, by hand. macOS releases that space itself.
- Docker’s disk image, unless you’ve checked that no volume holds data you need.
- Any folder you can’t name. It may be the only copy of an app’s database or a virtual machine.
How Storage Cleaner Expert frees up disk space
Storage Cleaner Expert measures the disk or folders you choose, then lists what you can remove in Suggestions, grouped and largest first. Each item says what it is and what you lose. Nothing is marked for you: as you check items, the disk bar shows how much free space you’ll have after moving them to the Trash.
A working copy of the app's report window on the Suggestions tab. Macintosh HD has 96.8 GB free of994.7 GB, and the scan suggests 155.2 GB in seven groups. Checking items adds them to the To Trash list and shows how much free space you'd have after moving them.

Macintosh HD897.9 GB of 994.7 GB used · 90% full
96.8 GB→free
The app’s Suggestions tab on demo data. Try opening a group and checking items.
- Items you mark go to the Trash. The app erases them only if you choose Empty Trash and confirm.
- It runs in App Sandbox and reads only the disk or folders you choose. It doesn’t read or remove Time Machine snapshots.
- Scanning is free, and the free plan includes one cleanup every 24 hours.
Storage Cleaner Expert needs macOS 15.6 or later and is on the Mac App Store. See how the Mac storage cleaner works.
FAQ
Why is my Mac storage suddenly full?
Usually because one thing grew fast: a large download, a new iPhone backup, an app’s cache, a macOS update being staged, or developer tools after a new project. Check Storage settings for the category that jumped, then measure the folders behind it.
Why does my Mac say storage is full after I deleted files?
First empty the Trash. If Time Machine is on, a local snapshot taken before you deleted the files can still hold them; macOS deletes snapshots as they age or as space is needed. Large leftovers are often counted as System Data, which the System Data guide explains.
How do I free up space to install a macOS update?
Empty the Trash and delete old installers first. If you still need a little more, Apple suggests starting up in safe mode, which clears certain system caches, then restarting normally and trying the update again.
What should I delete first when my Mac storage is full?
Things you can get back: the Trash, installers in Downloads, media you can download again, and caches of apps you’ve quit. Leave backups, app data and anything you can’t name until you know what it holds.
Do I need an app to free up space on a Mac?
No. Everything on this page works with Finder, Storage settings and Terminal. An app such as Storage Cleaner Expert saves the measuring and explains each folder, but the choices are the same.