Guide

Disk Cleanup on macOS: the Mac equivalent of Windows Disk Cleanup

Disk Cleanup on macOS is System Settings > General > Storage: a Mac has no app by that name, and macOS already clears caches and temporary files itself.

6 safe2 careful4 never

updated read 8 minfor macOS 27, macOS 26 Tahoe and macOS 15 Sequoia

The short answer

  1. 01

    There is no app called Disk Cleanup on a Mac. The equivalent is Apple menu > System Settings > General > Storage. Per Apple, macOS also clears safe caches, logs and staged updates by itself when space runs low.

  2. 02

    The Recycle Bin is the Trash: choose Finder > Empty Trash. Nothing is freed until you empty it. Empty Trash automatically, in Storage settings, removes items after 30 days.

  3. 03

    Temporary Internet Files are browser caches: in Safari choose Develop > Empty Caches; in Chrome use Delete browsing data > Cached images and files.

  4. 04

    Temporary files clean themselves. macOS removes files in your temp folder under /private/var/folders once they go 3 days without being opened. Do not delete them by hand.

  5. 05

    Drop Windows habits: no registry cleaners, language file removers or RAM cleaners, and leave the com.apple.os.update snapshot alone.

Disk Cleanup for (C:)

You can use Disk Cleanup to free up to 27.2 GB of disk space on (C:).

Files to delete:

Example sizes on a Windows PC

Mac equivalent

Windows: Recycle Bin

Trash

Where it lives
~/.Trash (Finder > Trash)
How to clear
Finder > Empty Trash
Verdict
SafeGone for good once emptied

Windows: Temporary files

System temp items

Where it lives
/private/var/folders/<xx>/<hash>/T/ ($TMPDIR)
How to clear
Do not clear by hand. macOS removes files not accessed in 3 days.
Verdict
NeverSystem managed

Windows: Temporary Internet Files

Safari cache, Chrome cache

Where it lives
Inside each browser. No folder is documented.
How to clear
Safari: Develop > Empty Caches. Chrome: Delete browsing data > Cached images and files.
Verdict
SafeClearing site data too signs you out

Windows: Thumbnails

Quick Look thumbnail cache

Where it lives
Your user cache folder, /private/var/folders/.../C/. The exact folder is not documented.
How to clear
qlmanage -r cache
Verdict
SafeLow value, rebuilt on demand

Windows: Downloaded Program Files

No Mac equivalent

Closest: old .dmg and .pkg installers in Downloads.

Where it lives
~/Downloads
How to clear
Review them, then move them to the Trash.
Verdict
CarefulYour own files

Windows: Windows Update Cleanup

No Mac equivalent

Closest: the rollback snapshot behind the signed system volume.

Where it lives
APFS snapshot com.apple.os.update-...
How to clear
Leave it. tmutil cannot remove it, and deleting it with diskutil is unsupported.
Verdict
NeverSystem rollback point

Windows: Delivery Optimization Files

No Mac equivalent

macOS clears staged updates on its own when space is needed.

Where it lives
No user-clearable update cache
How to clear
Nothing to do.
Verdict
Nothing to doCleared by macOS when space is needed

Windows: System error memory dump files

Crash, spin and diagnostic reports

Where it lives
Console > Reports (File > Reveal in Finder shows the folder)
How to clear
Console > Reports, File > Reveal in Finder, move to the Trash.
Verdict
SafeLow value, usually small

Windows: Previous Windows installation(s)

Old Install macOS app

Where it lives
/Applications/Install macOS *.app
How to clear
Move it to the Trash, then empty the Trash.
Verdict
SafeKeep it to make a bootable installer

Pick a Windows item, or use the arrow keys.

The Windows Disk Cleanup list, item by item, with where the same kind of file lives on a Mac, how to clear it and whether it is safe.

If you are coming from Windows, you are looking for Disk Cleanup on macOS. There is no app with that name. The same jobs are split between Storage settings, the Trash, your browser and cleanup macOS does on its own. This page maps every Windows Disk Cleanup option to its Mac counterpart and says which ones are safe to touch. For everything else that fills a Mac, see the full guide to freeing up disk space. If you want an app for it, see the best disk cleanup apps for Mac.

Where is Disk Cleanup on a Mac?

A Mac has no Disk Cleanup app; Storage settings does the same job.

Choose Apple menu > System Settings, click General, then click Storage. On macOS Monterey and earlier it is Apple menu > About This Mac > Storage.

The bar at the top splits your disk into categories. Give it a minute to finish calculating. Then click the Info button next to a category, such as Applications or Documents, to list its items, select what you do not need and click Delete.

Above the categories, Apple's recommendations are the closest thing to Disk Cleanup's checkboxes:

  • Store in iCloud: keeps Desktop, Documents, photos and messages in iCloud and only recent files on the Mac when space is needed. Needs enough iCloud storage.
  • Optimize Storage: removes Apple TV movies and shows you have watched, and keeps only recent Mail attachments.
  • Empty Trash automatically: erases items that have been in the Trash for more than 30 days.

The part Windows users miss: per Apple's Optimize storage page, macOS also cleans up by itself when space is needed. It clears caches and logs that are safe to delete, including temporary database files, interrupted downloads, staged macOS and app updates, and Safari website data. There is nothing to schedule, unlike cleanmgr /sagerun or Storage Sense.

If your disk is partitioned, the recommendations apply only to the partition that holds your home folder.

One category you cannot clear from this pane is System Data. Apple says it holds log files, caches, VM files and other system files, and that you cannot manage its contents. If it is the biggest slice, read What is System Data on a Mac.

What is the Mac equivalent of each Windows Disk Cleanup option?

Disk Cleanup (cleanmgr.exe) still ships in Windows 11, though Microsoft now points people to Settings > System > Storage. The rows below follow its list. Some names, such as DirectX Shader Cache, appear only in the Windows 11 Temporary files list. The verdict says whether you should clear it by hand on a Mac.

Windows optionMac equivalentWhereVerdict
Recycle BinTrashFinder > Empty TrashSafe
Temporary Internet FilesSafari or Chrome cacheSafari: Develop > Empty Caches. Chrome: Delete browsing dataSafe
Temporary filesPer-user temp folder/private/var/folders; macOS cleans itNever
ThumbnailsQuick Look thumbnail cacheTerminal: qlmanage -r cacheSafe
Downloaded Program FilesNo equivalent; nearest is old installers.dmg and .pkg files in DownloadsCareful
Delivery Optimization FilesNo equivalent; macOS clears staged updates itselfNothing to clear by handNothing to do
Windows Update CleanupNo equivalent; nearest is the system update snapshotcom.apple.os.update APFS snapshotNever
Previous Windows installation(s)Leftover Install macOS app/Applications/Install macOS <name>.appSafe
Error reports and memory dump filesCrash, spin and diagnostic reportsConsole > ReportsSafe
DirectX Shader CacheGraphics shader cachesManaged by macOS and apps; no documented locationNever
Language resource files.lproj folders inside appsInside each app bundleNever
Offline FilesStore in iCloud, Optimize Mac StorageSystem Settings > General > StorageCareful
Storage SenseStorage recommendations and automatic cleanupSystem Settings > General > StorageSafe
Old Chkdsk files, Device driver packages, Temporary Setup FilesNo equivalentNothing to cleanNothing to do

This table is also on GitHub, free to share or improve: AIiteo/macos-disk-cleanup.

Notes on the rows that need care

Trash: emptied items are gone for good, so look first. To keep it in check, turn on Empty Trash automatically in Storage settings, or Finder > Settings > Advanced > Remove items from the Trash after 30 days.

Safari cache: the Develop menu is hidden by default. Turn it on in Safari > Settings > Advanced > Show features for web developers, then choose Develop > Empty Caches. Safari > Settings > Privacy > Manage Website Data > Remove All also works, but Apple warns it can sign you out of websites. In Chrome, choose Delete browsing data and tick only Cached images and files.

Temporary files: your temp folder is managed by macOS. The confstr man page says files there may be removed once they have not been accessed in 3 days. To see where yours is, without changing anything:

getconf DARWIN_USER_TEMP_DIR

Thumbnails: this resets the Quick Look thumbnail cache, which macOS rebuilds as you browse. It rarely frees much.

qlmanage -r cache

Windows Update Cleanup: macOS has no component store to prune. Apple's security guide says the signed system volume uses APFS snapshots so a failed update can roll back, and Time Machine also saves a local snapshot before any macOS update. You can list snapshots read-only:

tmutil listlocalsnapshots /
diskutil apfs listSnapshots /

The first lists Time Machine local snapshots, which you may remove if you have a backup on another disk; see the snapshot steps. The second also shows the system's com.apple.os.update snapshot. Do not delete the update snapshot with diskutil; it belongs to the signed system volume.

Install macOS app: keep it only if you plan to make a bootable installer, which Apple's instructions expect to find in Applications.

Error reports: in Console, click Reports, select a report and choose File > Reveal in Finder, then move it to the Trash. These files are usually small.

Mac items Disk Cleanup never had

  • Time Machine local snapshots: Apple says macOS counts their space as available and deletes them as they age or when space is needed. Remove them only with a real backup elsewhere.
  • iPhone and iPad backups: remove old ones in Finder > your device > General > Manage Backups.
  • App caches in ~/Library/Caches: safe per app with the app quit, but they grow back.
  • Mail: Mailbox > Erase Junk Mail and Mailbox > Erase Deleted Items.

How do I run a disk cleanup on a Mac?

Built-in tools first, folders last. Each step uses only what macOS ships with.

  1. Open System Settings > General > Storage and wait for the bar to finish.
  2. Turn on the recommendations you want: Store in iCloud, Optimize Storage, Empty Trash automatically.
  3. Click the Info button next to Applications and Documents. Sort by size and delete what you no longer use.
  4. In Finder, open Downloads, choose View > as List, click Size, and trash old installers and disk images.
  5. Connect each iPhone or iPad, open Manage Backups in Finder and delete backups of devices you no longer own. Keep the newest backup of each device you use.
  6. If an Install macOS app is still in Applications after an upgrade, move it to the Trash.
  7. In Mail, choose Mailbox > Erase Junk Mail and Mailbox > Erase Deleted Items.
  8. Empty browser caches only if a browser is misbehaving or the cache is large; they refill as you browse.
  9. Choose Finder > Empty Trash. Look before you empty: this is the step that frees the space, and it cannot be undone.

If free space does not go up right away, local snapshots may still hold the deleted files. macOS frees them on its own; the main guide shows how to remove them sooner.

Which Windows cleanup habits should I drop on a Mac?

Several things that are routine on a PC either do nothing on a Mac or break it.

  • Registry cleaners. macOS has no registry. App settings live in preference files in ~/Library/Preferences, as Apple's Library guide describes. They are small, and deleting them only resets settings.
  • Removing language files. Deleting .lproj folders changes a signed app bundle, which breaks its code signature. Apple engineers on the developer forums say modifying a bundle is not supported. The app may refuse to launch or update.
  • Emptying /private/var/folders by hand. It holds the temp and cache folders macOS manages for each user. macOS already removes old temp files, and deleting there can break apps that are running.
  • RAM cleaners. Memory is not disk space. macOS manages memory itself, and these tools free no storage.
  • Deleting MobileSync folders by hand. Device backups live in ~/Library/Application Support/MobileSync/Backup. Trashing that folder removes every device's backup at once. Use Manage Backups, which Apple documents for this, and pick the backup to delete.

How do I clean up a developer Mac?

On a Mac used for development, the biggest items are usually tool data that Storage settings files under System Data, and no Disk Cleanup-style list covers it. Xcode build output is in Clear Xcode DerivedData, Docker's disk image in Shrink Docker.raw on a Mac, and old simulators and runtimes in Delete iOS simulators.

Disk Cleanup for the Mac, with every byte shown first

Hoardless is the closest thing to Disk Cleanup on a Mac that shows every byte before anything moves. One scan of your home folder and Applications gives totals by category, including the app data and developer caches Storage settings hides in System Data. Cleanup is a plan you read first: items their tool rebuilds, such as Xcode DerivedData, are preselected, and you tick everything else yourself. Items go to the Trash by default and are recorded in an undo log. 14-day free trial, then a one-time purchase.

14-day full trial. macOS 14 or later.

Questions

Is there a Disk Cleanup app on Mac?

No. macOS has no app with that name. Its equivalent is System Settings > General > Storage, which shows what uses space, offers recommendations and lets you delete items by category.

Does Mac have a built-in cleaner?

Yes, in two parts. Storage settings gives you Store in iCloud, Optimize Storage and Empty Trash automatically, and Apple says macOS clears safe caches, logs, interrupted downloads and staged updates on its own when space is needed.

What is the Mac version of Disk Cleanup?

System Settings > General > Storage on macOS Ventura 13 and later, or About This Mac > Storage on earlier versions. For individual Disk Cleanup options, see the mapping table above.

Is it safe to delete caches on a Mac?

One app's folder in ~/Library/Caches is safe to delete with that app quit: Apple says caches can be regenerated and apps should not rely on them. Do not empty system cache folders or anything under /System.

Does Mac have Storage Sense?

The closest match is Storage settings with Empty Trash automatically turned on, plus the cleanup macOS runs on its own when space runs low. There is no automatic purge of the Downloads folder.

Where are temporary files on a Mac?

In a per-user folder under /private/var/folders. Run getconf DARWIN_USER_TEMP_DIR to see yours. macOS cleans it, so leave it alone.

What is the Mac equivalent of Windows.old?

There is none. The nearest leftover is an Install macOS app in Applications after an upgrade. If it is still there and you do not plan to make a bootable installer, move it to the Trash.

Why did emptying the Trash not free up space?

Time Machine local snapshots can still hold the deleted data. Apple says macOS counts that space as available and deletes snapshots as they age or when space is needed.