ClearDisk
Buy for $10Download ClearDiskDownload
A LITTLE MORE CLARITY

How to find what is taking up space on your Mac

To see what is taking up space on your Mac, open System Settings → General → Storage and read the categories, then sort your home and Library folders by size in Finder or with one du command to find the folders behind them. If the disk keeps filling after that, sort Activity Monitor’s Disk tab by Bytes Written to spot heavy writers, list files over 500 MB modified in the last two days with find, and compare folder sizes a day apart with du. Pinning growth to a specific path in ~/Library or a specific process tells you whether a cache, sync folder, or local snapshot is responsible.

Start with the Storage settings page

Storage settings is built in and gives you the big categories in about a minute. Wait for the colored bar to finish calculating before you read it; a bar that is still working shows numbers that will change.

System Data is the category macOS will not break down for you. Apple describes it as the files that do not fall into the other categories, which is why it is so often the largest unexplained number. Finder, Terminal or a disk analyzer is how you see inside it.

CategoryWhat is in it
ApplicationsApps in your Applications folders
DocumentsFiles in your home folder, including Downloads and large files
PhotosYour Photos library
iCloud DriveLocal copies of iCloud Drive files
MessagesMessage attachments, photos and videos
MailDownloaded mail and attachments
iOS FilesiPhone and iPad backups and software updates
DeveloperXcode data, simulators and developer tools
TrashFiles you deleted but have not emptied
macOSThe operating system
System DataEverything else: caches, logs, snapshots and app support files
  • Choose Apple menu → System Settings, click General, then Storage.
  • Hover over each color in the bar to see its name and size.
  • Scroll to the category list and click the info (i) button next to a category for details.

Check folder sizes in Finder

Storage settings gives you categories; Finder tells you which folders. Your Library folder is hidden by default, and it is where caches, app support files and device backups live. To open it, press Command-Shift-G in Finder and type ~/Library.

Inside Library, look first at Caches, Application Support, Containers, Developer (if you have used Xcode) and Application Support/MobileSync/Backup, which holds iPhone and iPad backups.

  • Open a Finder window and press Command-Shift-H to go to your home folder.
  • Switch to List view with Command-2.
  • Choose View → Show View Options and turn on Calculate all sizes.
  • Click the Size column heading to sort largest first, then open the biggest folders and repeat.

List the largest folders with one Terminal command

If clicking through folders takes too long, the first command below lists the 20 largest items in your home folder and its Library, largest last. It only reads. The second scans the whole data volume two levels deep; it takes a few minutes and asks for your administrator password.

If Terminal prints “Operation not permitted” for some folders, macOS is protecting them. Give Terminal Full Disk Access under System Settings → Privacy & Security if you want those folders counted.

du -sh ~/* ~/Library/* 2>/dev/null | sort -h | tail -20
sudo du -xh -d 2 /System/Volumes/Data 2>/dev/null | sort -h | tail -25

When the numbers don’t add up

Sometimes the categories, the folder sizes and Finder’s free space disagree. Purgeable space is the usual reason: macOS counts files it can remove on its own as available in some places and not in others.

Local Time Machine snapshots can hold on to the space of files you have already deleted until they age out. And if you deleted files but the space did not come back, check that the Trash is empty and give Storage settings time to recalculate.

What to clear first

Find first, delete second: knowing what a folder is matters more than how big it is. Once you know where the space went, start with the items that are both large and easy to judge.

A free ClearDisk scan shows a storage map, a large-file list and a System Data breakdown, and labels System Data groups Safe, Review or Leave it. The labels are a starting point for your own review, not a guarantee. Scanning is free; removing files from the app needs the license and moves them to the Trash first.

  • Empty the Trash.
  • Delete iPhone and iPad backups for devices you no longer own.
  • Clear installers and old files out of Downloads.
  • Developers: clear Xcode DerivedData and old simulators.
  • Move or delete large media files you have already backed up.

If the disk keeps filling up

The steps above show what is using space today. If free space keeps shrinking after you have cleared the obvious items, something is still writing. The five numbered steps below measure that growth and trace it to a folder or a process.

1. Log free space at the same times each day

Slow growth is easy to misjudge from memory, so write it down. Run the second command below once or twice a day; it appends the date and the free space on your startup disk to a small text file in your home folder. Read the Avail column of df, not Used: on current macOS, / is a sealed system volume whose Used figure barely moves, while Avail is shared by every volume on the disk.

Use the same tool each time. Storage settings counts purgeable space as available and df doesn’t, so switching between them can invent a change. A drop that recovers within hours often comes from temporary files, local snapshots or swap; a steady loss over several days means something is accumulating.

df -h /
echo "$(date '+%F %R')  $(df -h / | awk 'NR==2 {print $4}')" >> ~/free-space-log.txt

2. See which apps write the most

Open Activity Monitor from Applications → Utilities and click Disk. Click the Bytes Written column heading to sort by it, and click again if you need to flip the order. The figure accumulates while each process runs, so a sync client, a backup tool, a browser or an app stuck in a logging loop tends to rise to the top over a day. Apple also offers View → Dock Icon → Show Disk Activity for a live graph in the Dock.

Treat this as a list of suspects, not a measurement of space. Apps overwrite and delete much of what they write, so a process with a huge Bytes Written total may keep almost nothing, while a modest writer that never cleans up can fill a disk. Note the top few names and look for their folders in the next steps.

3. List large files changed in the last two days

The command below only reads. It searches your home folder (~) for files (-type f) larger than 500 MB (-size +500M) whose contents changed in the last two days (-mtime -2), without crossing into other mounted disks (-xdev). The -exec du -h part prints each file’s size, and 2>/dev/null hides “Permission denied” lines for folders macOS protects.

On a large home folder it can take a few minutes. If nothing appears, lower the size to +100M or widen the window to -mtime -7. A result inside a Library folder is a strong lead, because the path usually names the app, and that app’s own settings are the place to fix it. Folders made of many small files won’t show up here; the next step catches those.

find ~ -xdev -type f -size +500M -mtime -2 -exec du -h {} + 2>/dev/null

4. Compare folder sizes a day apart

Run the first command now and the second a day later. Each writes the size of every folder up to three levels inside your home folder to a text file; it only reads your files, but it can take several minutes. The third command lines the two lists up and prints the folders that grew by 500 MB or more, largest first.

A folder that didn’t exist yesterday shows up through its parent, so follow the growth down a level with du -sh on that path. To include folders macOS protects, such as Mail and Messages data, give Terminal Full Disk Access under System Settings → Privacy & Security first. Move the two text files to the Trash when you’re done.

ClearDisk 2.2.1 Browse view of a generated sample folder with five folders sorted by size, from Movies at 1.87 GB to Documents at 5.2 MB
ClearDisk’s Browse view lists the folders in a scanned location, biggest first. This is a folder of generated sample files, not a real home folder.
du -xk -d 3 ~ 2>/dev/null | LC_ALL=C sort -t $'\t' -k2 > ~/du-before.txt
du -xk -d 3 ~ 2>/dev/null | LC_ALL=C sort -t $'\t' -k2 > ~/du-after.txt
LC_ALL=C join -t $'\t' -j 2 ~/du-before.txt ~/du-after.txt | awk -F'\t' '$3-$2 >= 512000 {printf "%d MB\t%s\n", ($3-$2)/1024, $1}' | sort -rn | head -20

5. Watch live writes, briefly and with a suspect

fs_usage shows file system calls as they happen, including the path each process touches. It needs an administrator password, and without a filter it produces a flood of lines. Give it a time limit (-t 20 stops it after 20 seconds), file system events only (-f filesys), wide output so paths aren’t cut short (-w), and the name of the process you suspect at the end. Press Control-C to stop early.

Look for the folder the process keeps writing to, then stop. The output contains your file paths, so review it before pasting it anywhere public. By default fs_usage leaves out Terminal and your shell, so it doesn’t trace itself.

sudo fs_usage -w -f filesys -t 20 ProcessName

Space that comes and goes on its own

Some changes are macOS managing itself. Time Machine keeps hourly local snapshots on the startup disk and removes them as they age or when space is needed; tmutil listlocalsnapshots / lists them by date, without sizes, and changes nothing. Swap files grow under memory pressure and shrink later, and macOS updates download before they install.

A free ClearDisk scan run before and after a day of normal work shows which folders grew, though it doesn’t name the process doing the writing.

tmutil listlocalsnapshots /

Common questions

How do I see what is taking up space on my Mac?

Open Apple menu, System Settings, General, then Storage. The bar shows space by category and the info button next to each category shows details. For System Data and hidden folders, sort folders by size in Finder with Calculate all sizes turned on, run a du command in Terminal, or use a disk analyzer.

Why is my Mac storage full when I don’t have many files?

Usually because of space that is not in your own folders: System Data such as caches, snapshots and app data, a Trash that was never emptied, old iPhone backups, or developer tools. Check Storage settings first, then sort the folders inside your Library folder by size.

Is it safe to delete files in the Library folder?

Some of them. Files in the Caches folder are generally rebuilt by their apps. Application Support and Containers hold app data and settings, so remove only folders that belong to apps you have already uninstalled, and never delete anything inside the System folder.

How do I find out what's slowly filling up my Mac's disk?

Measure first, then catch the writer: log free space with df at the same times each day, check which apps write the most in Activity Monitor's Disk tab, and list large files changed in the last two days. Growth you can pin to one path or app has a fix; growth you only see in a total doesn't yet.

Which app is writing the most to my Mac's disk?

Open Activity Monitor, click Disk, and sort by the Bytes Written column, which accumulates while each process runs. Treat it as a list of suspects rather than a measurement of space, since an app can write huge amounts and delete most of it, while a modest writer that never cleans up can still fill a disk.

How do I find large files that were recently created on Mac?

A find command searching your home folder for files over 500 MB changed in the last two days only reads and lists them with their sizes. If nothing turns up, lower the size threshold or widen the time window, and a result inside a Library folder is a strong lead since the path usually names the app.

Why does my Mac's free space drop and then recover on its own?

A drop that recovers within hours often comes from temporary files, local Time Machine snapshots, or swap files, all of which macOS manages and removes on its own as they age or as space is needed. A steady loss over several days, rather than a bounce, is the sign something is actually accumulating.

References & further reading

These guides combine the linked official guidance with ClearDisk’s documented behavior. Your files and app settings determine the right next step.

Main guide: Mac storage full: what to delete first · Related pillar: how to free up space on Mac · Browse all Storage full guides →

FROM A NUMBER TO AN ANSWER

See what’s using
your space.

Explore your Mac with ClearDisk’s free local scanner.
Review the files. Keep the control.

Download free scannermacOS 15+ · version 2.2.1Cleanup license: $10 once