Skip to main content

How to erase and restore your Mac to factory settings

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.

Editors' Recommendations

Alex Blake
In ancient times, people like Alex would have been shunned for their nerdy ways and strange opinions on cheese. Today, he…
Best Buy’s deal of the day is $150 off the MacBook Air M2
A woman working on a 2023 MacBook Air with M2 chip.

For Mac lovers, Best Buy has one of the best laptop deals at the moment with $150 off the MacBook Air M2. Usually priced at $999, you can buy it for $849 right now making it great value for anyone who wants to get involved with the Apple ecosystem without breaking the bank. Stylish and speedy, this is a laptop that will suit mostly everyone from students to people working from home or commuters. Here’s what you need to know before you hit the buy button. As always with such good deals, bear in mind that you could miss out if you wait too long.

Why you should buy the MacBook Air M2
One of the best laptop brands for reliability and being high quality, buying a MacBook Air is an investment that will last. While Windows-based laptops can lose their lustre over time, MacBooks tend to keep going for longer. While the MacBook Air M2 doesn’t have the latest Apple silicon -- the M3 -- it still offers fantastic performance. The M2 chip has an 8-core CPU and 10-core GPU and this model is still considered to be the best MacBook for everyone. This particular model comes with 8GB of memory and 256GB of SSD storage which is sufficient for all everyday tasks and saving documents easily.

Read more
Don’t download the latest macOS Ventura update just yet
The 14-inch MacBook Pro with M3 Max chip seen from behind.

We have a warning if your MacBook or other Mac machine is still running macOS Ventura. The latest macOS Ventura 13.6.6 update is bringing a lot of big bugs, and it is affecting the way that people are using their favorite Apple products, so you might want to hold off on downloading the update.

Originally released back on March 25, this problematic update came at the same time as macOS Sonoma 14.4.1, which patched issues with Java, USB hubs, and more. Unfortunately, though, macOS Ventura 13.6.6 is introducing some new issues of its own. Spotted by the folks at GottaBeMobile, Mac users have taken to Apple's support forums to complain of everyday issues linked to this release that are breaking their Macs.

Read more
Hurry! This iMac is at its cheapest ever price right now
Apple iMac 24 inch placed on a desk in a sunny context.

One of the best desktop computer deals around today is a seriously great offer. Over at Best Buy, you can buy the iMac 24-inch M1 All-in-One with a Retina 4.5K screen for just $800. That’s a $450 reduction off its regular price of $1,250 which is remarkable value for an all-in-one desktop computer, especially a Mac-based one. If you’re looking for a stylish addition to your living space which is also a highly competent computer, this is your chance to do so for less. Here’s what it has to offer.

Why you should buy the iMac 24-inch M1
Apple makes some of the best all-in-one computers even though you might automatically think of its laptop range instead. The iMac 24-inch M1 is a truly gorgeous all-in-one desktop. It might be three years old now but thanks to how revolutionary the M1 chip was at the time, its performance is still exceptional. Apple wanted to demonstrate why developing its own silicon worked so well compared to using Intel processors, and it did so brilliantly here.

Read more