Mac storage

How to Free Up Space on Mac: 15 Safe Ways That Actually Work

Mac storage full? 15 safe ways to free up space on a Mac, from two-minute quick wins to the big hidden stuff, with what to delete and what to leave alone.

By Surendra Pandar, maker of DiskMate 14 min read

The “Your disk is almost full” warning always shows up at the worst moment: in the middle of an update, an export, or a video call recording. And Storage settings rarely makes it obvious what to delete.

This guide is the order I'd work in on any Mac. It starts with the steps that take two minutes and can't go wrong, then moves to the bigger jobs. Every step uses what's already on your Mac. I build a disk space app, and I'll mention it near the end, but you don't need it for anything here.

Quick wins
Under 5 minutes each
  • Empty the Trash (all of them)
    Often 1–20 GB
  • Clear out Downloads
    Often 2–30 GB
  • Turn on Storage recommendations
    Often Varies
  • Delete old macOS installers
    Often 12–15 GB each
Worth 15 minutes
A coffee break each
  • Uninstall apps you don't use
    Often 2–40 GB
  • Find and sort large files
    Often 5–100 GB
  • Clear app caches
    Often 5–30 GB
  • Delete old iPhone backups
    Often 5–100 GB
Bigger jobs
Pick the ones that apply
  • Photos, Messages and Mail
    Often 5–80 GB
  • Duplicates
    Often 1–20 GB
  • Developer data
    Often 10–150 GB
  • Move media to an external drive
    Often As much as you like
Where the space usually comes back from, grouped by how long each step takes. Sizes are rough ranges from ordinary Macs, not promises.

First, see what's using your space

Spend one minute here before you delete anything. It tells you which of the steps below are worth your time. On macOS Ventura and later, open:

Apple menuSystem SettingsGeneralStorage

You'll see a coloured bar and a list of categories: Applications, Documents, Photos, Messages, iCloud Drive, macOS, System Data and so on. Wait a minute or two for the numbers to settle. Then look at the two or three biggest rows. That's where to spend your effort.

  • Documents is big? Go to step 6. Large files and old downloads are hiding there.
  • Applications is big? Step 5. Apps you've forgotten about add up fast.
  • Photos or Messages is big? Steps 9 and 10.
  • System Data is big? That's its own puzzle. See What Is System Data on Mac.

Most rows have an ⓘ button. Click it to see what's inside and delete things right from that window. The one for Documents is the most useful, and step 6 shows it.

How much free space does a Mac need?

Apple doesn't give one number, but macOS clearly needs room to work. It uses free space for memory swap, Time Machine snapshots, caches and updates. These ranges are a fair guide:

Free spaceWhat to expect
15%+ or 50 GB+Comfortable. Updates install and nothing feels tight.
20–50 GBFine day to day, but a major macOS upgrade may ask you to free space first.
Under 20 GBExpect slowdowns, failed updates and apps that can't save. Work through the quick wins below now.

Before you delete anything

Three rules keep this safe:

  1. Back up first. If you use Time Machine or another backup, let it finish a run before you start.
  2. Move to the Trash, then wait. Empty the Trash only after a day or two of everything working normally. Avoid rm commands copied from forums, which skip the Trash entirely.
  3. If you don't know what it is, leave it. No amount of free space is worth a Mac that won't start, or a lost file you needed.
You found a big folder. Now what?
Does an app rebuild it on its own? (a cache or a log)
Yes
Safe to clear
Quit the app, then move the folder to the Trash. It comes back small.
No
Did you (or an app you use) make it? (a backup, a VM, project files)
Yes
Check first
Open it first. Keep the latest backup or the VM you still use, then remove the rest.
No
Is it in /System or /private/var, or a snapshot?
Yes
Leave to macOS
Don't touch it by hand. Restart, or let macOS reclaim it when space runs low.

Not sure which one it is? Leave it. Nothing here is worth breaking your Mac for.

A quick way to decide what to do with any big folder you find.

Quick wins: 4 steps, about 10 minutes

Do these first. They're safe, fast and often enough on their own.

Empty every Trash, not just the one in the Dock

Files in the Trash still use space. Control-click the Trash in the Dock and choose Empty Trash. Then check the two other places that keep deleted things:

  • Photos: open the Recently Deleted album. Photos keeps deleted pictures and videos there for about 30 days. Click Delete All if you're sure.
  • Mail: Control-click the Trash and Junk mailboxes and choose Erase Deleted Items and Erase Junk Mail.

Clear out your Downloads folder

Downloads is where installers, zip files and one-off videos go to be forgotten. On most Macs it's the easiest big win.

  1. Open Downloads in Finder and switch to list view (⌘ 2).
  2. Click the Size column header so the biggest files come first.
  3. Remove installers you've already used (.dmg, .pkg), zip files you've already opened, and anything you can download again.

Delete old macOS installers

If you've ever downloaded a macOS upgrade without installing it right away, you may have an app called Install macOS Sonoma (or another version name) sitting in Applications. Each one is around 12 to 15 GB. Once you're running that version or later, it's safe to move to the Trash.

Open Applications in Finder, sort by name and look for anything starting with Install macOS. Check Downloads too, in case one landed there.

Turn on Storage recommendations

At the top of Storage settings, macOS offers a few switches that free space now and keep it free later:

  • Store in iCloud keeps older files, photos and messages in iCloud and downloads them when you open them. Only useful if you have enough iCloud storage.
  • Optimize Storage removes movies and TV shows you've already watched in the Apple TV app.
  • Empty Trash Automatically removes anything that's been in the Trash for 30 days, so step 1 takes care of itself.

Worth 15 minutes: steps 5 to 8

If the quick wins weren't enough, these four usually are. Each takes a bit of looking, but this is where most of the space is.

Uninstall apps you don't use, and their leftovers

In Storage settings, click ⓘ next to Applications. You get every app with its size and when you last opened it. Sort by size, and look for apps you haven't used in months: games, video editors, trial apps, that one tool you needed for a single project.

Select an app and click Delete, or drag it from the Applications folder to the Trash. Apps installed from the App Store can also be removed from Launchpad by holding an icon until it jiggles.

Find your largest files

A handful of big files usually takes more space than thousands of small ones. There are two built-in ways to find them.

From Storage settings. Click ⓘ next to Documents. The Large Files tab lists your biggest files with the date you last opened them. The Downloads and Unsupported Apps tabs are worth a look too. Select anything you don't need and click Delete.

Documents
Large FilesDownloadsUnsupported AppsContainersFile Browser
NameSize
Holiday-2024-4K.mov18.4 GB
Windows11_ARM.vhdx14.1 GB
Project-archive.zip6.7 GB
Install macOS Sonoma.app13.3 GB
podcast-raw-ep12.wav2.9 GB
Biggest first, with the date you last opened each one
Storage → Documents ⓘ → Large Files. Old videos, virtual machine disks and archives are the usual suspects. File names and sizes are examples.

From Finder. This finds big files anywhere, not only in Documents:

  1. Open a Finder window and press ⌘ F. Click This Mac.
  2. Click the Kind menu and choose Other…. Tick File Size in the list and click OK.
  3. Set it to is greater than 1 GB. Switch to list view and sort by Size.
Searching “This Mac”
Search:This MacHome
File Sizeis greater than1GB
Windows11_ARM.vhdx14.1 GB
Final Cut Library.fcpbundle9.8 GB
old-laptop-backup7.2 GB
Xcode_16.xip3.4 GB
Press ⌘F in Finder, then choose Kind → Other… → File Size
Finder's own search can list every file over 1 GB. Results are examples.

Things that often turn up, and what to do with them:

  • Screen recordings and exported videos. Keep the final cut, delete the raw takes, or move them to an external drive (step 15).
  • Virtual machine disks (.vhdx, .pvm, .utm). If you no longer use the VM, delete it from inside Parallels, UTM or VMware so it cleans up properly.
  • Zip and disk image files you've already opened or installed.

Clear app caches

Apps keep copies of things they downloaded or worked out before, so they open faster. Browsers, Spotify, Slack, Adobe apps and Homebrew can each hold several gigabytes, and they rarely clean up after themselves.

  1. In Finder, choose Go → Go to Folder (⇧ ⌘ G) and type ~/Library/Caches.
  2. In list view, choose View → Show View Options and tick Calculate all sizes. Sort by Size.
  3. Quit the app a big folder belongs to, then move that folder to the Trash.
  4. Restart. Apps build fresh, smaller caches next time you open them.

Trash the folders inside Caches, never the Caches folder itself. For browsers, clearing the cache in the browser's own settings is cleaner and keeps you signed in. The System Data guide has more detail and a picture of this step.

Delete old iPhone and iPad backups

Each backup can be as large as the device's used storage, and Macs quietly keep backups of phones you sold years ago.

  1. Connect any iPhone or iPad, then click it in the Finder sidebar.
  2. On the General tab, click Manage Backups.
  3. Select backups you don't need and click Delete Backup.

Keep the newest backup of the device you use today, unless it backs up to iCloud. To see the total size without a device, open ~/Library/Application Support/MobileSync/Backup with Go to Folder.

Bigger jobs: steps 9 to 15

You probably don't need all of these. Use what Storage settings showed you at the start to pick the ones that apply.

Slim down your Photos library

A Photos library can quietly reach 100 GB or more. Three ways to shrink it:

  • Use iCloud Photos with Optimize Mac Storage. In Photos, choose Photos → Settings → iCloud and select Optimize Mac Storage. Full-size originals stay in iCloud, and your Mac keeps smaller versions that download in full when you open them. This needs enough iCloud storage for your whole library.
  • Merge duplicates. Recent versions of Photos have a Duplicates album in the sidebar. Open it and merge the copies.
  • Delete long videos you don't need. In the sidebar, open Media Types → Videos. A few minutes of 4K video can be several gigabytes. Then empty Recently Deleted (step 1).

Clear out Messages attachments

Every photo, video and sticker anyone has sent you is saved on your Mac, sometimes for years. In Storage settings, click ⓘ next to Messages to see the biggest attachments and delete them.

To stop it piling up again, open Messages → Settings → General and set Keep messages to 1 Year or 30 Days. Be sure first: this deletes older conversations along with their attachments.

Clear Mail's downloaded attachments

When you open an attachment in Apple Mail, a copy is saved on your Mac. Those copies live in a folder most people never see:

Terminal
$ du -sh ~/Library/Containers/com.apple.mail/Data/Library/Mail\ Downloads
Read-only: shows how much space Mail's saved attachments are using.

If it's large, open that folder with Go to Folder and move what you don't need to the Trash. The originals stay in your email. Then, in Mail → Settings → General, set Remove unedited downloads to After Message is Deleted.

Let iCloud Drive keep files online

If you use iCloud Drive, your Mac can keep a copy of everything, or only what you use. In System Settings → your name → iCloud, turn on Optimize Mac Storage (on some versions it's under iCloud Drive). macOS then removes local copies of older files when space runs low, and downloads them again when you open them.

To free space right away, Control-click a big file or folder in iCloud Drive and choose Remove Download. It stays in iCloud and on your other devices.

Remove duplicate files

Duplicates come from downloading the same file twice, copying folders “just in case” and importing photos more than once. macOS has no built-in duplicate finder outside Photos.

By hand, the most reliable approach is the Finder search from step 6: sort large files by size and look for pairs with the same size and similar names. Open both before deleting one. Files with the same name aren't always the same file, and files with different names sometimes are.

Clear developer data (if you write code)

If you've installed Xcode or Docker, this can free more than every other step combined. Xcode's build folders, old simulators and device support files, Docker's disk image and forgotten node_modules folders regularly add up to 50 GB or more. All of it is rebuilt or downloaded again when you need it.

Terminal
$ xcrun simctl delete unavailable
Removes simulators for iOS versions you no longer have installed. Your projects are untouched.

The System Data guide goes through Xcode DerivedData, device support, Docker and package caches one by one.

Move big media to an external drive

Some things are big and worth keeping: video projects, raw photo shoots, music sample libraries, old project archives. They don't need to live on your Mac's internal drive.

  • A USB-C SSD is fast enough to edit from directly, and a 1 TB one costs less than most storage upgrades.
  • Copy first, check the copy opens, then delete the original. Never move your only copy of something in one step.
  • Keep a backup of the external drive too. A drive that holds the only copy of your files is a risk, not a backup.
  • Music apps can store their sound libraries elsewhere. Logic Pro, for example, can relocate its library from Logic Pro → Sound Library.

Still full? Check System Data

If you've worked through the steps and the bar barely moved, look at the System Data row in Storage settings. If it's 50 GB or more, that's probably where your space went: local Time Machine snapshots, caches, old backups and app leftovers that macOS doesn't put into a clearer category.

I wrote a separate guide for that: What Is System Data on Mac, and How Do You Reduce It? It covers snapshots, which are often the single biggest win, along with the Terminal commands to remove them safely.

Also restart your Mac. It clears swap and temporary files, and makes Storage settings count everything again.

What not to do

Some popular advice frees space and creates new problems. Skip these:

  • Don't delete anything in /System, /private/var or /usr. Most of it is protected anyway, and the rest is there for a reason.
  • Don't empty your whole ~/Library folder. It holds your settings, passwords, mail and app data, not just caches.
  • Don't paste sudo rm -rf commands from forums unless you understand every part. They delete instantly, with no Trash.
  • Don't turn off Time Machine to save space. Keep the backups and let macOS manage the local snapshots.
  • Don't reinstall macOS as a first move. It takes hours and rarely frees more than the steps above.
  • Be wary of cleaner apps that won't show you what they delete. A good tool lists every file, lets you choose, and moves things to the Trash so you can change your mind.

The faster way: see everything in one window

Everything above works. It also means opening a dozen folders and settings panes, and remembering which file you saw where. That's why I built DiskMate. It does most of these steps in one window:

Storage
136.4 GBfree of 494.38 GB on Macintosh HD

358 GB used. This scan measured 295.0 GB of it in 1,284,902 files.

Developer 96.2 GBVideo 58.4 GBApps 41.7 GBImage 33.9 GBCache & Log 24.1 GBArchive 18.6 GB
Safe to clear
27.4 GB

in 9 places. Apps rebuild these when they need them.

Caches & logs11.8 GB
node_modules8.2 GB
Xcode5.1 GB
Package caches2.3 GB
Worth a look
14.6 GB

in 14 places. Real files you may still want.

Disk images6.2 GB
Large media5.9 GB
Old downloads2.5 GB

DiskMate's Overview: free space, what's using it, and how much is safe to clear.

  • Steps 2, 6 and 15 in one view. The Space page ranks every folder and file by size, as a list or a treemap you can click into. The Old files page lists big files you haven't touched in over a year.
  • Steps 7 and 14 as a checklist. Cleanup finds caches, logs, Xcode build files and node_modules folders, adds them up and lets you tick what goes.
  • Step 5 including leftovers. The Apps page shows each app's real size including its files in ~/Library, and removes them together.
  • Step 13 done properly. Duplicates are confirmed byte for byte with SHA-256, not guessed from names.
  • Nothing disappears by surprise. Everything goes to the Trash first, and nothing leaves your Mac.
See where your space went in about a minute.
DiskMate scans your Mac, ranks what's big, shows what's safe to clear, and moves only what you tick to the Trash. $5 once, no subscription.
Get DiskMate for $5Pay once · No subscription · Works offline

Quick checklist

Bookmark this for the next time the “disk almost full” warning shows up:

The whole guide on one card
  1. 1Empty the Trash, Photos and Mail trash
  2. 2Clear out Downloads
  3. 3Delete old macOS installers
  4. 4Turn on Storage recommendations
  5. 5Uninstall unused apps and leftovers
  6. 6Find and sort large files
  7. 7Clear app caches
  8. 8Delete old iPhone and iPad backups
  9. 9Slim down Photos and Messages
  10. 10Clear Mail attachments
  11. 11Let iCloud Drive keep files online
  12. 12Remove duplicates
  13. 13Clear developer data
  14. 14Move big media to an external drive
  15. 15Still full? Check System Data

Frequently asked questions

What's the fastest way to free up space on a Mac?+

Empty the Trash, then open your Downloads folder, sort it by size and remove old installers (.dmg and .pkg files), zip archives and videos you no longer need. Then open System Settings → General → Storage and turn on the recommendations. Those three steps take about ten minutes and often free 10 to 40 GB.

What can I safely delete to free up space on my Mac?+

Safe to remove: the contents of the Trash, old installers and disk images in Downloads, app caches in ~/Library/Caches, apps you no longer use, old iPhone and iPad backups for devices you've replaced, and old macOS installer apps. Check before removing: large files and videos, Photos and Messages attachments, duplicates and developer data. Leave alone: anything in /System, /private/var or /usr, and your ~/Library folder as a whole.

Why is my Mac storage still full after deleting files?+

Three common reasons. The files are still in the Trash, which you need to empty. A local Time Machine snapshot still holds them, so the space shows up as System Data until macOS removes the snapshot, usually within 24 hours. Or the Storage screen hasn't recalculated yet. Restart, wait a few minutes and check again.

How much free space should I keep on my Mac?+

Aim for at least 10 to 15 percent of your drive, and never less than about 20 GB. macOS uses free space for memory swap, Time Machine snapshots and updates, and a major macOS upgrade often needs 20 GB or more free before it will install. Below about 5 percent free, Macs tend to slow down and apps can fail to save.

Does emptying the Trash actually free up space?+

Yes. Files in the Trash still take up space until you empty it. Photos and Mail have their own trash too: the Recently Deleted album in Photos and the Trash mailbox in Mail. Empty those as well.

Is it safe to delete cache files on a Mac?+

Caches in your own ~/Library/Caches folder are safe to remove. Apps rebuild what they need, so the only cost is that they may open a little slower the first time. Quit the app before removing its cache folder, and don't touch /System/Library/Caches.

How do I free up space on a Mac without deleting anything?+

Turn on Optimize Mac Storage for iCloud Drive and iCloud Photos, so older files stay in iCloud and download when you open them. Move large media such as video projects, raw photos and old archives to an external drive. Both keep your files while freeing space on the Mac itself.

Do I need a cleaner app to free up space on a Mac?+

No. Every step in this guide uses Finder, System Settings or Terminal, which come with your Mac. An app like DiskMate makes it faster by finding large files, caches, duplicates and app leftovers in one scan, but it doesn't do anything you can't do by hand.

Written by Surendra Pandar
I build DiskMate, a small Mac app for finding and clearing disk space. I wrote this guide from the same research that went into the app. Spotted something wrong or out of date? Email surendrapandar.work@gmail.com or find me on X.

Keep reading