X
Tech

How to do a factory restore on macOS

If your macOS device has started misbehaving (or you're looking to sell it), you should consider a factory restore.
Written by Jack Wallen, Contributing Writer

A factory restore returns your MacBook or iMac to its original state (when you first purchased the device). There might be a few reasons why you want or need to do this, such as the machine isn't running as well as it once did or you're planning on selling the laptop or desktop. No matter the reason, there might come a time when a factory reset is your best option.

But how do you pull off such a feat? Is it something only the computer savvy should attempt? Believe it or not, Apple has actually made this process fairly painless -- especially if you're running macOS Monterey on M1-based hardware. I will show you how to do a factory reset on macOS Monterey, with both Intel and M1 (Apple Silicon) based hardware. 

This process will delete all of your data. 

So if you have important files on your laptop or desktop, make sure to first back them up to an external drive or cloud account before moving forward with this process. With that said, let's restore.

Restoring on M1-based hardware

Apple has made it incredibly easy to do a factory restore with macOS Monterey running on M1-based devices. To do this, make sure your device is plugged in (you don't want to trust this to your battery), click the Apple button in the top left corner of your screen, and then click System Preferences. Once System Preferences is open, click the System Preferences menu in the top bar and then click Erase All Content and Settings (Figure 1).

Figure 1

Screenshot of System Preferences menu on a Mac

Doing a factory reset on macOS Monterey from an M1-based MacBook Pro.

You will be prompted to type your user password and then click OK. The resulting popup (Figure 2) informs you of everything that will be done. 

Figure 2

Screenshot of menu to erase all content on a Mac

Are you ready to erase everything from macOS?

If you're certain you want to proceed, click Continue and the process will begin. Your device will restart a few times and will eventually land on the familiar "Hello" screen, where you can then walk through the setup process. After you complete this, your device will be as clean as it was when you first bought it.

Restoring on Intel-based hardware

This process isn't nearly as easy because there isn't a GUI tool to take care of it for you. Instead, we have to do this the old-school manual way. Here are the steps:

  1. If you plan on selling your Apple device, you'll want to first sign out of iCloud and iMessage. To sign out of iMessage, open the app and then click Messages > Preferences. Then switch to the iMessage tab and select Sign Out. For iCloud, open System Preferences and then click Apple ID. Click the iCloud tab and then click Sign Out.

  2. Restart your computer by clicking the Apple button and then Restart.

  3. As the device restarts, hold down the Command and R keys.

  4. When the Apple logo appears, release the Command and R keys.

  5. You will be prompted to select a user with a password and then click Next.

  6. Type the user password.

  7. When the Recovery Mode menu appears, select Disk Utility.

  8. Select the Macintosh HD startup disk and select Erase.

  9. When the next pop-up window appears, make sure the Format is set to APFS and click Erase again.

  10. When the formatting completes, click Done.

  11. Click Disk Utility > Quit Disk Utility.

  12. Click Reinstall macOS Monterey, and then click Continue.

  13. Click Continue again.

  14. When prompted, agree to the EULA by clicking Agree.

  15. Click Agree again.

  16. Select Macintosh HD and click Continue.

  17. Allow the installation to complete (it can take two to four hours).

  18. When the installation completes, you can then walk through the signup process as if the device was just purchased.

Congratulations, your macOS device should be like new.

Editorial standards