Mac maintenance
How to Clean Your Mac Before Selling It (Properly)
Step-by-step guide to cleaning your Mac before selling — sign out of everything, wipe data securely, and hand it over without leaving anything behind.
Selling a Mac without preparing it properly is one of those mistakes that doesn’t bite you until it’s too late. The buyer finds your iCloud account still signed in. Your Apple ID is still locked to it. They can’t fully use the machine, you can’t easily prove you’re not scamming them, and now there’s a refund dispute on a $900 transaction.
This is the procedure I use whenever I sell a Mac, distilled down to what actually matters. It’s slightly different from “wiping” a Mac — cleaning is the broader process that includes the wipe but also covers the boring administrative bits people forget.
Before you do anything: take stock
You’re going to wipe this machine. So now is the time to make sure everything you care about is somewhere else. Specifically:
- Time Machine backup, ideally to an external drive you’ll keep
- iCloud Drive sync confirmed complete — open Finder, navigate to iCloud Drive, check no files have the cloud-with-arrow icon (still uploading)
- Photos library backed up — either via iCloud Photos (verify all photos uploaded) or copied off
- Authentication codes — anything in Keychain that’s not in iCloud Keychain (some Wi-Fi passwords, some software licenses) should be exported or noted
- Software licenses — apps that license to a specific machine need to be deauthorized first (more on this below)
Don’t skip this. The number of people who’ve wiped a Mac and then realized their Photos library was 80% local-only is depressingly high.
Sign out of everything (in order)
Order matters here. Doing it backward makes things harder.
1. Apple Music / iTunes Store / TV authorizations
If you’ve ever used the Mac to play purchased iTunes content, deauthorize it: open Music → Account menu → Authorizations → Deauthorize This Computer. You only get 5 authorizations per Apple ID at a time, and unauthorized old machines are annoying to recover.
2. iMessage
Open Messages → Settings → iMessage → Sign Out. If you skip this, iMessages may continue to route to the old Mac for some hours, especially if the buyer signs in with their own ID.
3. iCloud
Apple Menu → System Settings → [Your Apple ID] → Sign Out. macOS will prompt you to keep or remove a copy of various data on this Mac. Since you’re wiping anyway, the choices don’t matter much, but I usually pick “keep on this Mac” — it’s faster, and the wipe will remove everything anyway.
4. Find My
This is part of iCloud sign-out, but verify: System Settings → [Your Apple ID] → iCloud → Find My Mac → Off. This is critical. If you forget, the new owner can’t activate the machine — it’s locked to your Apple ID.
5. Other accounts
Any non-Apple cloud service tied to the machine: Dropbox, Google Drive, OneDrive, Backblaze, 1Password (if it has a “trust this device” model), GitHub, Adobe Creative Cloud (which licenses per machine — sign out!), Microsoft 365.
For each: open the app, find Account, sign out. Don’t just delete the app — that may not deactivate the license on the server side.
Clean up before the wipe (optional but worth it)
You’re about to erase the disk anyway, but a quick cleanup before the wipe means:
- The backup you’re taking is smaller and faster
- If you change your mind and decide to keep the Mac, you’ve already done the cleanup
- It surfaces apps and files you might want to handle differently before erasing
Quickly clear:
- Downloads folder — old installers, ZIPs, random files
- Trash — Finder → Empty Trash
- Browser caches and history if any data feels sensitive (though the wipe handles this anyway)
- iOS device backups — these can be 20+ GB each in
~/Library/Application Support/MobileSync/Backup/
If you’re keeping the backup that you’ll restore to your next Mac, you don’t want 80 GB of cruft riding along. A pre-wipe cleanup makes the migration much cleaner.
Now do the actual wipe
The right way depends on your Mac. Apple Silicon (M1, M2, M3, M4) and T2-equipped Intel Macs use Erase All Content and Settings — same as iPhone. Older Intel Macs without T2 need the old Recovery dance.
Apple Silicon and T2 Macs
System Settings → General → Transfer or Reset → Erase All Content and Settings. macOS will:
- Ask for your admin password
- Walk you through final iCloud sign-out (if you somehow skipped it)
- Erase the data partition
- Reset to factory state
Takes 5–10 minutes. The drive is encrypted by default with FileVault on these machines, so erasing the encryption key effectively shreds all data instantly. You don’t need to “secure erase” multiple times — that’s an HDD-era concept that doesn’t apply here.
Older Intel Macs (no T2)
Boot into Recovery: shut down, then power on while holding Cmd-R. Once Recovery loads:
- Disk Utility → select the internal drive → Erase. Format as APFS.
- Quit Disk Utility, then Reinstall macOS from the main Recovery menu.
- Don’t sign in with your Apple ID during Setup Assistant — let the buyer do it.
- Quit Setup Assistant with Cmd-Q so the buyer sees the “Welcome” screen on first boot.
If FileVault was enabled (it should be — System Settings → Privacy & Security → FileVault), the encryption key wipe makes the data unrecoverable. If FileVault was disabled, you might want to do an “Erase” with security options that overwrite — but on an SSD, this is largely theatrical and just wears the drive.
Verify before handing it over
Power on the Mac. You should see the Setup Assistant “Hello” / “Welcome” screen. Don’t click through it. Shut it down using the power button (since you can’t reach the menu on the welcome screen).
Then check on your end:
- iCloud → Find My → confirm the Mac doesn’t appear in your devices
- Apple ID → Devices (in System Settings on another Apple device, or appleid.apple.com) → confirm it’s gone
- Any non-Apple service you signed out of → confirm in their settings page
Physical cleanup
People pay more for clean hardware. Worth doing:
- Screen — slightly damp microfiber, no paper towels
- Keyboard — compressed air; for stuck keys on certain MacBook models, Apple’s keyboard service program may apply
- Ports — compressed air to clear lint
- Body — slightly damp microfiber; for stubborn marks, plain water on the cloth, never solvents
- Original box — find it. It improves resale value 10–20%.
Take good photos for your listing in natural light. Show the actual condition. A buyer who knows the dent on the corner is fine; a buyer who’s surprised by it leaves a bad review.
Common mistakes I see
A few things people get wrong:
- Forgetting to deauthorize Adobe. Creative Cloud allows two activations. If you sell with it still active, you’ve burned an activation slot. Sign out of CC before the wipe.
- Selling with FileVault enabled and data still there. If you only “deleted” files but didn’t erase the volume, an experienced buyer can recover them. Always do the formal Erase All Content and Settings flow.
- Leaving an EFI password. Some users set firmware passwords years ago and forgot. If the Mac asks for a password before macOS even loads, clear it (System Settings → Privacy → or via Recovery on Intel) before selling. Otherwise the buyer has a brick.
- Activation Lock left on. Single most common cause of post-sale disputes.
What about the box and accessories?
Include the original charger if you have it. If the cable’s frayed, mention it in the listing. Don’t include accessories that have your data on them — that USB drive with old documents stays with you.
Pricing reality check
Used Mac prices live on Swappa and Apple’s Trade In. Apple typically offers 50–70% of private-sale value, but the convenience is enormous (they take the device, you don’t deal with strangers). For high-end Macs, private sale wins. For 4-year-old MacBook Airs, the difference is often $50 — not worth the hassle for many people.
A clean Mac, properly wiped, with a working battery and original box, in 2026 will sell quickly at fair value. A Mac that’s “almost ready” with someone else’s iCloud account still signed in will not.