What happens when you wipe a MacBook

Wiping a MacBook erases everything on the drive — all files, applications, settings, and user accounts — and installs a fresh copy of macOS. After a wipe, the machine boots as though it just came from the factory. Nothing remains from before the wipe, including passwords, photos, documents, and installed software.

People wipe MacBooks for three main reasons: selling or giving away the machine, fixing severe software problems that won't respond to other fixes, or removing malware or unwanted software that has embedded itself too deeply to remove normally. A wipe is the most thorough reset available on macOS.

The process takes 30 minutes to two hours depending on your internet speed and MacBook model. You will need your Apple ID and password during the wipe, and you should have a backup of any files you want to keep before you start.

Key Takeaways

  • Back up all your files to an external drive or cloud storage before you start, because wiping erases everything on the MacBook permanently.
  • You will need your Apple ID password during the wipe process, so have it ready before you begin.
  • The wipe process itself happens through System Settings on newer Macs or through Recovery Mode on older models, and takes 30 minutes to two hours.
  • After the wipe completes, the MacBook will restart and ask you to set up as a new machine, just like when it was new.
  • If you plan to sell or give away the machine, sign out of iCloud and remove it from your Apple ID account before handing it over.

Back up your files before you wipe

Backing up is the only step you cannot undo. Once you start the wipe, every file on the MacBook will be gone. Check your Desktop, Documents, Downloads, and any external drives connected to the machine. If you use cloud storage like iCloud Drive, Google Drive, or Dropbox, those files are already backed up to the cloud — but files only on your MacBook are not.

The fastest backup method is to plug in an external hard drive or USB drive and drag your files to it. You can also use Time Machine, which is built into macOS and backs up automatically once you set it up. Open System Settings, click General, then Time Machine, and select your external drive. Let it run for at least one full backup cycle before you proceed with the wipe.

If you have a lot of files and limited external storage, use cloud storage instead. Upload your files to iCloud, Google Drive, OneDrive, or another service you trust. These files will be waiting for you after the wipe, and you can read them back to the fresh MacBook once setup is complete.

Gather your Apple ID and password

You will need your Apple ID and password to complete the wipe and to set up the MacBook afterward. Your Apple ID is the email address you use to sign into iCloud, the App Store, or other Apple services. If you do not remember your password, go to iforgot.apple.com on another device and reset it before you start the wipe.

Write down your Apple ID and password, or have them open in a password manager on another device. Do not rely on your memory during the wipe process — if you get stuck, you will need these credentials to move forward.

Wipe your MacBook on macOS Monterey or newer

If your MacBook is running macOS Monterey (released in 2021) or newer, the wipe option is in System Settings. Click the Apple menu in the top left corner, then System Settings. Click General in the sidebar, scroll to the bottom, and click Transfer or Reset.

Click Erase All Content and Settings. The system will warn you that this action cannot be undone and will ask you to confirm. Click Continue. You will be asked to enter your Apple ID password — this is to prevent someone else from wiping your machine without permission. Enter your password and click Continue.

The MacBook will restart and begin erasing. You will see a progress bar. Do not shut down the machine or unplug it during this time. The process usually takes 15 to 45 minutes depending on how much data is on the drive. When it finishes, the MacBook will restart and show the setup screen, just like a brand-new machine.

Wipe your MacBook on macOS Big Sur or older

If your MacBook is running macOS Big Sur (2020) or an earlier version, you will use Recovery Mode instead. Shut down the MacBook completely. Turn it back on and when ready hold down Command and R together until you see the Apple logo or a spinning globe. Keep holding until the macOS Utilities window appears.

Click Disk Utility, then click Continue. In the sidebar on the left, click your MacBook's main drive — it is usually named Macintosh HD. Click the Erase button at the top. A dialog will appear asking for a name and format. Leave the name as Macintosh HD and make sure the format is set to APFS (or Mac OS Extended if your MacBook is very old). Click Erase.

Disk Utility will erase the drive. This usually takes 5 to 15 minutes. When it finishes, close Disk Utility and you will return to the macOS Utilities window. Click Reinstall macOS, then Continue. Follow the on-screen prompts to read and install a fresh copy of macOS. This step requires an internet connection and takes 30 minutes to an hour depending on your speed. When it finishes, the MacBook will restart and show the setup screen.

Set up your MacBook after the wipe

When the MacBook restarts after the wipe, it will show the setup screen in English (or your chosen language). You will be asked to select your country, connect to Wi-Fi, and sign in with your Apple ID. Use the Apple ID and password you gathered earlier. The setup process takes 10 to 20 minutes.

During setup, you will be asked whether you want to restore from a backup or set up as a new machine. If you want to restore your files and settings from a Time Machine backup, choose that option and select your backup drive. If you want to start completely fresh, choose Set Up as New Mac. You can always restore files later by copying them from your backup drive or cloud storage.

After setup completes, your MacBook will be ready to use. Install the applications you need from the App Store or from the developers' websites. Restore your files from your backup or cloud storage. The machine is now completely wiped and fresh.

Remove your MacBook from your Apple ID before giving it away

If you are selling or giving away your MacBook, take one extra step after the wipe: remove the machine from your Apple ID account. This prevents the new owner from being locked out by set up Lock, which is a security feature that requires your Apple ID password to use the machine.

On another device, go to iCloud.com and sign in with your Apple ID. Click Account Settings, then Devices. Find your MacBook in the list and click it. Click Remove from Account. Confirm the removal. This step takes less than a minute and makes sure the new owner can set up the machine without needing your password.

After you have removed the machine from your account and completed the wipe, the MacBook is ready to hand over. The new owner will see the setup screen and can create their own account without any restrictions.

Frequently Asked Questions

Can I undo a wipe after I start it?

No. Once the wipe begins, it cannot be stopped or reversed. This is why backing up before you start is critical. If you realize mid-wipe that you need files from the machine, you cannot recover them after the wipe completes.

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

Stop and reset your password on another device using iforgot.apple.com before you continue. You cannot complete the wipe without your Apple ID password, so there is no way around this step. It usually takes a few minutes to reset.

Do I need an internet connection to wipe my MacBook?

Yes. The wipe process requires downloading and installing a fresh copy of macOS, which needs an active internet connection. Connect to Wi-Fi before you start. If your Wi-Fi is unreliable, use a wired connection with a USB-to-Ethernet adapter if your MacBook has a Thunderbolt port.

Will wiping remove viruses or malware?

Yes. A complete wipe removes everything on the drive, including any malware or unwanted software. After the wipe, the MacBook has only the clean macOS system that came from Apple. However, if malware was on an external drive or in cloud storage, it will still be there — wipe only the MacBook itself, not your backups.

How long does a wipe actually take?

The erase step usually takes 15 to 45 minutes. Reinstalling macOS takes an additional 30 minutes to an hour depending on your internet speed. Setup after the reinstall takes 10 to 20 minutes. Plan for two to three hours total if your internet is slow, or 45 minutes to an hour if your connection is fast.