Glint › Guides

Guide

How to free up disk space on a Mac

Last updated

A full disk makes macOS updates fail, apps stall and photos refuse to import. The good news: most Macs hold tens of gigabytes that nobody needs. This checklist goes from the quickest, safest wins to the bigger jobs, and links to a detailed guide for each.

First, see what is using the space

Open System Settings › General › Storage (on macOS 12 and earlier, Apple menu › About This Mac › Storage). The coloured bar splits your disk into Applications, Documents, Photos, iCloud Drive, macOS and the infamous System Data. Click the ⓘ button next to a category to see what is inside it.

The same pane offers Apple's own recommendations: Store in iCloud, Optimize Storage (removes watched Apple TV movies and shows), Empty Trash Automatically (deletes items that have been in the Trash for 30 days) and a document review. They are safe to enable, and they are a good first pass.

1. Empty the Trash, including on external disks

Items in the Trash still take space. Right‑click the Trash in the Dock and choose Empty Trash. Files deleted from a USB stick or external drive are kept in a hidden .Trashes folder on that drive, so empty the Trash while the drive is connected, otherwise the space on the drive doesn't come back. Apps such as Photos and Mail have their own "Recently Deleted" or Trash folders, too.

2. Clean out Downloads

Downloads collects installers you used once: .dmg, .pkg, .zip and .xip files. Once an app is installed, its installer is no longer needed. In Finder, open Downloads, switch to List view (⌘2) and click the Size column to put the biggest files first.

3. Find the biggest files and folders

A handful of forgotten videos, disk images or virtual machines often account for more space than everything else combined. See How to find large files on a Mac for Finder searches, Terminal one‑liners and visual tools.

4. Remove apps you no longer use, with their leftovers

Games, video editors and old Xcode versions are often several gigabytes each. Dragging an app to the Trash leaves its support files, caches and containers behind in ~/Library. How to completely uninstall apps on a Mac shows where those leftovers live.

5. Clear caches and logs

Apps keep caches in ~/Library/Caches and logs in ~/Library/Logs. Clearing them is usually safe because apps rebuild what they need, but quit the app first. Details are in Is it safe to delete ~/Library/Caches?

6. Delete old iPhone and iPad backups

Local device backups live in ~/Library/Application Support/MobileSync/Backup and can reach 50 GB or more. Manage them from Finder: select your iPhone in the sidebar, click Manage Backups…, and delete the ones you no longer need. If you back up to iCloud instead, the local copies may be years old.

7. Shrink Mail downloads

When you open an attachment in Mail, a copy is saved in ~/Library/Containers/com.apple.mail/Data/Library/Mail Downloads. Those copies can be removed; the attachments stay inside the messages on the mail server.

8. Clean developer leftovers

If you write code, this is often the biggest win. Xcode's DerivedData, device support files and simulators can take 50–100 GB; see How to clean Xcode DerivedData, Archives and simulators. Docker Desktop keeps every image, container and volume inside a single disk image; see How to clear Docker disk space on a Mac. Package managers add their own caches:

npm cache clean --force      # ~/.npm/_cacache
pnpm store prune             # unreferenced packages only
brew cleanup                 # old Homebrew downloads and versions

9. Deal with duplicate photos

Bursts, edited exports and repeated imports pile up quickly. Photos on macOS 13 and later has a built‑in Duplicates album in the sidebar. For photos stored in ordinary folders, see How to find duplicate and similar photos on a Mac.

10. Let iCloud keep the originals

In Photos › Settings › iCloud, choose Optimize Mac Storage to keep smaller versions locally. For iCloud Drive, turn on Optimize Mac Storage in System Settings › [your name] › iCloud › iCloud Drive. Files stay visible in Finder and download on demand. Only do this if your iCloud plan has the room.

11. Restart, and check local snapshots

Swap files are cleared on restart, and a Mac that has been running for weeks can free several gigabytes just by restarting. Time Machine keeps local snapshots on the internal disk; macOS removes them itself when space runs low. List them with:

tmutil listlocalsnapshots /

12. Move big archives to an external drive

Finished video projects, old photo libraries and VM images don't have to live on the internal SSD. Copy them to an external disk, check that the copy opens, and only then delete the original.

While you're at it

A cleanup is a good moment to look after the rest of the Mac:

What not to do. Don't delete files in /System, /private/var or /Library by guesswork, don't remove folders such as ~/Library themselves, and don't run sudo rm -rf commands copied from forums. Sizes you can't explain are usually snapshots, swap or app data that macOS manages itself.

Doing it with Glint

Glint is one free option that covers most of this list in one window. Smart Clean groups caches, logs, the Trash, Xcode and package‑manager leftovers, old iOS backups, Mail downloads and installers in Downloads, with a size for each rule. Large Files, Duplicate Files, Similar Photos and the Space Map sunburst help with the rest, and Applications removes apps together with their ~/Library leftovers.

Caches that apps rebuild are deleted outright; everything else goes to Quarantine first and can be restored for 7 days by default. System folders and top‑level user folders are protected, and files of running apps that aren't safe to touch, such as Docker Desktop's, are skipped.

FAQ

How much free space should a Mac have?

There is no official number, but keeping at least 10–15% of the disk free (or 20–30 GB on smaller drives) leaves room for macOS updates, swap files and local Time Machine snapshots. When the disk is almost full, updates can fail and apps slow down.

Why doesn't my free space go up after I delete files?

Files you delete go to the Trash first and still use space until you empty it. macOS may also keep local Time Machine snapshots that still reference the deleted data; they are removed automatically over time or when space runs low. Check System Settings › General › Storage again after a few minutes.

Is it safe to use a Mac cleaner app?

It depends on what the app deletes and whether you can undo it. Prefer a tool that shows exactly what it will remove, never touches system folders, and lets you restore removed items for a while.

Glint is a free disk cleaner for macOS 14 Sonoma and later, on Apple Silicon and Intel. No limits, no account, and everything stays on your Mac.

Download for Mac

What Glint does · FAQ · Safe by design

Related guides