System & storage

How to find large files on a Mac

Finder and the Terminal both find large files on a Mac. In Finder, search This Mac and filter by size; in Terminal, find ~ -type f -size +1G lists files over 1 GB. Sort folders with du -xhd 1 ~/ | sort -hr | head -20 to see where the space really is, including hidden Library folders.

Updated 2026-10-27

Key points

  • Finder: press Shift-Command-F, set the search scope to This Mac, then add a Size filter for files greater than 1 GB.
  • Terminal: find ~ -type f -size +1G -print 2>/dev/null lists large files without stopping on permission errors.
  • Use du -xhd 1 ~/ | sort -hr | head -20 to rank folders before drilling into individual files.
  • Spotlight finds large files quickly with mdfind, but it skips some hidden and non-indexed locations.
  • Packages such as Photos Library and sparse files such as Docker.raw report sizes differently from ordinary files.

The quickest way to find large files on a Mac is Finder’s size filter or one Terminal command. Use Finder for a visual browse, find for a precise threshold, and du when you need to know which folders are responsible. Hidden folders under ~/Library usually hold more space than the visible ones.

Finder: search by size

Press Shift-Command-F to open a search window and click This Mac so the search covers more than the current folder. Add a filter: choose Size, then greater than, then 1 GB. If Size is not in the filter list, choose Other and enable File Size.

Switch to list view and sort by size. To see folder sizes, enable Calculate all sizes in View > Show View Options; it is slow but useful.

Finder is good for browsing but weak on hidden folders, which is why the Terminal commands below matter.

Terminal: list files above a threshold

find ~ -type f -size +1G -print 2>/dev/null

-type f restricts results to files, -size +1G means larger than 1 GB, and 2>/dev/null hides permission errors. Adjust the threshold to +500M or +2G as needed.

To see sizes next to paths:

find ~ -type f -size +1G -exec ls -lh {} + 2>/dev/null | sort -k5 -hr | head -20

This is slower, but easier to scan. find descends into app bundles and packages, so ignore results inside .app or .photoslibrary directories; deleting a file there can break the app or library.

Folder-level: use du first

A folder of small files can outweigh one large video, so rank folders first:

du -xhd 1 ~/ 2>/dev/null | sort -hr | head -20
du -xhd 1 ~/Library 2>/dev/null | sort -hr | head -20

-x stays on the startup volume, -d 1 reports one level deep, and -h prints human-readable sizes. Repeat inside the largest folder to narrow the search.

Spotlight: mdfind for a fast first pass

Spotlight can answer the same question from its index:

mdfind -onlyin ~ "kMDItemFSSize > 1000000000"

The value is in bytes; 1000000000 is about 1 GB. -onlyin ~ limits the search to your home folder. mdfind is fast, but it only knows indexed files, so confirm results with du or find.

Where the space usually is

LocationWhat it holdsSafe to remove?
~/DownloadsOld .dmg, .pkg and .zip installersYes, once installed
~/Library/Application Support/MobileSync/BackupLocal iPhone and iPad backupsYes, for devices you no longer restore
~/Library/Developer/XcodeDerived Data, Archives, device supportDerived Data yes; Archives only if unneeded
~/Library/Containers/com.docker.dockerDocker Desktop’s Linux disk imageNot directly; use Docker’s own cleanup
~/Pictures/Photos Library.photoslibraryPhotos originals and previewsOnly through the Photos app
~/MoviesScreen recordings and exportsYes, if already backed up
~/.cache/huggingface, ~/.ollama/modelsLocal AI model weightsYes, but they must be downloaded again
~/.TrashFiles waiting to be deletedYes, by emptying the Trash

To open a hidden path in Finder, press Shift-Command-G and paste it. The Trash is hidden at the root of your home folder, so this is the reliable way to inspect it without emptying it.

Packages and sparse files report sizes differently

A .photoslibrary is a package that Finder treats as a single item. Get Info shows its size, but you should manage its contents through Photos, not by deleting files inside it. Docker’s Docker.raw is a sparse file: ls -lh may show a large logical size while du -h shows the blocks actually allocated. Use du when the question is how much space you can reclaim.

Delete safely

Move files to the Trash rather than using rm, then empty the Trash only after you have verified the result. Keep at least one backup of anything you might need, and do not delete:

  • Anything under /System, /Library or /private
  • ~/Library/Application Support, ~/Library/Containers or ~/Library/Keychains in bulk
  • Files inside an app bundle or a photo library package

For the full list of folder categories and what they mean, see what is taking up space on a Mac. If the disk is already full, MacBook storage full covers the order to delete things in.

How Maclean handles large files

Maclean’s large-file scan ranks files by size and labels each one, so you can review before removing anything:

maclean scan --tab large-files --large-min-mb 500
maclean clean --tab large-files --dry-run

The --large-min-mb flag sets the threshold. Large files and duplicate files are moved to the Trash, and a deletion manifest lets you restore them with maclean restore <id>. Other CLI cache tabs delete permanently. The app adds a visual review, storage history and a 14-day trial; the CLI is free and open source under Apache-2.0.

Maclean processes files locally and does not upload names or paths. For the bigger storage picture, see the free-up-space guide.

Bottom line

Use Finder for a quick visual search, du to find the responsible folders, and find or mdfind to list individual files. Check the hidden Library and Trash, and move uncertain files to the Trash so the decision stays reversible.

FAQ

Frequently asked questions

Where do large files hide on a Mac?

Common locations are ~/Downloads (old disk images and installers), ~/Library/Application Support/MobileSync/Backup (iOS backups), ~/Library/Developer/Xcode (build artifacts), ~/Library/Containers/com.docker.docker (Docker's disk image), ~/Movies (screen recordings) and ~/.Trash.

Why does Finder not show a folder's size?

Finder calculates folder sizes only when Calculate all sizes is enabled, and it can be slow. Select the folder, press Command-I, or use du -sh in Terminal for a faster and more accurate measurement.

What is the difference between du and ls -lh sizes?

ls -lh reports logical file size, while du reports allocated disk blocks. Sparse files such as Docker's disk image can have a large logical size but use fewer blocks. Use du when you care about reclaimable space.

Can I delete any large file I find?

No. Delete files you created, installers you no longer need, and backups for devices you no longer use. Do not delete files inside /System, /Library, ~/Library/Application Support, ~/Library/Keychains or an app bundle unless you know exactly what they are.

Why does Spotlight miss some large files?

Spotlight does not index every location, and hidden folders or excluded volumes may be skipped. Terminal commands such as find and du do not depend on the index, so use them for ~/Library and external drives.

Preview first, then clean safely

Maclean breaks down caches, app data, large files and APFS snapshots, and labels the risk of every item before deletion.

Download for Mac→