Overview
Last scan: 2 min ago · 6 checks
Security Score
Risky command line: reverse shell
bash connecting out to port 4444
Unsigned item in LaunchAgents
How to Wipe a Mac Before Selling (Factory Reset)
Quick answer: On a Mac with Apple silicon or a T2 chip running macOS Monterey 12 or later, back up your files, then open System Settings > General > Transfer or Reset > Erase All Content and Settings. It signs you out of iCloud, turns off Find My and Activation Lock, and erases every user account and volume; on any other Mac, sign out of iCloud and Messages yourself, then erase the disk with Disk Utility in macOS Recovery and reinstall macOS.
Below: both methods step by step, what happens to your data, and the things people forget before handing a Mac over.
Too many people hand over their machines with years of personal data still on them, thinking they've done enough by creating a new user account or deleting their own. Wiping a Mac properly isn't hard, but which method you use depends on your Mac and its macOS version.
Which Method Your Mac Uses
| Your Mac | Method |
|---|---|
| Apple silicon, or Intel with a T2 Security Chip, on macOS Monterey 12 or later | Erase All Content and Settings (Erase Assistant) |
| Any other Mac, or a Mac where Erase All Content and Settings won't run | Sign out manually, then erase in Disk Utility from macOS Recovery and reinstall macOS |
That's Apple's split (Erase your Mac and reset it to factory settings). Both methods work if you follow them carefully. The newer one is just harder to get wrong.
Step One: Back Up What You Actually Need
Before you erase anything, grab what you want to keep. Time Machine is the obvious choice, and Apple's steps assume you've backed up first. Copying critical files to an external drive as well doesn't hurt: documents, photos, that AppleScript you still use.
Don't forget about application licenses. Some software limits how many Macs it can be activated on, so sign out of or deactivate those apps (Adobe's, for example) before you erase.
If your Mac is covered by AppleCare, you can transfer the plan to the buyer or cancel it (Apple's checklist links both).
The Modern Way: Erase All Content and Settings
If your Mac supports it, Apple says you don't need any of the other steps in its sell-or-trade-in checklist (Apple Support). Here's the process:
- From the Apple menu, choose System Settings.
- Click General in the sidebar, then click Transfer or Reset.
- Click Erase All Content and Settings.
- Enter your Mac login password when Erase Assistant asks for your administrator information, and your Apple Account password when it asks for that.
- Review the list of items that will be removed, then click Continue and follow the onscreen instructions. If you're asked whether to sign back in to your Apple Account, ignore it and click Erase All Content & Settings.
According to Apple's Mac User Guide, Erase Assistant signs you out of Apple services such as iCloud, turns off Find My and Activation Lock, and erases your content, settings and apps, all volumes, and every user account on the Mac, not just yours.
The Mac then restarts. It may ask you to turn on a Bluetooth keyboard or mouse, or to join Wi-Fi so it can activate. When the setup assistant appears, don't set it up: press and hold the power button until the Mac turns off. That leaves it in an out-of-box state for the buyer.
On macOS Monterey 12 itself, the option lives in the System Preferences menu in the menu bar instead of under General.
What happens to your data
On Macs with Apple silicon or a T2 chip, data on the internal storage is always encrypted, and the keys that protect it are designed to be erased quickly on demand with Erase All Content and Settings (Apple Platform Security). Without those keys, the old data can't be read, so the Mac doesn't need to overwrite every block of storage.
It's like shredding the only key to a safe instead of emptying the safe by hand.
The Older Way: macOS Recovery and Disk Utility
If your Mac doesn't have Erase All Content and Settings, sign out of everything first, because erasing the disk won't do it for you:
- Sign out of iCloud. On macOS 13 or later: System Settings, click your name, then Sign Out. On macOS 10.15 to 12: System Preferences > Apple ID > Overview > Sign Out. Signing out also turns off Find My Mac. When asked whether to keep a copy of your iCloud data on this Mac, keeping it is faster, since you're about to erase it anyway.
- Sign out of iMessage. In Messages, choose Messages > Settings (or Preferences), click iMessage, then Sign Out.
- Deauthorize iTunes only if the Mac runs macOS Mojave 10.14 or earlier: in iTunes, choose Account > Authorizations > Deauthorize This Computer. Apple says to skip this on macOS Catalina 10.15 or later.
- Unpair Bluetooth accessories you're keeping, and rename any you're handing over if the name includes your name.
Then erase and reinstall:
- Start up from macOS Recovery. On an Intel Mac, hold Command-R as it starts up.
- In the list of utilities, select Disk Utility, then click Continue.
- Select Macintosh HD in the sidebar, click Erase, and keep the name Macintosh HD. For Format, pick APFS or Mac OS Extended (Journaled), whichever Disk Utility recommends (Apple Support).
- Click Erase Volume Group (or Erase, if that button isn't shown), and enter your Apple Account details if asked.
- Quit Disk Utility, choose Reinstall macOS, and follow the instructions.
- When the Mac restarts to the setup assistant, press Command-Q to shut down instead of continuing setup.
Apple also suggests resetting NVRAM on an Intel-based Mac, which clears user settings from memory, then shutting down again at the setup assistant.
Why You Don't Need to "Zero Out" an SSD
This is where old advice causes trouble. On a traditional spinning hard drive, overwriting your data with Disk Utility's Security Options made sense. On a solid-state drive, Apple's Disk Utility guide says secure-erase options aren't available, and recommends FileVault encryption instead (Disk Utility User Guide).
So some guides' advice to run dd commands or third-party wiping tools on a Mac's SSD mostly adds wear for little benefit. On Apple silicon and T2 Macs, the key erase described above is what makes the old data unreadable. On an older Intel Mac with an SSD, having FileVault turned on before you erase means the leftover data was stored encrypted.
If you handle classified data or work under a formal data-destruction policy, follow that policy and your IT team, not a blog post.
What About FileVault?
Turn it on if it isn't already. On Apple silicon and T2 Macs, the internal storage is encrypted even without FileVault; FileVault adds the requirement that your login password unlocks it at startup. On Intel Macs without a T2 chip, FileVault is what encrypts the disk at all.
Either way, it doesn't change the erase steps above.
The Stuff You Might Forget
External drives. If you're handing over an external drive too, erase it separately in Disk Utility. If you're keeping your Time Machine drive, leave it alone: it's your backup.
Third-party accounts. Password managers, cloud storage apps and software with activation limits keep your account on their servers. Erasing the Mac signs it out locally, but deactivate the Mac in those services' account settings if they count devices.
Browser data. Saved passwords, bookmarks and history are erased with the Mac. If you only delete your user account instead of erasing the whole Mac (which isn't enough for a sale), they stay behind.
Network settings. Your Mac remembers Wi-Fi passwords, VPN configurations, and network preferences. A full erase removes them, which matters if they include work network details.
A company Mac. If your employer or school manages the Mac, ask IT before erasing it. Managed Macs may need to be released from the organization's device management first.
When the Simple Approach Isn't Enough
Most people can stop here. If you have compliance requirements, your organization may need documentation that the erase happened, which is a job for your IT team's device-management tools.
If Erase All Content and Settings isn't available or doesn't complete, Apple's fallback is the Recovery method above. If Disk Utility can't see the disk or reports that the erase failed, Apple says the Mac might need service.
The Bottom Line
Erase All Content and Settings is the right tool on any Mac that supports it. It's fast, it signs you out of iCloud and turns off Find My and Activation Lock, and it erases every account on the Mac.
For older Macs, the Recovery method works but takes longer and needs the manual sign-outs first. Either way, be methodical: back up, sign out, erase, and shut down at the setup assistant.
Leave time for the backup, which is usually the slowest part. Don't hand the Mac over until you've seen the setup assistant appear after the erase.
Related Guides
What is cloudd?
cloudd is the background daemon that handles CloudKit operations on macOS.
What is bird?
bird is the macOS daemon responsible for syncing files between your Mac and iCloud Drive.
What is accountsd?
accountsd is the macOS daemon that manages all internet accounts configured in System Settings, including iCloud, Google, Microsoft Exchange, Yahoo, and other email/calendar/contacts providers.