How to find large files on a Mac

Updated

Short answer

Use Finder search with a file size rule for a quick list, System Settings > General > Storage for the big files macOS already knows about, or Terminal when you want folder totals. Look before you delete: a large file is only worth removing if you know what it is.

Finder search with a size rule

  1. In Finder, press Command-F.
  2. Set the search scope to This Mac, or to a folder such as your home folder.
  3. Click the + button, then choose File Size (under Other the first time) and set it to is greater than with a number in MB or GB.
  4. Sort the results by Size.

Settings > Storage > Documents > Large Files

Open System Settings > General > Storage. Click the info button next to Documents and choose Large Files. The list shows the biggest files in your folders, largest first, and you can open one in Finder before you remove it.

Terminal

This command lists the size of each item in your home folder, smallest first, and only reads:

du -sh ~/* | sort -h

Run it again inside any big folder to go one level deeper. It does not delete anything.

The usual suspects

  • Videos and screen recordings.
  • Disk images (.dmg) you have already installed from.
  • iPhone and iPad backups.
  • Virtual machine disks.
  • Xcode data, simulators and other developer tool files.
  • Docker images and volumes.

Hidden folders you cannot see in Finder

Folders that start with a dot, and your ~/Library folder, are hidden. In Finder press Command-Shift-Period to show hidden files. For Library, hold Option and open the Go menu, then choose Library. In Terminal, this lists hidden items in your home folder:

du -sh ~/.[!.]* | sort -h

Before you remove anything from Library, read what is safe to delete in the Library folder. For the full checklist, see Mac storage full: what to check first.

What JunkTrace does differently

JunkTrace shows Space Lens, a map of the whole disk. You click a ring to go into a folder and click the centre to go back, so the biggest places are easy to see. Scanning is free and removes nothing.

Related guides