How to free up space on your Mac
"Your disk is almost full." Here's how to find out what is actually using the space on your Mac, where the big files usually hide, and how to clear them out without breaking anything.
"Your disk is almost full." Here's how to find out what is actually using the space on your Mac, where the big files usually hide, and how to clear them out without breaking anything.
Open System Settings → General → Storage. The bar at the top shows how full your startup disk is, split into categories such as Applications, Documents, Photos, iOS Files and System Data.
Below the bar, macOS offers a few recommendations worth a look:
What the Storage screen doesn't tell you is which folders are big. "Documents: 180 GB" could be one forgotten video project or a thousand small files.
Finder can show folder sizes — in a list view, choose View → Show View Options and turn on Calculate all sizes — but you have to open every folder one by one, and it skips the parts of the disk Finder hides.
A disk space analyzer scans the whole disk at once and shows every folder by size. DiskGarden is a free one for the Mac:
If the total doesn't add up to what macOS reports, part of the disk is off limits to normal apps. Scan as administrator to map it too.
On most Macs a handful of places account for most of the space. Check these first:
~/Downloads quietly collects disk images (.dmg), zip files and installers you only needed once. Sort by size and clear out what you've already installed.
Local device backups can take tens of gigabytes each. With a device connected, select it in Finder's sidebar and click Manage Backups; or look directly in ~/Library/Application Support/MobileSync/Backup. Delete backups of devices you no longer own.
~/Library/Developer/Xcode/DerivedData) is build output; it's safe to delete and rebuilds when needed.~/Library/Developer/Xcode/iOS DeviceSupport) keeps symbols for every iOS version you've ever connected; old versions can go.xcrun simctl delete unavailable removes simulators for runtimes you no longer have.docker system prune, or lower the disk limit in Docker Desktop's settings.brew cleanup for Homebrew, and the caches in ~/.npm, ~/.gradle/caches and ~/.cargo can be cleared and re-downloaded.~/Library/Caches holds data apps can re-create, like browser caches and app updates. Quit the app first, then delete its cache folder. Expect it to grow back somewhat as you use the app.
A Photos library or a folder of screen recordings and exported videos is often the single biggest item. With iCloud Photos, turn on Optimize Mac Storage in Photos settings to keep smaller versions on the Mac.
Attachments you've opened are kept in ~/Library/Containers/com.apple.mail/Data/Library/Mail Downloads.
Large apps and their support files — GarageBand's and Logic's sound libraries, games, old Xcode versions — are easy to spot in the Applications folder and in ~/Library/Application Support.
/System, /Library, /usr and /private belong to macOS. DiskGarden shows them so you understand your disk, but won't let you put them in the Waste bin.macOS doesn't always hand space back immediately:
A restart often settles the numbers.
DiskGarden is a free disk space analyzer for Mac: it maps every folder by size, so the space hogs stand out. No account, and your files never leave your Mac.