Everything in life has an expiration date, and your Mac device is no exception. No matter what you want to do next — sell it, give it away, or try to extend its shelf life — resetting Mac to factory settings should be your starting point. But why is that?

Because you want to keep your data secured, don’t you? Not only it’s an effective precautionary measure to protect your privacy, but it is also the right way to prep your Mac for a new owner. Or, in case that’s you who want to start fresh with your device, resetting Mac to factory settings will do a complete Mac reset, making it almost as good as new.

So how to factory reset MacBook, MacBook Pro, MacBook Air, or iMac on your own? It’s easily done, but the process varies for different macOS versions and chips. Don’t worry, we’ll provide you with everything you need to know, and you’ll be able to restore MacBook to factory settings. Just take one step at a time.

The ultimate guideline to factory reset MacBook Pro

Before you start, take your time to prepare MacBook for the factory reset. It includes backing up data and finding out what Mac you have and what macOS version it runs.

1. Back up your data

When you factory reset MacBook, all the information on your hard drive is wiped off. That’s why to save valuable files and data, you need to create a backup. This is like cloning your hard drive so you can keep having access to needed files.

You can of course back up files and apps manually by copying everything to an external drive or iCloud. However, a much faster and more secure way to back up is with Mac’s built-in software — Time Machine. It allows you to recover individual files and restore an entire hard drive in case of a catastrophe.

But here’s the thing, prior to using Time Machine, make sure to clean up your Mac. You don’t want to back up all the junk it contains, do you? Plus, a backup will go faster and more smoothly if your Mac is not cluttered.

For a quick cleanup, we personally like using specialized applications. The app that works for us is CleanMyMac X. It removes large and old files, useless apps, caches, and system junk in a few clicks.

Here’s how to use it:

  1. Download CleanMyMac X and open it.
  2. Click Scan.
  3. Click Run.
CleanMyMac X - Smart Scan complete

Once you’ve cleaned up your Mac, enable Time Machine backup:

  1. Go to the Apple menu in the top left corner of your screen and choose System Preferences or System Settings > General.
  2. Select Time Machine.
  3. Click the Select Disk button. Or click Add Backup Disk and follow the on-screen instructions to set up the fisk if you haven’t done it before.
  4. Choose the disk you’d like to use as a Time Machine backup, then click Use Disk. 
System Preferences - Time Machine

That’s it!

Now, your first backup may take a while, depending on how many files you have. But don’t skip this step — the backup will allow you to restore all your data in case something goes wrong when you restore MacBook to factory settings.

2. Check your Mac’s main info

Now that you’ve backed up your Mac, it’s time to check what Mac you have. The easiest way to do it is to go to About This Mac from the main Apple menu. There, look at the year and macOS version. 

About this Mac window

If you have a Mac newer than 2018 and running a macOS version later than Monterey, you’ll run Erase Assistant to restore Mac to factory settings. Otherwise, you’ll follow instructions from a 6-step guideline we also provide below.


How to wipe a MacBook with Erase Assistant

If you have a newer Mac with macOS Monterey and later, resetting it to factory settings is easy, thanks to Erase Assistant. Opening it, however, varies across different macOS versions. 

For macOS Ventura: 

  1. Open System Settings. 
  2. Go to General > Transfer or Reset > Erase All Contents and Settings.

For macOS Monterey: 

  1. Open System Preferences. 
  2. From the menu bar, click System Preferences > Erase All Contents and Settings.

Now, all you have to do is enter your admin credentials and follow the on-screen instructions. Erase Assistant will do the following: 

  • Sign you out of all Apple services. 
  • Turn off Activation Lock and Find My.
  • Erase all contents and settings. 
  • Uninstall any apps you have installed. 
  • Erase all volumes. 
  • Erase all user accounts along with their data.
  • Unpair all Bluetooth devices (in macOS Ventura).

How to reset Mac without Erase Assistant

If you have a MacBook older than 2018 or running Big Sur or an older macOS version, follow the steps below one by one.

Step 1: Sign out from iCloud

Sign out of iCloud to make sure that any remnants of the cloud data, such as bookmarks, notes, reminders, etc., are not visible to a new user.

Follow the 3-step formula to turn off iCloud:

  1. Choose Apple menu > System Preferences.
  2. Select Apple ID, then select Overview in the sidebar.
  3. Click Sign Out.

If you’re running macOS Mojave or earlier, go to the Apple menu > System Preferences and choose iCloud. Then click Sign Out.

Step 2: Sign out from iMessage

Before you restore MacBook to factory settings, remember to sign out of iMessage.

This time, an easy 4-step formula to help you do that: 

  1. Open up Messages.
  2. Click Messages in the menu bar in the top left corner of your screen.
  3. From the drop-down menu, choose Preferences.
  4. Click iMessage, then click Sign Out.

As simple as that!


Step 3. Reset NVRAM

NVRAM (non-volatile random-access memory) is a type of memory your Mac uses to store certain settings, such as your selected startup disk, sound volume, screen resolution, and the last kernel panic. Resetting NVRAM will restore certain features you might have changed previously:

  1. Shut down your Mac.
  2. Start up Mac and press and hold Option-Command-P-R for 20 seconds, then release.

Step 4: Boot into recovery mode

Steps for booting into recovery mode vary for Intel-based and Apple silicon Macs. 

For an Intel-based Mac:

  1. Go to Apple menu > Restart.
  2. Immediately press and hold Command+R.
  3. Don’t release the keys until you hear Mac’s startup sound or until the Apple logo appears.

For a Mac with Apple silicon:

  1. When turning on your Mac, press and hold the Power button.
  2. Keep it pressed until you see startup options.
  3. Click the Gears icon (Options) and hit Continue.
  4. You may be asked to select a user and enter their administrator password. Follow on-screen instructions and press Next after any action you take.

Step 5: Wipe Mac hard drive

If you plan to sell or give away your Mac, you need to erase your Mac’s startup disk. The startup disk is built into your MacBook. Its default name is Macintosh HD.

  1. After booting into recovery mode, choose Disk Utility in the Utilities window.
  2. Select your built-in startup disk, “Macintosh HD.”
  3. Click Erase at the top of the Disk Utility window and enter the next details:

Name: Macintosh HD
Format: APFS or Mac OS Extended (Journaled)

5. Click Erase Volume Group. You may need to enter your Apple ID for confirmation.

When the process is complete, select other internal volumes in the sidebar and press the “—” button to delete them. Then, quit Disk Utility.

Now, your Mac will restore to factory settings and reboot. You can now reinstall macOS.


Step 6: Reinstall macOS

Mission accomplished! You’ve reformatted your hard drive and reset your Mac to factory settings. Now you can reinstall your operating system. Simply click Reinstall macOS from the Utilities menu. Confirm that you really want to do it and follow the instructions you’ll see on the screen.

Once the macOS is installed, a setup assistant will appear. However, if you are not going to keep your Mac, it would be better to quit the setup process and let the new owner enter all the necessary information. Hold down the Command-Q keys and then choose Shut Down to turn off your Mac but leave it waiting for a new user.

That’s all. Now you know how to wipe a MacBook. It is clean and ready for a fresh start. So, you can proceed with restoring it from Time Machine if you will continue using it.


Frequently asked questions

Why do I need to reset a Mac to factory settings? 

The most common reason for wiping a MacBook is to prepare it for selling or giving away so that no personal data or files are shared with a new owner.

How to perform a factory reset? 

There are two ways to restore Mac to factory settings: either run Erase Assistant for newer Macs and macOS versions or follow the steps outlined in this article for older Mac computers and macOS versions. The only difference between the two is that Erase Assistant does all the prep steps for you, so you only have to reinstall macOS as the final step.

Do you need to turn off FileVault to do a factory reset?

Complete factory reset covers erasing your startup disk (described in Steps 5 and 6), which will make the recovery of your data impossible. Therefore, there is no need to turn off FileVault, as your data can’t be accessible in any readable form after you erase the drive.