What wiping your Mac means and when you need to do it

Wiping a Mac means erasing everything on the hard drive — all files, programs, settings, and the operating system itself — and starting fresh. This is different from deleting individual files or emptying the trash. A wipe removes data at a level that standard deletion cannot recover.

You might wipe your Mac before selling it, giving it away, or recycling it. You might also wipe it if the system has become too slow or unstable to repair through normal troubleshooting, or if you want to remove malware that standard removal tools cannot handle. Some people wipe their Mac as part of a major upgrade or when switching to a different user account structure.

Before you wipe, back up anything you want to keep. Once the process starts, recovery becomes difficult or impossible without a backup. If you have not backed up yet, use Time Machine or iCloud to save your files first.

Key Takeaways

  • Wiping a Mac erases everything on the drive, so back up your files to Time Machine, iCloud, or an external drive before you start.
  • The fastest method for most users is to restart in Recovery Mode, erase the drive using Disk Utility, and reinstall macOS from the same menu.
  • If you plan to sell or give away the Mac, use Erase All Content and Settings (on newer Macs) or Recovery Mode (on older models) to may support data cannot be recovered.
  • After wiping, your Mac will boot into the macOS setup screen, where you can create a new user account or sign in with an Apple ID.

Back up your files before you start

The most common backup method is Time Machine, which comes built into macOS. Plug in an external hard drive or connect to a Time Machine-compatible network drive, open System Settings, go to General, then Time Machine, and click Add Backup Disk. Select your drive and let Time Machine run. A full backup can take several hours depending on how much data you have.

If you prefer cloud backup, iCloud can sync your Documents, Desktop, Photos, and Mail. Open System Settings, click your Apple ID at the top, select iCloud, and toggle on iCloud Drive and any other categories you want to back up. Files sync automatically over time.

You can also manually copy important files to an external drive using Finder. Plug in the drive, drag your folders into it, and wait for the copy to finish. This method gives you direct control over what gets backed up.

Wipe your Mac using Recovery Mode

Recovery Mode is the standard way to wipe a Mac. Shut down your computer completely. Then turn it 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 — this usually takes 30 seconds to two minutes.

In the Utilities window, click Disk Utility. In the left sidebar, select your main drive (usually called "Macintosh HD" or similar). Click the Erase button at the top. A dialog box will ask for a name for the drive — you can leave it as is or type a new name. Choose APFS as the format (or Mac OS Extended if your Mac is very old). Click Erase and wait for the process to finish, which usually takes a few minutes.

After the drive is erased, close Disk Utility and return to the Utilities window. Click Reinstall macOS and follow the prompts. Your Mac will read and install the operating system that originally came with your computer. This can take 30 minutes to an hour depending on your internet speed. Your Mac will restart several times during installation.

Use Erase All Content and Settings on newer Macs

If your Mac runs macOS Monterey or later (released in 2021 or after), you have a simpler option: Erase All Content and Settings. This built-in tool wipes everything and reinstalls macOS without needing Recovery Mode.

Open System Settings and click General in the left sidebar. Scroll down and click Transfer or Reset. Select Erase All Content and Settings. Your Mac will ask you to sign out of your Apple ID and iCloud — do this, as the system needs to disconnect from your account before erasing. Click Continue and confirm that you want to erase. Your Mac will restart and begin the wipe process, which takes 15 to 30 minutes.

This method is faster than Recovery Mode and leaves less room for error, so use it if your Mac supports it. When the wipe is complete, your Mac will show the setup screen, just as it did when new.

What to do if your Mac will not start normally

If your Mac will not boot into the regular operating system, you can still wipe it using Recovery Mode. Shut down the computer, turn it back on, and hold Command and R. Even if macOS will not load normally, Recovery Mode usually works because it runs from a separate partition on the drive.

If Recovery Mode does not appear after holding Command and R for two minutes, try Command and Option and R instead. This loads Internet Recovery, which downloads the tools you need from Apple's servers. Internet Recovery is slower but works when the local Recovery partition is damaged.

If neither method works, your drive may have a hardware failure. In that case, you will need to take your Mac to an Apple Store or a certified repair shop. They can run diagnostics and replace the drive if needed.

Set up your Mac after wiping

After the wipe and reinstall finish, your Mac will show the Setup Assistant screen. You can sign in with your Apple ID to restore some settings and re-read apps from the App Store, or you can create a new local user account without an Apple ID. Choose whichever fits your situation.

If you backed up with Time Machine, you can restore from that backup during setup. The Setup Assistant will ask if you want to restore from a backup — select your Time Machine drive and choose the backup you want. This restores your files, apps, and settings, though it takes longer than a fresh start.

If you want a completely clean start without restoring a backup, click "Don't Transfer Any Information" and proceed. You will need to reinstall your programs and reconfigure your settings, but you will have a fresh system with no old files or settings.

Wipe your Mac before selling or giving it away

If you are selling or giving away your Mac, use either Erase All Content and Settings (on newer Macs) or Recovery Mode (on older ones). Both methods securely erase the drive so that the new owner starts with a clean system and cannot recover your old files.

Do not just delete your files or empty the trash — deleted files can often be recovered with the right tools. A full wipe using Disk Utility or Erase All Content and Settings overwrites the drive in a way that makes recovery much harder.

After wiping, leave the Mac at the Setup Assistant screen. The new owner can then create their own account and set up the system as they like. If you are shipping the Mac, include the power adapter and any original cables, but do not include any of your personal accounts or data.

Frequently Asked Questions

Can I undo a wipe after I have started it?

Once the erase process begins, you cannot undo it through normal means. If you have a Time Machine backup, you can restore from it after the wipe is complete. If you do not have a backup, the data is gone. This is why backing up before you wipe is so important.

How long does it take to wipe a Mac?

The erase itself usually takes 5 to 15 minutes. Reinstalling macOS takes 30 minutes to an hour depending on your internet speed. The whole process from start to finish typically takes 1 to 2 hours. Erase All Content and Settings is faster, usually 30 to 45 minutes total.

Do I need an internet connection to wipe my Mac?

You need internet to read and reinstall macOS. If your Mac is not connected to Wi-Fi, it will prompt you to connect during the reinstall step. If you cannot connect to Wi-Fi, you can use a wired Ethernet connection with an adapter, or take your Mac to a location with Wi-Fi.

What if I forget my password before wiping?

You do not need your password to enter Recovery Mode — just hold Command and R at startup. However, if you are signed into an Apple ID, you may be asked to sign out before erasing. If you do not know your Apple ID password, you can reset it at iforgot.apple.com before you start the wipe.

Will wiping remove the viruses or malware on my Mac?

Yes. Wiping erases everything on the drive, including any malware. When you reinstall macOS, you get a clean operating system. However, if the malware came from a file you downloaded, make sure you do not restore that file from your backup after wiping.