Tech Reference

How to wipe a Mac computer, and reset it to its factory settings

macbook pro wwdc
To fully wipe a Mac computer, you'll need to erase all the contents on your computer's storage disk with these steps. AP
Updated
Read in app

Everyone's heard the old troubleshooting tip, "Just turn it off and back on again." It's a tip that works surprisingly often — but if you're stuck in a situation where your Mac is malfunctioning and nothing is fixing it, it might be time to try a more extreme solution: wiping your Mac.

A factory reset will wipe your Mac computer, restoring its software to the state it was in when you first turned it on. That means that all your personal files and data will disappear. This is a good idea if all other troubleshooting has failed for your Mac, you're trying to wipe out your private data, or if you're selling or giving away your Mac to someone else.

Here's how to factory reset your Mac, which will erase all your personal data, including a few tips in case it doesn't work.

Check out the products mentioned in this article:

MacBook Pro (From $1,299.99 at Best Buy)

How to wipe a Mac computer with a factory reset

Before anything, if you don't want to lose the files you have saved on your computer, you should back them up. You can do this through Time Machine, Apple's official backup application, which will copy all your files onto an external drive. You can also backup onto iCloud, or manually move the files you want to save onto an external drive.

If you're giving your computer away, also make sure that you've signed out of iTunes, iCloud, and iMessage — there's a chance your Apple ID data will remain on the drive after you reset it, and you don't want anyone gaining access to your account.

Once you're ready to wipe your Mac, do the following:

1. Turn your Mac computer off.

2. Press the power button to turn it on, then immediately press and hold Command (⌘) + R. Keep holding it until you see either the Apple logo, or an animation of a spinning globe.

3. After a few moments, the macOS Utilities window should appear — this is known as Recovery Mode.

4. Select "Disk Utility" and click "Continue."

macos utilities
Select "Disk Utility," then click "Continue."  Apple

5. In the menu bar at the top of the screen, select View > Show All Devices.

6. In Disk Utility's sidebar, which displays all the currently installed disks and volumes, select the drive you want to erase. Although you can erase whatever you like, in most cases, it's best to erase the whole disk — the tab highest up in the tree.

Screen Shot 2019 05 01 at 11.03.57 AM
In most cases, you should delete the disk.  William Antonelli/Business Insider

7. Click the "Erase" button at the top of the screen, and fill out the fields it opens:

  • Fill in a name for the disk. It's a good idea to just copy the name that already exists, for clarity's sake.
  • Choose the format. Disk Utility will choose a compatible format by default. If you're erasing your disk before installing macOS High Sierra or later for the first time, will be using the disk with a Mac that isn't using High Sierra or later, or are going to use the disk as a Time Machine backup, choose "Mac OS Extended (Journaled)."
  • If shown, choose the scheme. In almost all cases, you should choose GUID Partition Map.

8. Click "Erase."

Screen Shot 2019 05 01 at 11.05.59 AM
Fill out the forms and click "Erase."  William Antonelli/Business Insider

9. It will take a few moments for the disk to erase. Once it's done, click the Apple logo in the top-left corner of the screen, and click "Quit Disk Utility."

At this point, if you're just trying to erase your disk, you're done. If you want to set things back up, however, you can navigate back to the macOS Utilities menu and select either:

  • "Restore From Time Machine Backup," which will restore your files if you used Time Machine to back them up.
  • "Reinstall macOS," which will install a new copy of macOS onto your system.
mcos utilities copy
You have two options for restoring your machine afterwards.  Apple

What if my computer won't boot into Recovery Mode?

There's a chance that when you start your computer holding down Command (⌘) + R, it will simply boot up normally and proceed right to your login screen, or just a blank screen. If this is the case, there's a chance that you may not have a Recovery Partition — the part of your disk that allows you to factory reset. Here's how to check if you have one:

  1. Open Terminal by searching for it in Spotlight or Finder.
  2. Type "diskutil list" and press Return.
  3. Terminal will show you all the volumes and partitions on your disk. The first section (called "/dev/disk0") should have a partition called "Apple_Boot Recovery HD."

If it doesn't have that partition, chances are that you don't have a Recovery Partition.

Screen Shot 2019 05 01 at 11.08.59 AM
If your machine lacks a Recovery Partition, as this one does, you can't boot into Recovery Mode normally.  William Antonelli/Business Insider

At this point, there's a few different steps you can take. You can try resetting your Mac through Internet Recovery — press and hold Command (⌘) + Option + R — which will connect to the internet to create a Recovery Partition and activate Recovery Mode. Not having a Recovery Partition isn't a good sign for your system, so it's worth trying to reinstall your macOS, even if you weren't originally planning on it.

If this doesn't work either, you should contact Apple directly, or consider using third-party applications designed to create Recovery Partitions.

 

Related coverage from How To Do Everything: Tech:

Insider Inc. receives a commission when you buy through our links.

Read next

ExperienceWilliam joined Business Insider in 2019 to help found Tech Reference, a vertical dedicated to answering the internet’s most common questions about the gadgets they buy. In that role, he helped grow the vertical into a powerhouse that attracted over 20 million pageviews a month. He also wrote and edited one of Business Insider’s most successful stories: How to take a screenshot on Windows.William later became one of Business Insider's lead consumer tech reporters, writing roundups and reviews about gadgets ranging from smartphones to gaming PCs. He also established key industry contacts at brands like Apple, Google, Nintendo, and more. He’s also cited on the Wikipedia page for Among Us, an honor above all others.William’s work for Business Insider has included reviewing the best gaming laptops, publishing previews of new Nintendo games and consoles, and comparing Apple’s latest releases so readers know what’s worth their money. Across all assignments, he’s been praised for his depth of knowledge and research skills.In addition to his work at Business Insider, William’s writing has appeared in outlets like The Guardian, Polygon, Thomson Reuters’ Context, and more. He's also a regular guest on TV stations like CBS and NBC, where he provides expert analysis on AI, consumer tech, and Silicon Valley moguls.Why you can trust WilliamWilliam believes the goal of journalism should be to tell the truth, not sell products. In his reviews, William never hesitates to call out a product’s flaws, but he also has no issue complimenting features that genuinely add value.When reviewing a product, William doesn’t test it in a vacuum. He tries to incorporate each product into his daily routine to get a better sense of how it’ll work for the everyday user. And when writing, he focuses on reader comprehension. He’s talented at explaining complicated concepts in ways that all readers can understand, without losing depth or nuance — or his distinctively engaging voice.Expertise
  • Artificial Intelligence (AI)
  • Consumer Technology (Laptops, PCs, video games and gaming consoles, smartphones, more)
  • Social Media (TikTok, X, Meta, more)
  • Internet Culture (Memes, influencers, viral trends)
  • Disinformation
EducationWilliam graduated from the State University of New York at Geneseo in 2018. There, he studied English, communications, and adolescent education, alongside reporting news for the university’s radio and TV stations.Outside workWhen he’s not reporting, you can usually find William biking through Central Park, playing video games, or at home listening to music and writing fanfiction. He’s also a co-manager of the New York Mandolin Ensemble, one of NYC’s premier string orchestras.You can contact him at w.antonelli322@gmail.com, visit his official website at williamantonelli.com, or follow him on Twitter @DubsRewatcher and BlueSky @wantonelli.bsky.social.