What wiping a Mac actually does
Wiping a Mac means erasing everything on the drive — your files, applications, settings, and the operating system itself — so that nothing can be recovered by someone who gets the computer later. This is different from deleting files or emptying the trash. When you delete a file normally, the data stays on the drive in a form that recovery software can still read. A complete wipe overwrites that space so thoroughly that recovery becomes impractical.
You need a complete wipe if you are selling the Mac, giving it away, or sending it to recycling. A partial cleanup — moving files to an external drive or deleting your browser history — leaves behind enough personal information that someone with basic tools could still access your passwords, financial records, photos, or medical documents.
Apple provides two main methods depending on your Mac's age and what you want to do with it afterward. One method erases the drive and leaves the Mac ready for a new owner to set up. The other erases the drive and reinstalls macOS so you can use the Mac yourself again.
Key Takeaways
- Back up your Mac to an external drive or cloud storage before you start, because wiping erases everything and there is no undo.
- Sign out of iCloud, Apple ID, and Find My Mac before you wipe, or the next owner will be locked out of the device.
- Use Erase All Content and Settings (on newer Macs) or Erase and Reinstall (on older Macs) to wipe the drive completely.
- After wiping, the Mac will restart and show the setup screen, ready for a new owner or for you to set up again.
- Keep your backup drive separate from the Mac you are wiping, and do not plug it in until after the wipe is complete.
Before you wipe: back up and sign out
The first step is to back up everything you want to keep. Connect an external hard drive or use iCloud to copy your files, photos, documents, and any other data you need. This is your only chance to save anything — once you wipe the Mac, recovery is extremely difficult and expensive. If you use Time Machine (Apple's built-in backup tool), plug in an external drive, open System Preferences, click Time Machine, and select the drive. Let it run until the backup is complete.
Next, sign out of the accounts that lock the Mac to you. Open System Preferences (or System Settings on newer Macs), go to Apple ID, and click Sign Out. You will be asked whether to keep a copy of your iCloud data on the Mac — choose not to keep it. Then go to Find My, click Find My Mac, and turn it off. If you do not remove these locks, the next owner will see a screen asking for your Apple ID password and will not be able to use the Mac.
If you use FileVault (Apple's encryption tool), you do not need to turn it off first — the wipe process handles it. But if you have forgotten your FileVault password, you will need to contact Apple Support before you can wipe the drive.
Wiping on newer Macs (2022 and later with Apple silicon)
On newer Macs with Apple silicon chips (M1, M2, M3, and later), use Erase All Content and Settings. Restart the Mac and hold down the power button until you see the startup options screen. Click Options, then select your user account and enter your password. Choose Erase All Content and Settings from the menu.
The Mac will ask you to confirm. It will warn you that this action cannot be undone — this is normal. Click Erase. The process takes 15 to 30 minutes depending on how much data is on the drive. Do not interrupt it or unplug the Mac. When it finishes, the Mac will restart and show the setup screen, as if it just came from the factory.
If you plan to sell or give away the Mac, you are done. If you want to use it yourself, continue through the setup screens to create a new user account and sign back into iCloud.
Wiping on older Macs (2021 and earlier)
On older Macs, use Erase and Reinstall. Restart the Mac and hold Command + R until you see the macOS Utilities window. Click Disk Utility, then select your main drive (usually called Macintosh HD) from the list on the left. Click Erase at the top. Name the drive (Macintosh HD is fine), choose APFS as the format, and click Erase.
When the erase is complete, close Disk Utility and return to the macOS Utilities window. Click Reinstall macOS and follow the prompts. The Mac will read and install a fresh copy of the operating system — this takes 30 to 60 minutes depending on your internet speed. When it finishes, the Mac will restart and show the setup screen.
If you are keeping the Mac, set up a new user account and sign back in. If you are giving it away or selling it, leave it on the setup screen for the new owner.
What to do with the Mac after wiping
Once the wipe is complete and the Mac shows the setup screen, your personal data is gone. If you are selling the Mac, include the power adapter and any original cables, and let the buyer know the Mac is ready to set up. If you are recycling it, take it to an Apple Store or an electronics recycler that handles e-waste — do not throw it in the trash.
If you are keeping the Mac for yourself, go through the setup process to create a new user account. You can restore your files from the backup you made earlier by using Time Machine or by copying files from your external drive. Do not restore from a Time Machine backup that includes system files or settings from before the wipe — restore only your documents, photos, and other personal files.
Keep your backup drive in a safe place. Even though the Mac is wiped, your backup still contains all your old data, so treat it the same way you would treat the Mac itself.
What happens if something goes wrong
If the Mac gets stuck during the wipe, do not force it off. Let it sit for at least an hour — the process may still be running in the background. If it is truly frozen, hold the power button for 10 seconds to force a shutdown, then try again from the beginning.
If you see an error message about FileVault or a locked drive, the Mac may be encrypted and you may need your password to proceed. If you have forgotten the password, contact Apple Support before trying again. If you see a message about a recovery key, you will need that key to continue — check your email or Apple ID account for it.
If the Mac will not restart after the wipe, try restarting it manually by holding the power button for 10 seconds, releasing it, and then pressing it again to turn it back on. If it still will not start, the drive may have a hardware problem and you should take the Mac to an Apple Store or a may have access to repair technician.
Frequently Asked Questions
Can I wipe a Mac remotely if I do not have it with me?
No, you must have physical access to the Mac to wipe it. You can use Find My Mac to erase it remotely if you have set that up beforehand, but you still need to be able to restart the Mac or have someone else do it for you. If you no longer have access to the Mac, contact Apple Support.
Will wiping the Mac remove the operating system?
Erase All Content and Settings removes everything and leaves the Mac ready for setup. Erase and Reinstall removes everything and then puts a fresh copy of macOS back on the drive. Either way, the Mac will be ready to use or sell when the process is done.
What if I change my mind after I start wiping?
You cannot stop the wipe once it starts. If you realize you forgot to back something up, let the wipe finish, then restore from a backup if you have one. If you do not have a backup, the data is gone.
Do I need to remove the SSD or hard drive before I wipe?
No. The wipe process handles the entire drive. You do not need to physically remove or replace anything. If you want to be extra cautious before selling the Mac, you can have a technician physically destroy the drive, but this is not necessary if you have completed a full wipe.
How do I know the wipe actually worked?
If the Mac restarts and shows the setup screen (asking you to choose a language and create an account), the wipe worked. Your personal data is no longer on the drive. If you want absolute certainty, you can use a tool like Disk Utility to verify that the drive is empty, but the setup screen is a reliable sign that the process succeeded.