Skip to main content

How to erase and restore your Mac to factory settings

why i went with the macbook pro over mac studio olympus digital camera
Mark Coppock / Digital Trends

Whether you’re looking to sell your Mac or reset it due to an intractable software problem, restoring your Mac to factory settings is a good way to spruce it up, clear off your personal information, and fix any lingering problems.

Difficulty

Moderate

Duration

30 minutes

Doing so will erase any content you’ve stored on it, so it’s vital you follow our guide and back up your Mac before getting started. That can save you a bunch of headaches down the line.

The method you use to restore your Mac to factory settings depends on the version of macOS you are running and whether it has an Apple silicon chip or an Intel one. Our first section below will cover Macs running the latest version of macOS on an Apple silicon chip. After that, we’ll turn to older Macs that use Intel chips. If you’re not sure about these details, select the Apple logo in the top-left corner of your screen, then choose About This Mac. That will list the chip and macOS version for you.

Apple's 15-inch MacBook Air on a desk, with macOS Sonoma running on its display.
Apple

Erase and reset your Apple silicon Mac

Erasing your Mac’s files and settings is a vital part of restoring it to factory settings. Fortunately, this is a lot easier than it used to be, and Apple has put some dedicated settings in place to make this process as simple as it can be.

Step 1: Open the System Settings app from your Mac’s Dock, or by selecting the Apple logo in the top-left corner of your screen and choosing System Settings.

Step 2: In the System Settings app, pick General > Transfer or Reset. Now select the Erase All Content and Settings button.

Step 3: This opens Apple’s Erase Assistant app. You might need to enter your Mac account’s password to go any further. Do that and choose Unlock.

Step 4: Erase Assistant will show you what data will be removed when you erase your Mac. This will include any user accounts, fingerprints used in Touch ID, your Apple ID settings, and tools like Find My, Activation Lock and Location Sharing. Any Bluetooth accessories you’ve paired to your device will also be unpaired.

Step 5: Once you’ve reviewed this information, select Continue. You might be asked to enter your Apple ID password so that you can be signed out of your account. This signs you out of other apps and services like Apple TV, Apple Music, Find My, the App Store, and more, so there’s no need to do those separately.

Step 6: You’ll now be asked if you want to back up your Mac to Time Machine. This is highly recommended so that you can restore your Mac if you change your mind or if something goes wrong. Make sure you have an external hard drive connected to your Mac so that you can back up your files.

Step 7: Once everything has finished, your Mac will warn you that continuing will erase everything on your Mac. If you’re all set, select the red Erase All Content & Settings button.

An option in macOS giving a user the choice to erase all content and settings on their Mac.
Apple

Step 8: Your Mac will now restart and start restoring itself to factory settings. You might be asked to pair a Bluetooth accessory that you were using again (if it doesn’t connect within 30 seconds, try turning it off, then on again). Your Mac may also ask you to connect to a Wi-Fi network. You can skip the Bluetooth pairing step if you want to sell your Mac after it has been reset.

Step 9: When that has finished, you should see a screen saying Activate Mac at the top. Underneath is a confirmation that your Mac has been activated. Select Restart.

Step 10: Once your Mac has restarted, you’ll be presented with an assistant that will take you through the process of setting up your Mac from scratch (such as choosing settings for location and analytics). If you plan to sell your Mac, you should skip this process by pressing and holding the power button until your Mac turns off. Otherwise, continue through with the assistant until the end.

MacOS Mojave 10.14
Image used with permission by copyright holder

How to erase and reset an older Mac

On some Macs, you might not see the Erase All Content & Settings option in System Settings. That’s because this feature requires macOS Monterey or later, as well as either a Mac with an Apple silicon chip or with a T2 Security Chip. Apple has a list of Macs that come with the T2 chip on its website.

If you are running an older version of macOS or use a Mac that doesn’t have a T2 Security Chip, you’ll need to follow the instructions below.

Step 1: First, follow our guide to backing up your Mac to an external hard drive.

Step 2: You’ll now need to sign out of any Apple services that you’re using on your Mac. In iTunes, go to the menu bar and select Account > Authorizations > Deauthorize This Computer. For your iCloud account, open System Settings or System Preferences and go to Apple ID > Sign Out (in older versions of macOS, Apple ID might instead say iCloud). Finally, open Messages and, in the menu bar, select Messages > Settings (or Preferences). Select iMessage, then Sign Out.

Step 3: Optionally, you can unpair any Bluetooth devices by going to System Settings (or System Preferences) and choosing Bluetooth in the left-hand sidebar. Move the mouse pointer over the device you want to disconnect, then select the Disconnect or X button next to its name. Note that you’ll need to plug in a USB mouse or keyboard if your Mac doesn’t have built-in control methods (such as if you’re using a Mac mini).

Step 4: It’s now time to erase your Mac. Shut it down, then turn it on and immediately press Command+R. This opens the macOS Recovery app. From here, select Disk Utility > Continue. Choose Macintosh HD (or whatever you’ve named your main drive) in the sidebar and pick Erase. Leave the Name and Format options as they are and select Erase. You might need to enter your Apple ID password. When you’re done, close Disk Utility to return to the macOS Recovery app.

Apple's Disk Utility app showing an option to erase the Macintosh HD drive.
Apple

Step 5: Now that your Mac has been erased, you’ll need to reinstall macOS. In the macOS Recovery main menu, select Reinstall macOS > Continue. You might be asked to enter your password and whether you want to install macOS on the Macintosh HD or Macintosh HD. If so, select Macintosh HD. Your Mac might restart a few times during the reinstallation process -- just let it carry on until it’s finished and don’t shut down your Mac or close its lid. When the process has finished, a setup assistant will open. If you want to sell your Mac, close the assistant and shut down your Mac.

Step 6: If your Mac uses an Intel processor, the final step is to reset its NVRAM, which restores various settings to their factory defaults (Apple silicon Mac owners scan skip this step). Shut down your Mac, then turn it on and immediately hold the following key combination for about 20 seconds: Option+Command+P+R. During this time, your Mac might appear to restart once or twice (you might hear the startup chime or see the Apple logo, for example). Once you let go, your Mac should load to the login screen. Its NVRAM has been reset.

A person repairing a MacBook using Apple's self-service repair kit.
Apple

What about your AppleCare plan?

Resetting your Mac to factory settings is a must if you intend to sell it. We’ve already covered most of the important tasks, and whether you have an Apple silicon Mac or one with an Intel chip, the previous steps ensure you’re signed out of your accounts and that your data is safely removed.

However, if you have an AppleCare plan, you’ll need to work out what you want to do with it. If you’re not planning on getting another Mac, you can cancel it entirely. Alternatively, you can transfer it to your new Mac if you prefer.

In either case, you’ll need to contact Apple support. Make sure you have your AppleCare agreement number, proof of coverage, your Mac’s serial number and the original receipt on hand. Apple’s support team will then be able to sort out your coverage for you.

Restoring your Mac to factory settings involves a few steps, but it needn’t be overly complicated, especially if you can use Apple’s Erase All Content and Settings feature. But the small amount of effort it requires is easily worth it considering how it can protect your private data and potentially fix persistent problems your Mac is suffering from. Once you’re finished, your Mac will be fresh and ready for whatever comes next.

Alex Blake
In ancient times, people like Alex would have been shunned for their nerdy ways and strange opinions on cheese. Today, he…
Best MacBook deals: Get an Air for $605 and save on M3 MacBook Pro
A MacBook Pro M2 sits on a wooden table with a nice bokeh background.

If you're looking for a thin yet powerful laptop, then it's hard to beat Apple's MacBook Air and MacBook Pro laptops, as they are some of the best laptops on the market, especially with the latest Apple chips inside of them. That said, they do come at quite a steep price, so you'll want to rely on one of several Apple deals below to save you a little bit of extra money when grabbing one of the most powerful laptops on the market. You can also check out some of these great AirPods deals, Apple Watch deals, and iPhone deals to pair with your new MacBook, or, if you don't want a MacBook at all, check out some of these great laptop deals instead.
Best MacBook Air (M1) deals

The Apple MacBook Air (M1) started a seismic shift for Apple being the first of its Airs to have an Apple-based processor. We took a look at the differences between the M2 and M1 and the M1 is still looking pretty great. It's also a touch nearer to affordable than anything else here. Fast yet fanless so it's silent to use, you gain an 18-hour battery life, a gorgeous looking 13.3-inch Retina display along with all the effortless style you'd expect from an Apple device. These laptops are best for students or those who want something stylish yet reasonably powerful to use on the move. Nowadays, deals are becoming a little harder to come by unless you're willing to consider a refurbished/renewed model.

Read more
25 years ago, Apple introduced a Mac that changed everything
The Apple logo on the Power Mac G3 Blue and White.

When you look back down the list of the best Macs of all time, the iMac G3 from 1998 garners a lot of praise for putting Apple back on the map, and rightly so. But there’s another Mac from that period that often gets overlooked -- and today it celebrates its 25th anniversary.

That Apple computer is the Power Mac G3 450 Blue and White edition. While the colorful iMac G3 opened up a new era for Apple by forging its reputation as a forward-thinking company that built fun, innovative computers, the Power Mac G3 Blue and White cemented that idea, showing that Apple was back in a big way.

Read more
Best Mac Mini deals: Save over $100 on an Apple desktop
Apple Mac Mini 2018

If you really love Apple desktops but don't really have the space to fit in a full-sized tower, then you may want to consider the tinier Apple Mac Mini, which can easily sit on your desk near your monitor without an issue. Even though the various configurations are tiny, they have quite a bit of performance, which isn't surprising since many of them include the newer M1 and M2 chips from Apple, which are the same chips you'll find on Apple's MacBook Air and MacBook Pro. That said, all the power and tiny form factor tech do cost quite a bit of money, and some of the older models are no longer available. That's why we've mostly collected deals on refurbished versions of the Mac Mini; not only are they going to save you quite a bit of money, but they still have some solid performance.

Of course, if you don't find what you're looking for here, you could check out these other excellent Apple deals. Also, if you want a more traditional experience, take a look at these iMac deals and MacBook deals deals as well.
Apple education pricing for new Macs and iPads -- multiple price points

Read more