A MacBook Air or MacBook Pro with 256 GB or 512 GB of storage fills up faster than most people expect, and the storage inside a MacBook can't be upgraded later. These steps free space safely with the tools already on your Mac, starting with the ones that remove nothing you made yourself.
1. See what is using space
Choose Apple menu › System Settings › General › Storage. Wait for the bar to finish calculating, then click ⓘ next to any category to see what is inside. The Recommendations list offers one-click options for the steps below.
2. Let iCloud keep the originals
If you use iCloud Drive, turn on Optimize Mac Storage in your iCloud settings. macOS then keeps files you haven't opened recently only in iCloud and downloads them again when you open them. For photos, open Photos › Settings › iCloud and choose Optimize Mac Storage, which keeps smaller versions on your MacBook and the full-size originals in iCloud. Both need enough iCloud storage for your files.
3. Empty the Trash and Downloads
Empty the Trash, and turn on Empty Trash Automatically in Storage recommendations to remove items after 30 days. In Downloads, choose View › as List and sort by Size: installers (.dmg, .pkg) and archives you have already opened are usually safe to delete.
4. Clear large Messages attachments
Messages keeps every photo and video you send or receive. In Storage settings, click ⓘ next to Messages to review the largest attachments and delete ones you don't need. To keep less in future, open Messages › Settings › General and set Keep messages to 1 year or 30 days. That setting deletes older messages and their attachments, so only change it if that's what you want.
5. Delete old iPhone and iPad backups
A single iPhone backup can take tens of gigabytes. In Storage settings, click ⓘ next to iOS Files and delete backups of devices you no longer use. Keep the latest backup of any device you still have.
6. Remove apps you don't use
Click ⓘ next to Applications, sort by size or last used, and delete what you don't need. Large creative apps and games often take 10 GB or more each. Our guide to uninstalling apps completely shows how to remove their leftover files too.
7. Clear caches and developer data
App caches rebuild on their own, so clearing them is low risk; quit the app first. On a MacBook Pro used for development, Xcode DerivedData and old simulators are often the biggest wins. See which caches are safe to delete and how to clear Xcode DerivedData.
8. Move archives to an external drive
Old projects, finished video exports and photo archives don't need to live on your MacBook. Copy them to an external SSD, check the copy opens, then delete the originals. You can even keep your whole Photos library on an external drive formatted as APFS or Mac OS Extended: quit Photos, drag the library to the drive, then hold Option while opening Photos and choose it.
Before a macOS update
Major updates need extra free space to download and install. If your MacBook says there isn't enough room, work through steps 3 to 6 first; they usually free enough without touching your own files.
Where TheCleanDisk helps
TheCleanDisk is a free cleaner app for MacBook Air and MacBook Pro that does most of this list in one read-only scan: caches and junk, downloads, big files, duplicates, app leftovers and developer data. Every item is explained, only data that apps rebuild is pre-selected, and everything you clean can be restored for 7 days. It is free on the Mac App Store; see which Macs it runs on.