
To back up your Mac before a cleanup, make a fresh Time Machine backup with Back Up Now, then prove it works by restoring one test file. That's the core of it. Everything else on this checklist makes the cleanup easier to undo, or catches what a backup can miss.
Sync services such as iCloud Drive, Dropbox and OneDrive aren't backups for this purpose. They copy your deletions to every device. A backup keeps the old version after the original is gone, which is exactly what you want if a cleanup goes too far.
Then make the cleanup itself reversible. Note licenses and settings for any app whose data you'll remove, move things to the Trash instead of deleting them outright, and leave the Trash alone for a few days of normal use. If something breaks, Put Back, Time Machine or Migration Assistant brings it back.
Why back up your Mac before a cleanup?
Most cleanups remove things that come back by themselves, such as caches and logs. A backup matters because cleanups rarely stay that tidy. A folder that looked like leftovers turns out to hold an app's only copy of your data, or an old download was the last installer for an app you still use.
Isn't the Trash enough?
For a while, yes. Anything Finder moves to the Trash can be put back until the Trash is emptied. But many deletions skip it: a tool's own cleanup command, an app that deletes permanently, Delete Immediately in Finder, and anything removed after the Trash is emptied.
A backup covers all of those, and keeps covering them after you've emptied the Trash and forgotten what was in it.
What counts as a big cleanup?
Anything beyond emptying caches through an app's own settings. These are worth a fresh backup first:
- uninstalling several apps and their leftover files
- removing folders from your Library
- clearing out Downloads, Documents or old projects
- deleting old iPhone backups, Mail downloads or libraries
- following a guide or an app that removes many things at once
What can go wrong?
| What happens | Example | What gets you back |
|---|---|---|
| You remove something you needed | An old project in Downloads | The Trash, then Time Machine |
| An app loses its settings or license | Its Preferences or Application Support folder | Time Machine |
| A command deletes more than expected | A pasted Terminal command | Time Machine only |
| A synced folder loses files everywhere | Files deleted inside a sync folder | The service's deleted files, then Time Machine |
| The Mac won't start normally | System files changed by an unknown tool | Migration Assistant from Time Machine |
Will a cleanup make your Mac faster?
Usually not. Clearing caches and old files frees space; it doesn't speed a Mac up, and some apps run slower for a while as they rebuild their caches. The only case where space affects speed is a disk so full that macOS can't work, which the cleanup fixes either way.
How long does the whole checklist take?
Most of it is the backup itself. With a Time Machine disk already in use, a new backup copies only what changed since the last one, so it's usually short. The test restore and the notes take a few minutes more. Only a first-ever backup is long, and that one is worth waiting for.
Step 1: make a fresh Time Machine backup
If you already back up with Time Machine, this takes one click. If you don't, now is the time to start, because there's nothing to restore from until the first backup finishes.
How do you start a backup now?
- Connect your backup disk, or join the network your backup destination is on.
- Click the Time Machine menu in the menu bar and choose Back Up Now.
- Leave your Mac awake and connected until it finishes.
If the Time Machine menu isn't there, open System Settings › Menu Bar and turn it on. Apple's guide also lets you wait for the next automatic backup, but before a cleanup you want one taken now.
What if you've never set up Time Machine?
Connect an external disk, choose Apple menu › System Settings, click General, then Time Machine, and click Add Backup Disk. Select the disk and click Set Up Disk. Apple recommends a disk with at least twice your Mac's storage, used only for Time Machine.
Apple warns that the first backup might take longer than you expect. You can keep using your Mac while it runs, but don't start the cleanup until it's done.
How do you know the backup finished?
Click the Time Machine menu again. When a backup is running, it shows the progress; when it's done, it shows the date and time of the latest backup. System Settings › General › Time Machine lists each backup disk with its latest backup too.
Check that the date is today. A latest backup from last week means something stopped it, and that's worth fixing first.
What if the backup disk is full?
Time Machine deletes the oldest backups to make room, which is normal. If the new backup still won't fit, your Mac tells you. The post on a full Time Machine backup disk covers the fixes, from excluding large items to a bigger disk.
What doesn't Time Machine back up?
- System files and apps installed with macOS, which come back with macOS itself.
- Items on the Exclude from Backups list in Time Machine's Options.
- Files you stored on the backup disk itself.
- Anything that lives only in iCloud, such as originals of photos when Optimize Mac Storage is on, because Time Machine can only back up what's on your Mac.
If you're about to remove something on that list, copy it somewhere first.

Step 2: check the backup by restoring one file
A backup you've never restored from is a backup you're hoping works. One test restore takes a couple of minutes and tells you that the disk is readable, the backup is recent, and you know the steps before you need them under pressure.
How do you test a restore?
The cleanest test uses a file made for the purpose:
- Before Back Up Now, create a small text file in your Documents folder and save it.
- Let the backup finish, then move the test file to the Trash and empty it, or just delete that one file.
- Open your Documents folder in Finder.
- Open Time Machine with Spotlight. Use the arrows next to the Finder window, or the timeline on the right, to go back to the latest backup.
- Select the test file and click Restore.
Apple's guide says restored items return to their original location, so the file reappears in Documents.
What does a good test look like?
The file comes back, opens normally and has the text you wrote. If Time Machine can't find the backup disk, or the timeline doesn't reach today, stop and fix that before the cleanup.
You can also check one real file you changed today: go back to this morning's backup and look at it without restoring. Seeing the older version confirms the history is there.
How do you check a network backup?
Apple describes a check for backups on a network destination: hold the Option key and choose Verify Backups from the Time Machine menu. Do it once before a big cleanup if you back up over the network.
Can you restore from local snapshots too?
Yes, within limits. When your backup disk isn't connected, Time Machine can still show the local snapshots it keeps on your Mac, about one an hour for the past day. They're a useful short-term net, but they're on the same disk you're cleaning, so they're no substitute for the backup.
Why iCloud Drive and other sync services aren't backups
Sync and backup sound alike and do opposite jobs. A sync service makes every copy of a folder match. A backup keeps what the folder looked like before.
Deletions sync too
If you delete a file in iCloud Drive on your Mac, it's deleted on your other devices as well. Apple's recovery page says you can recover files deleted from iCloud Drive within the last 30 days, whether you deleted them on iCloud.com or on another device that has iCloud Drive turned on.
That's a useful net for a month. Apple adds that you can't recover files you permanently remove. After 30 days, or after you clear Recently Deleted, the files are gone unless a backup has them.
What about Dropbox, OneDrive and Google Drive?
They work the same way: a file deleted on your Mac is deleted in the cloud and on your other devices. Each service keeps deleted files and older versions for a while on its website, with periods that depend on the service and the plan. Check yours before relying on it.
The post on Dropbox, OneDrive and Google Drive storage on a Mac explains how to free space with each service's own online-only setting, which leaves the cloud copy alone.
Never delete inside a sync folder to free space
Deleting a file from iCloud Drive, Dropbox or OneDrive to free space on your Mac removes it from the cloud too. Use the service's own control instead, such as Remove Download for iCloud Drive, which keeps the file in iCloud and frees the space on your Mac.
How do the options compare?
| Time Machine | iCloud Drive | Copy on a drive | Clone app | |
|---|---|---|---|---|
| Keeps deleted files | Yes, for months or years | For 30 days on iCloud.com | Until you change the copy | Depends on the app |
| Keeps older versions | Hourly, daily, weekly | Not as a history | No | Depends on the app |
| Lives off your Mac | Yes | Yes | Yes | Yes |
| Restores a whole Mac | With Migration Assistant | No | No | Carbon Copy Cloner's maker says yes, with Migration Assistant |
Other backups worth having
Time Machine is enough for most cleanups. A second copy is worth it if the cleanup is large, if you're about to erase or reorganize a lot, or if your only backup disk is old.
A second Time Machine disk
Apple's guide says Time Machine can back up to more than one disk and rotates its schedule among them. A second disk, backed up right before the cleanup and then put away, is a copy that nothing you do during the cleanup can touch.
A plain copy of what matters most
Apple lists manually copying files to another storage device as a way to back up. Drag your Documents, a Photos library or a project folder to an external drive in Finder. It's not a history, but it's simple, and you can open the copy on any Mac.
For a Photos library, Apple's Photos guide says to always back up your library locally, even if you use iCloud Photos, and to back up each library if you have more than one.
Clone and bootable backups
Third-party apps such as Carbon Copy Cloner and SuperDuper! make a full copy of a disk. Bombich, the maker of Carbon Copy Cloner, says you can't start an Apple silicon Mac from an external disk if its internal storage has died. It recommends a standard backup, restored with Migration Assistant, over relying on a bootable copy.
So on a modern Mac, treat a clone as a second copy of your data, not as a spare startup disk. On an Intel Mac, a bootable copy can still start the Mac on its own.
What about other backup apps?
Apple notes that other backup utilities are widely available, some backing up everything and some only certain kinds of files, and that it doesn't test or endorse them. Whatever you use, the same test applies: restore one file before you trust it.

Step 3: note what you'll need before removing app data
A backup brings files back. It doesn't tell you which license key went with which app, or that an app kept your settings in a folder you're about to remove. A few notes now save a lot of searching later.
App licenses and accounts
Apps bought outside the App Store usually keep their license on your Mac. Before removing an app's data, find its license key in your purchase email or the developer's account page, or note it from the app's own registration window.
Apps from the App Store come back from your account. Apple's steps: open the App Store, click your name in the sidebar, click Apps & Purchase History, then Your Apps, and click Redownload.
Settings live in Preferences, and they aren't caches
An app's settings live in its preferences files and its Application Support folder. Clearing them frees almost nothing and resets the app as if it were new. The post on why preferences and saved app state shouldn't be cleared explains what goes wrong.
If you're uninstalling an app for good, its preferences can go with it. If you're keeping the app, leave them alone.
Passwords are in the Passwords app and iCloud Keychain
Your saved passwords live in the Passwords app. Apple says iCloud Keychain keeps them up to date across all your devices signed in to the same Apple Account with Passwords turned on in iCloud settings. Check it's on before a big cleanup.
Never delete keychain files to free space. They're tiny, and they hold your logins. If you ever need to restore them, let Time Machine and Migration Assistant do it: Howard Oakley of Eclectic Light notes that since macOS 26.4, a login keychain copied by hand may not unlock, while those two handle it.
Sign-ins you'll have to repeat
Removing an app's data signs you out of it. Before you start, make sure you can sign back in: the email address for each account, a password in the Passwords app, and access to any two-factor codes.
Apps that count activations
Some paid apps allow only a set number of Macs per license and keep track of which ones are active. If you're removing such an app for good, sign out or deactivate it from inside the app first, as its own help describes, so the activation isn't stuck on a Mac that no longer uses it.
Fonts, plug-ins and add-ons
Fonts you installed, audio plug-ins and app extensions live in Library folders and can look like leftovers. They're often what an old document or project needs to open properly. If you don't recognize something in a Fonts or Plug-Ins folder, leave it, or note its name before moving it to the Trash.
What to note, by kind of data
| Data | Where it usually lives | Before you remove it |
|---|---|---|
| License keys | The app's own folders | Find the key in your email or account |
| App Store apps | Your Apple Account | Nothing; redownload later |
| App settings | Preferences and Application Support | Leave them unless you're uninstalling |
| Passwords | Passwords app, iCloud Keychain | Check Passwords sync is on |
| Browser profiles | The browser's own folder | Turn on the browser's sync or export bookmarks |
| The Mail folder in your Library | Use Mail's own settings, not Finder |
Step 4: make the Trash your first safety net
Finder's Move to Trash can be undone until the Trash is emptied. During a cleanup, that's the most useful property on your Mac.
Move to the Trash, don't delete
Drag items to the Trash in the Dock, or select them and press Command-Delete. To bring something back, open the Trash, select it and choose File › Put Back, which returns it to the folder it came from.
Avoid Delete Immediately during a cleanup. It skips the Trash, so Put Back can't bring the item back. The post on deleting files permanently explains when that's worth it, which isn't during a clear-out.
Wait before you empty the Trash
Use your Mac normally for a few days. Open the apps you use, the projects you work on, the folders you rely on. Anything missing turns up quickly, while Put Back still works.
Emptying the Trash is the one permanent step. Do it once you're sure, not as the last click of the cleanup.
Check whether the Trash empties itself
Finder can empty the Trash automatically. In Finder, choose Finder › Settings, click Advanced, and look at Remove items from the Trash after 30 days. If it's on, items you trash during the cleanup are deleted 30 days later. That's usually long enough, but it's worth knowing.
Items on external drives
Items you move to the Trash from an external drive go to a hidden Trash folder on that drive, and their space comes back only when the Trash is emptied. If emptying fails, the post on a Trash that won't empty goes through the causes.
Local snapshots: a short second net
If you back up with Time Machine, your Mac also keeps local snapshots: about one an hour, each kept for 24 hours. A file you deleted this morning may still be in one, even after the Trash is emptied. Restore it with Time Machine as above.
They're also why space doesn't always come back straight away after a cleanup: the snapshots still hold what you deleted, until they age out. The post on why deleting files doesn't free space covers this.
- Local snapshot on your Mac1 days
- Files deleted from iCloud Drive30 days
- Trash, with automatic emptying on30 days
- Daily Time Machine backups30 days
From Apple's documentation. Without automatic emptying, the Trash keeps items until you empty it. Weekly Time Machine backups go back further, until the backup disk is full.
During the cleanup: habits that keep it reversible
The backup is your safety. These habits make it less likely you'll need it.
Work in one area at a time
Clear Downloads, then check. Uninstall a few apps, then check. Removing many unrelated things at once makes it hard to tell which one broke something.
Keep a short note of what you removed
A line per item is enough: what it was and where it lived. If an app misbehaves next week, the note tells you what to restore from Time Machine.
Never paste Terminal commands from a guide
Commands that delete files don't use the Trash and can't be undone, and fake cleanup guides are a known way to trick people into running harmful ones. The post on Mac cleanup scams and fake Terminal commands shows how to spot them.
Use each app's own cleanup
Apps such as Photos, Mail, Messages and Xcode have their own settings for clearing what they store. They know what's safe to remove. Tools with their own cleanup command remove files directly, so what they remove can't be put back from the Trash; the backup covers it.
Leave protected folders alone
Some folders should never be cleared by hand: the home, Library, Documents and Desktop folders themselves, sync folders, the insides of a Photos or Music library, and your keychains. Clear what's inside them through the owning app instead.
What to check after the cleanup
Give it a day or two, then go through a short list.
Do your apps still work?
Open the apps you use most. Check that they're signed in, licensed and keep their settings. An app that opens as if it's new has lost its data; restore it from Time Machine before you empty the Trash.
Are your files where you expect?
Open recent projects, your Photos library and your Mail. Check a few older files too, since cleanups often catch things you haven't opened in a while.
Did the space come back?
Check System Settings › General › Storage. The numbers can take a while to update after a large deletion. If they still haven't moved, the Trash may not be empty yet, or local snapshots may still hold the files for up to a day.
Make another backup
Once everything checks out, choose Back Up Now again. Your newest backup then matches your tidied Mac, and the one from before the cleanup stays in Time Machine's history.
Make it a routine
A small tidy every month needs less backing up and less checking than a big one every year. The post on a monthly Mac storage routine turns this into ten minutes a month.
How to restore if something goes wrong
Start with the gentlest fix that works.
Put it back from the Trash
If the Trash hasn't been emptied, open it, select the item and choose File › Put Back. It returns to where it was, as if nothing happened.
Restore files or folders from Time Machine
- Open a Finder window for the place the item was, such as an app's folder in your Library.
- Open Time Machine with Spotlight.
- Go back to a backup from before the cleanup, the one you made in step 1.
- Select the item and click Restore.
For an app's settings or data, quit the app first, then restore its folders. Open the app again to check it.
Restore your whole Mac with Migration Assistant
If the damage is wider, Apple's article on restoring a Mac describes Migration Assistant. Open it from the Utilities folder, choose to transfer from a Mac, Time Machine backup or startup disk, select your backup disk and the backup from before the cleanup, then choose what to transfer.
Apple says the transfer can take hours. If your Mac can't start normally, Apple's steps begin with reinstalling macOS, then transferring from the backup.
What if there's no backup and the Trash is empty?
Then a local snapshot from the last day is the only built-in way back, if you use Time Machine. Without one, there's usually no supported way to get the file back. That's the whole case for step 1.
Do you need to delete old backups to make room?
No. Time Machine deletes its oldest backups when it needs room, and the backup from before the cleanup is one to keep for a while. If you do want backups gone, the post on deleting old Time Machine backups safely explains the supported ways.
A worked example: clearing a nearly full 512 GB Mac
Say a MacBook Air with 512 GB of storage has about 20 GB free, and its owner plans a proper clear-out: a Downloads folder full of installers, two apps they no longer use, and an old video project they want to move to an external drive.
Before the cleanup
They connect their Time Machine disk and choose Back Up Now, after saving a small test file in Documents. When the menu shows today's time, they delete the test file and restore it from Time Machine. It opens fine, so the backup is good.
Their Photos library uses Optimize Mac Storage, so its originals are in iCloud, not in the backup. They're not touching Photos today, so that's fine. They check that Passwords is turned on in iCloud settings, and find the license key for one of the two apps in an old email.
The cleanup itself
They work in three passes. First, Downloads: installers and disk images go to the Trash. Second, the two apps and the leftover folders that clearly belong to them, also to the Trash. Third, the video project: they copy it to the external drive, open the copy to make sure it plays, then move the original to the Trash.
They leave Preferences, keychains and the Photos library alone, and they don't empty the Trash.
A few days later
Opening an old presentation, they find a font missing. It was in a folder they'd trashed with one of the apps. They open the Trash, select the folder and choose File › Put Back, and the presentation looks right again.
After a few more days with nothing else missing, they empty the Trash, check System Settings › General › Storage, and choose Back Up Now again. The backup from before the cleanup stays in Time Machine's history, in case they ever need it.
How the app does it
Wombit is a native Mac app that shows what's using your storage, explains every item in plain language, and clears it safely: Trash first, undoable and logged. File names and paths never leave your Mac.
When you remove something from the map, the list or a cleanup, it goes to the Trash after a review sheet that lists each item, its size and what happens when it's removed. Undo, Put Back and Cleanup History bring items back until the Trash is emptied, and a log records every step.
The catalog describes the Trash as Review first: it may hold the only copy of something, so it's never part of a cleanup run. Emptying it happens only when you ask, after a confirmation that says it can't be undone.
~/
.Trash Items you've moved to the Trash. They still use space until the Trash is emptied.
Review first · Explained only: the app shows you how
Hourly snapshots of your startup disk that Time Machine keeps on the disk itself, so you can restore files even without your backup disk.
Managed by macOS · Runs tmutil for Time Machine's own snapshots, through the helper
Local snapshots are Managed by macOS, shown with when each was made. Tools with their own cleanup command run that command after the review sheet, which says that what a command removes can't be put back. The app never touches your backup disk.
Undo, Put Back, Empty Trash and Cleanup History are free. Cleanup is PRO: one payment of $4.99 with lifetime access. Every Pro tool's review is free to open, so you see what would go and why before you buy.
Frequently asked questions
Should I back up my Mac before cleaning it up?
Yes, before anything bigger than emptying caches. A fresh Time Machine backup is quick once the first one exists, because Time Machine copies only what changed, and it's the only way back if you remove something you later need after the Trash is emptied.
How do I check that my Time Machine backup works?
Restore one file. Open the folder it was in, open Time Machine with Spotlight, go back to a backup from before you changed or deleted it, select it and click Restore. If it opens normally, your backup can do its job.
Is iCloud Drive a backup of my Mac?
No. iCloud Drive syncs your files, so deleting a file on one device deletes it everywhere. Apple lets you recover files deleted in the past 30 days on iCloud.com, but that's a short safety net, not a history. Keep a Time Machine backup as well.
Does Time Machine back up my passwords?
Your passwords live in the Passwords app, and iCloud Keychain keeps them up to date on every device signed in to your Apple Account with Passwords turned on in iCloud settings. Time Machine backs up your Mac's keychain with your other data. Never delete keychain files to free space.
How long should I wait before emptying the Trash after a cleanup?
Long enough to use your Mac normally for a few days, so you notice anything missing while Put Back still works. Emptying the Trash is permanent. If Finder empties it automatically after 30 days, items moved during the cleanup leave on that schedule.
How do I restore my Mac if a cleanup breaks something?
For a few files or one app's data, restore them from Time Machine into their original place. For a wider problem, use Migration Assistant to transfer from your Time Machine backup; Apple says to reinstall macOS first if your Mac can't start normally.
Is a bootable clone better than Time Machine?
It's a different tool. Bombich, the maker of Carbon Copy Cloner, says an Apple silicon Mac can't start from an external disk if its internal storage has failed, and recommends a standard backup restored with Migration Assistant. A clone can still be a useful second copy.
Sources
- Back up your Mac with Time Machine · Apple
- Restore items backed up with Time Machine on Mac · Apple
- Recover deleted files on iCloud.com · Apple
- Restore your Mac from a backup · Apple
- Delete files and folders on Mac · Apple
- Beyond Bootable Backups: Adapting recovery strategies for an evolving platform · Bombich Software