What wiping your Mac means and when to do it

Wiping your Mac means erasing everything on the hard drive or solid-state drive and starting fresh with a clean operating system. This is different from straightforward deleting files — it removes the entire contents of your storage, then reinstalls macOS from scratch. After a wipe, your Mac will feel like it did the day it left the factory.

You might wipe your Mac before selling it, giving it away, or handing it to someone else. You might also wipe it if your Mac has slowed down dramatically, has persistent software problems, or if you want to remove years of accumulated files and settings. A wipe is also the most thorough way to remove malware or spyware.

Wiping is permanent — once you erase the drive, the data cannot be recovered unless you have a backup. Before you start, make sure you have backed up anything you want to keep.

Key Takeaways

  • Back up your entire Mac using Time Machine or another backup tool before you wipe, because wiping erases everything and cannot be undone.
  • Sign out of iCloud and disable Find My Mac before you start the wipe process, or you may not be able to complete it.
  • Use Erase Mac in System Settings (on newer Macs) or Erase Free Space in Disk Utility (on older Macs) to wipe the drive and reinstall macOS in one process.
  • The wipe and reinstall takes 30 minutes to several hours depending on your Mac's age and internet speed, and your Mac will restart multiple times.
  • After the wipe is complete, your Mac will boot into the setup screen, and you can choose to set it up as new or restore from your backup.

Back up your Mac before you wipe

The most important step is backing up first. Once you wipe your Mac, everything is gone. If you have not backed up and you change your mind, there is no way to get your files back.

The easiest way to back up is to use Time Machine, which is built into macOS. Plug in an external hard drive, open System Settings, go to General > Time Machine, and click Add Backup Disk. Select your external drive and let Time Machine run. It will take as long as your Mac has data — often several hours the first time. After that, Time Machine backs up automatically whenever the drive is plugged in.

If you do not have an external drive, you can back up to iCloud by going to System Settings > [Your Name] > iCloud and turning on iCloud Drive. However, iCloud storage is limited (usually 5 GB free), so this works only if you do not have much data. You can also back up to a cloud service like Google Drive, Dropbox, or OneDrive by downloading their apps and uploading your files.

Sign out of iCloud and disable Find My Mac

Before you wipe, you must sign out of iCloud and turn off Find My Mac. If you do not, your Mac will ask for your Apple ID password during the wipe process and may not let you complete it. This is a security feature — Apple wants to make sure you own the Mac.

Go to System Settings, click your name at the top, scroll down, and click Sign Out. macOS will ask you what to do with your iCloud data (keep it on Mac, or remove it). Choose based on whether you want to keep that data — if you are wiping to sell the Mac, choose Remove. You will also see an option to keep Find My Mac on or turn it off. Turn it off now.

If you have a Mac with an Apple silicon chip (M1, M2, M3, or newer), you may also need to turn off System Integrity Protection before you wipe. This is less common, but if the wipe process gets stuck, you may need to restart into Recovery Mode and disable it there.

Wipe your Mac using Erase Mac (newer Macs)

If your Mac is running macOS Monterey or newer, the easiest way to wipe is to use the built-in Erase Mac tool. This erases your drive and reinstalls macOS in one process.

Go to System Settings, click General, scroll to the bottom, and click Transfer or Reset. Click Erase All Content and Settings. Your Mac will ask you to confirm — click Continue. It will also ask for your password. Enter it and click Continue again.

Your Mac will restart and begin the erase process. You will see a progress bar. Do not turn off your Mac or unplug it. The process usually takes 30 minutes to an hour, though it can take longer on older Macs or if your internet is slow. Your Mac will restart several times during this process — that is normal.

When the erase is complete, your Mac will boot into the setup screen. You can set it up as a new Mac, or if you have a backup, you can restore from that backup during setup.

Wipe your Mac using Disk Utility (older Macs)

If your Mac is running macOS Big Sur or older, or if Erase Mac is not available, you can wipe using Disk Utility. This method requires you to restart into Recovery Mode first.

Restart your Mac and hold down Command + R as it boots. Keep holding until you see the Apple logo or a spinning globe. This boots you into Recovery Mode. When the macOS Utilities window appears, click Disk Utility and then Continue.

In Disk Utility, click the drive you want to erase in the left sidebar (usually called 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 Mac is very old). Click Erase.

Disk Utility will erase the drive. When it finishes, close Disk Utility and click Reinstall macOS in the Utilities window. Your Mac will read and install a fresh copy of macOS. This can take 30 minutes to several hours depending on your internet speed. Do not turn off your Mac during this process.

Set up your Mac after the wipe

When the wipe and reinstall are complete, your Mac will restart and show the setup screen. You will be asked to select your language, connect to Wi-Fi, and sign in with your Apple ID.

At the "Restore your Mac" screen, you have two choices. You can set it up as a new Mac and start fresh, or you can restore from a Time Machine backup. If you restore from backup, your files, apps, and settings will come back — but so will any problems that existed before the wipe. If you want a truly clean Mac, set it up as new and then manually restore only the files you need from your backup.

After setup is complete, your Mac will be ready to use. Install your apps fresh from the App Store or from the developers' websites. This is a good time to clean up — install only the apps you actually use, rather than everything you had before.

What to do if the wipe gets stuck or fails

Sometimes the wipe process stalls or fails. If your Mac is stuck on a progress screen for more than an hour, try restarting it by holding the power button for 10 seconds, then try the wipe again.

If Erase Mac keeps asking for your password and will not proceed, you may need to disable System Integrity Protection. Restart into Recovery Mode (Command + R), open Terminal from the Utilities menu, and type csrutil disable. Then restart and try the wipe again. After the wipe is complete, restart into Recovery Mode again and type csrutil enable to turn System Integrity Protection back on.

If the wipe fails completely and your Mac will not boot, you may need to create a bootable macOS installer on another Mac or use Apple's Internet Recovery. This is rare, and if you reach this point, contact Apple Support or visit an Apple Store — they can wipe your Mac for you.

Frequently Asked Questions

Can I wipe my Mac without losing my files?

Not with a full wipe — a wipe erases everything. However, you can back up your files first using Time Machine or another backup tool, then restore them after the wipe is complete. This gives you a clean Mac with your old files back on it.

How long does it take to wipe a Mac?

The process usually takes 30 minutes to an hour on a newer Mac with a fast internet connection. Older Macs or slower internet connections can take several hours. Your Mac will restart multiple times — this is normal and part of the process.

Do I need an internet connection to wipe my Mac?

Yes. The wipe process downloads and installs a fresh copy of macOS, so you need a stable Wi-Fi or ethernet connection. If your internet is very slow, the process will take much longer.

What if I forgot my Apple ID password before wiping?

You will not be able to complete the wipe without signing out of iCloud first. Go to iforgot.apple.com to reset your password before you start the wipe process.

Can I wipe just one drive if my Mac has multiple drives?

Yes. In Disk Utility, you can select which drive to erase. However, if you want to wipe your entire Mac, make sure you erase the drive that contains your operating system (usually Macintosh HD).