How to free up space on a Mac: 7 steps that work

Free up space on your Mac the easy way: find your largest files, use the built-in macOS recommendations and understand why System Data is so large.

3 min readby Luca Ring

The quickest way to free up storage on a Mac is System Settings → General → Storage: macOS shows what is using the space and offers recommendations that clean up with one click. The biggest chunks are usually old downloads, large videos, iPhone backups and apps you no longer use.

The steps below often win back many gigabytes in fifteen minutes, without installing a cleaner app.

Check your storage: what is taking up space?

Open the Apple menu, then System Settings, General and Storage. The colored bar shows how the used space is split. Below it are categories such as Applications, Documents, Photos and System Data.

Clicking the small info button next to a category opens a list sorted by size. That is the fastest way to find your largest files.

Use the macOS recommendations

Above the categories, macOS suggests what you can do:

  • Store in iCloud: Documents and photos live in iCloud, and only recently used ones stay on the Mac in full size.
  • Optimize Storage: Movies and shows you have already watched in the TV app are removed automatically.
  • Empty Trash automatically: Anything that has been in the Trash for more than 30 days is deleted for good.

The last option is almost always worth it. Otherwise deleted files keep using space until you empty the Trash by hand.

How to free up space on a Mac in 7 steps

  1. Empty the Trash: Right-click the Trash in the Dock and choose Empty Trash.
  2. Clean up Downloads: Sort by size in Finder. Installer files ending in .dmg can go once the app is installed.
  3. Find large files: In Storage settings, open Documents and look at the Large Files tab.
  4. Delete unused apps: Under Applications you can see when you last opened each app.
  5. Check iPhone backups: Old local backups of an iPhone or iPad quickly add up to tens of gigabytes. They appear under iOS Files.
  6. Remove message attachments: Under Messages, macOS lists photos and videos from your chats by size.
  7. Restart your Mac: A restart clears temporary files and caches.

A handy everyday tip: screenshots are saved to the desktop by default and pile up there. How to change that location is covered in How to take a screenshot on a Mac.

System Data too large? Here is why

System Data is where macOS groups everything that fits no other category: caches, logs, local Time Machine snapshots and files belonging to apps. The number fluctuates a lot and cannot be deleted directly.

Patience usually helps: macOS frees this space on its own when it is needed. Don't delete folders in the Library on a hunch, as that can break apps and settings.

For developers: Xcode doesn't clean up after itself

If you build apps with Xcode, the biggest space hog is often right there. Intermediate build data and old simulators grow to many gigabytes over the months. Both are safe to remove, and Xcode recreates the data on the next build.

# Delete Xcode's intermediate build data
rm -rf ~/Library/Developer/Xcode/DerivedData

# Remove simulators Xcode can no longer use
xcrun simctl delete unavailable

The first build afterwards takes a little longer. In Storage settings you will find the same data under Developer if you prefer clicking. For more on app development, read TestFlight setup.

How much free space should you keep?

As a rule of thumb, keep at least 10 to 15 percent of the disk free. macOS needs room for updates and for swapping memory. When space gets tight, the Mac slows down noticeably and updates can no longer be installed.

  • free up space on Mac
  • Mac storage full
  • clear System Data Mac
  • how to clean up Mac
  • startup disk full
  • delete Xcode DerivedData