What wiping your Mac means and when to do it

Wiping your Mac means erasing everything on the drive — all your files, programs, settings, and the operating system itself — and starting with a blank machine. This is different from deleting individual files or emptying the trash. A complete wipe removes data in a way that makes recovery much harder, which is why people do it before selling a Mac, giving it away, or when the machine has become too slow or cluttered to fix any other way.

You should only wipe your Mac if you are certain you will not need anything on it again, or if you have backed up everything you want to keep. Once you start the process, you cannot stop it halfway through and recover your files — the drive will be blank.

macOS gives you two main ways to wipe: erase and reinstall, which removes everything and puts a fresh copy of macOS back on the machine, or secure erase, which overwrites the drive multiple times to make recovery nearly impossible. Most people use erase and reinstall because it is faster and leaves you with a working Mac at the end.

Key Takeaways

  • Back up everything you want to keep before you start — wiping erases all files permanently and they cannot be recovered afterward.
  • The fastest method is to restart your Mac in Recovery Mode, use Erase Mac, and let it reinstall macOS automatically.
  • You will need your Apple ID and password during the process, and the Mac must stay plugged in and connected to the internet.
  • The whole process takes between one and three hours depending on your Mac's age and internet speed.
  • After wiping, your Mac will restart and ask you to set it up as new, just like when you first bought it.

Back up your Mac before you start

Before you erase anything, copy all the files and folders you want to keep to an external drive or cloud storage. The most straightforward way is to plug in an external hard drive and drag your important folders into it — your Documents folder, Desktop, Photos library, and any other files that matter to you.

If you use iCloud, your photos, documents, and mail are already backed up there, but local files on your Mac are not. Check what is actually stored on your Mac versus what is only in the cloud by opening System Settings, clicking your name at the top, then iCloud, and seeing which folders show a cloud icon.

You can also use Time Machine, which is built into macOS. Plug in an external drive, open System Settings, click General, then Time Machine, and turn it on. Let it run for at least a few hours so it captures your current files. This backup will not prevent the wipe, but it gives you a way to recover files later if you change your mind.

Restart your Mac into Recovery Mode

Recovery Mode is a special startup environment where you can erase your drive without needing the regular macOS to be working. To get there, shut down your Mac completely, then turn it back on and immediately hold down Command + R on your keyboard. Keep holding until you see the Apple logo or a spinning globe — this usually takes 10 to 20 seconds.

Your Mac will load the Recovery environment, which looks different from the normal desktop. You will see a menu with options like Restore from Time Machine, Reinstall macOS, and Get Help Online. If you do not see this menu, you held the keys too late or too early — shut down and try again.

On newer Macs with Apple Silicon chips (M1, M2, M3, and later), the process is slightly different: shut down, then press and hold the power button until you see "Loading startup options." Click Options, then Continue.

Erase your Mac using the built-in tools

Once you are in Recovery Mode, look for a tool called Erase Mac or Erase Volume. Click it, and macOS will ask you to choose which drive to erase — on most Macs there is only one, so select it. You will also choose a file system format; leave this set to APFS, which is the standard for modern Macs.

The system will ask for your Apple ID and password. This is a security feature — it prevents someone else from wiping your Mac without permission. Enter the credentials you use to sign into your Mac, then click Erase. The process will begin immediately and you will see a progress bar.

Do not shut down or unplug your Mac while the erase is running. It can take anywhere from 10 minutes to an hour depending on the drive size and your Mac's age. When it finishes, your Mac will restart automatically.

Reinstall macOS after the wipe

After the erase completes and your Mac restarts, you will be back in Recovery Mode. This time, select Reinstall macOS. Your Mac will download a fresh copy of the operating system from Apple's servers — this requires an internet connection and can take 20 minutes to an hour depending on your speed.

Once the download finishes, the installer will run automatically. Your Mac will restart several times during this process, which is normal. Each time it restarts, it will show a progress bar. Do not interrupt this — let it run to completion.

The entire reinstall usually takes one to two hours. When it finishes, your Mac will restart one final time and show the setup screen, asking you to choose a language and connect to Wi-Fi. At this point, the wipe and reinstall are complete.

Set up your Mac as new or from a backup

After the reinstall, your Mac will walk you through the initial setup just like a brand new machine. You will choose your language, connect to Wi-Fi, sign in with your Apple ID, and create a user account. You can name the account whatever you want — it does not have to match your old one.

During setup, you will see an option to restore from a Time Machine backup. If you made one before wiping, you can choose it here and your Mac will copy back all your files, programs, and settings. This is useful if you wanted to erase the drive but keep everything else the same. If you want a truly fresh start with no old files or programs, skip this step and set up as new.

After setup completes, your Mac is ready to use. If you skipped the backup restore, you can manually copy files back from your external drive or cloud storage whenever you are ready.

Secure erase if you are selling or giving away your Mac

If you are selling your Mac or giving it to someone else, a regular erase is usually enough — the new owner will set it up with their own Apple ID and account. However, if you want to make absolutely certain that no one can recover your old files, you can use secure erase instead.

Secure erase overwrites the drive multiple times with random data, making file recovery nearly impossible even with specialized tools. To do this, restart into Recovery Mode the same way as before, but look for Erase Mac options or Disk Utility. In Disk Utility, select your drive, click Erase, and look for a Security Options button. Choose the option to overwrite free space or use multiple passes.

Secure erase takes much longer than a regular erase — sometimes several hours for a large drive. It is more thorough than most people need, but it is the right choice if you are concerned about data privacy before handing the Mac to someone else.

Frequently Asked Questions

What if I forget my Apple ID password during the wipe?

You will not be able to complete the erase without it. Go to iforgot.apple.com on another device and reset your password, then try the wipe again. If you do not have access to your Apple ID account, you may need to contact Apple Support for help.

Can I wipe my Mac without losing my iCloud data?

Yes. Your iCloud data — photos, documents, mail, contacts — stays on Apple's servers and will sync back to your Mac after you set it up again and sign in with the same Apple ID. Only files stored locally on your Mac will be erased.

How long does a complete wipe and reinstall take?

The erase itself usually takes 10 minutes to an hour. The macOS download and reinstall takes another 30 minutes to two hours depending on your internet speed and Mac age. Plan for two to three hours total, and make sure your Mac stays plugged in the whole time.

What if my Mac gets stuck during the wipe?

If the progress bar stops moving for more than 30 minutes, try a force restart by holding the power button for 10 seconds until the Mac shuts down, then turn it back on and hold Command + R again to return to Recovery Mode. You can restart the erase process from there.

Do I need to reinstall my programs after wiping?

Yes. After the wipe and reinstall, you will have only the built-in macOS programs like Safari, Mail, and Finder. You will need to download and install any other programs you want, either from the App Store or from the developers' websites. Keep your license keys or login information handy.