X
CNET logo Why You Can Trust CNET

Our expert, award-winning staff selects the products we cover and rigorously researches and tests our top picks. If you buy through our links, we may get a commission. Reviews ethics statement

MacBook Factory-Resetting Tips and Tricks You Need to Know

You need to wipe all of your personal info before selling or otherwise parting with your MacBook.

Matt Elliott Senior Editor
Matt Elliott is a senior editor at CNET with a focus on laptops and streaming services. Matt has more than 20 years of experience testing and reviewing laptops. He has worked for CNET in New York and San Francisco and now lives in New Hampshire. When he's not writing about laptops, Matt likes to play and watch sports. He loves to play tennis and hates the number of streaming services he has to subscribe to in order to watch the various sports he wants to watch.
Expertise Laptops, desktops, all-in-one PCs, streaming devices, streaming platforms
Matt Elliott
4 min read
09-macbook-pro-16-inch

Are you sure you wiped all your personal data off that Mac before you sell it off? Better double-check.

Sarah Tew/CNET

Has your MacBook lost a step just before the holidays? Perhaps you're looking to upgrade to one of the new M2 models released earlier this year or want to size up to a 14-inch or 16-inch MacBook Pro to celebrate. No matter your reason for moving to a new Mac, you may be able to put a dent in its cost by selling your old one. Before you box up your MacBook, however, there are a few steps to make the transition to your new machine a smooth and safe one. You'll likely want to migrate your data to your new Mac, and you'll definitely need to wipe your old Mac clean. 

Whether you're selling your Mac, handing it down to a family member or friend, recycling it or donating it to an organization, you'll want to erase your personal information and files before parting with it.

It's a crucial security measure you don't want to skip. Your Mac's hard drive is bursting with sensitive information that you wouldn't want to be accessible, even if you trust your laptop's next owner. There's always a chance that some malware could snake its way in and uncover your personal details.

Here's how to remove all traces of your data and return your old Mac to its default factory settings.

1. Sign out of your accounts

After migrating your data to your new Mac or making one last backup to preserve your data, it's time to remove all traces of yourself from the machine. First, you'll need to sign out of all of your accounts. Years ago, this was done using iTunes, but you now must individually sign out of three apps -- Music, TV and Books. Open up any of those apps and go to Account > Authorizations > Deauthorize This Computer. You'll need to enter your Apple ID and password and then hit the Deauthorize button.

Deauthorizing an app on MacOS
Matt Elliott/CNET

Next, you'll need to turn off Find My Mac and sign out of iCloud. Go to System Preferences > Apple ID, click iCloud in the left panel and then uncheck Find My Mac. Next, click Overview from the left panel and then click the Sign Out button.

Lastly, you'll need to sign out of Messages. Open the Messages app, go to Messages > Preferences, click the iMessage tab and then click Sign Out.

2. Bluetooth unpairing

If you're handing down your old Mac to your kid or someone else in your house, then it's a good idea to unpair any Bluetooth devices from it so your mouse or keyboard controls the new Mac and doesn't interfere with the old one. Go to System Preferences > Bluetooth, mouse over the device you want to unpair, click the X button to the right of its name, then click Remove.

Bluetooth unpairing on a Mac
Matt Elliott/CNET

3. Reset NVRAM

NVRAM is memory to which your Mac saves settings that it needs before loading MacOS: things like screen resolution, time zone, volume level and startup-disk selection. Sometimes these files can get corrupted, so give your Mac's next owner a fresh start by resetting the NVRAM. To do so, shut down your Mac, then turn it on and immediately press and hold four keys together: Option, Command, P, and R. You can release the keys after 20 seconds or so. That's it! Your Mac's NVRAM has been reset.

4. Factory reset

You need to put your MacBook into Recovery Mode in order to erase all of your data and reinstall MacOS . To enter Recovery Mode on an old Intel-based Mac, restart it and immediately press and hold Command-R. You can release the keys once you see the Apple logo. On an M1-based Mac, booting into Recovery Mode is slightly different. You simply press and hold the power button until you see the startup options window, then click Options and Continue to get to the utilities window.)

macos-disk-utility-erase-volume
Apple

Next, you'll see the MacOS Utilities window. Choose Disk Utility, click Continue and select your startup disk -- unless you renamed it, odds are it's labeled Macintosh HD or something similar. Next, click the Erase button at the top of the Disk Utility window and fill out these two fields:

  • Name: Choose a name for the fresh, new volume. Why not go with the tried-and-true Macintosh HD?
  • Format: Choose APFS. 

If you are trying to sell an ancient Mac that has a mechanical hard drive instead of a solid-state drive, then choose Mac OS Extended (Journaled) for Format.

Next, click the Erase Volume Group and after Disk Utility does its thing, quit Disk Utility. (If you don't see the Erase Volume Group button in the lower-left corner, then click the Erase button in the lower-right corner instead.)

You should return to the MacOS Utilities window. (If not, restart your Mac again, holding down Command-R while it reboots.) From the MacOS Utilities window, select Reinstall MacOS and follow the instructions to install the operating system. After MacOS has been reinstalled, you'll be greeted by the Setup Assistant, which you can then quit out of and shut down your Mac. It's now ready for a fresh start with its next owner.

Here's how to factory reset an iPhone, how to reset AirPods that are acting up, and how to reset a Chromebook in under a minute. Plus, check out every device Apple announced at its latest event.