Wondering how to factory reset a MacBook? Whether you’re selling your MacBook Air, passing a MacBook Pro on to a family member, or just trying to fix a machine that has slowed to a crawl, a factory reset wipes the Mac back to a clean, “like new” state.
The exact steps depend on three things: your version of macOS, whether your Mac has an Apple silicon (M-series) or Intel processor, and whether you can still log in. This guide covers every case, including how to factory reset a MacBook without a password. We also cover what to do if you’re running Windows or another operating system.
Before you factory reset your MacBook
A factory reset permanently erases your files, apps and settings. Spend five minutes on this checklist first:
- Back up your files. Use Time Machine, iCloud Drive or an external drive. Once the reset starts, there’s no undo.
- Plug in your charger. A reset that loses power halfway can cause problems.
- Connect to Wi-Fi or Ethernet. Your Mac needs the internet to reactivate and reinstall macOS.
- Sign out of Apple services if you can. This turns off Find My and Activation Lock so the next owner can set up the Mac. The Erase Assistant does this for you in newer versions of macOS.
- Know your Mac’s age and macOS version. Click the Apple menu, then About This Mac. This decides which method below applies to you.
Which method do I need? (Quick guide)
| Your situation | Best method |
|---|---|
| Apple silicon Mac, or Intel Mac with a T2 chip (roughly 2018 or newer), running macOS Monterey 12 or later | Erase All Content and Settings (Method 1) |
| Older Mac, or macOS Big Sur 11 and earlier | macOS Recovery and Disk Utility (Method 2) |
| You can’t log in or don’t know the admin password | Recovery Assistant (Method 3) |
| Windows laptop, Boot Camp, or Chromebook | See the other operating systems section |
Method 1: Factory reset a MacBook with Erase All Content and Settings (easiest)
This is the fastest and most secure way to factory reset a MacBook. It works on a Mac with Apple silicon, or an Intel Mac with the Apple T2 Security Chip, running macOS Monterey 12 or later. It keeps the current version of macOS installed but erases everything else.
macOS Ventura 13 and later (including Sonoma, Sequoia and Tahoe)
- Click the Apple menu and choose System Settings.
- Click General in the sidebar.
- Scroll down and click Transfer or Reset.
- Click Erase All Content and Settings.
- Enter your administrator password when asked, then click Unlock.
- Review the summary of what will be erased, then click Continue.
- If prompted, enter your Apple Account password so the Mac can sign out of iCloud and turn off Find My.
- Click Erase All Content & Settings to confirm.
Your MacBook will restart, show a black screen or progress bar, and then display the “Hello” setup screen once it’s finished. If the screen stays black for a while, that’s normal. If you’re running macOS Tahoe 26 on an Apple silicon Mac that has been repaired before, Apple recommends running Repair Assistant first to check for an unfinished repair.
macOS Monterey 12
- Click the Apple menu and choose System Preferences.
- Ignore the window that opens and look at the menu bar at the top of the screen.
- Click System Preferences, then choose Erase All Content and Settings.
- Enter your administrator password and follow the on-screen prompts.
Tip: If you see a message saying other volumes need to be erased first, you may have installed Windows using Boot Camp. Delete the Windows volume in Disk Utility, then try again.
Method 2: Factory reset an older MacBook with macOS Recovery
If your MacBook is a pre-2018 Intel model, or runs Big Sur 11 or earlier, there’s no Erase All Content and Settings option. You’ll erase the drive and reinstall macOS instead.
Step 1: Sign out of your accounts
- iCloud / Apple Account: On Ventura or later, go to System Settings, click your name, then Sign Out. On Monterey, Big Sur or Catalina, go to System Preferences > Apple ID > Overview > Sign Out.
- iMessage: Open Messages, choose Messages > Settings, click iMessage, then Sign Out.
- Bluetooth accessories: Unpair anything that you aren’t keeping.
Step 2: Start up in macOS Recovery
- Apple silicon (M1 or later): Shut down your MacBook. Press and hold the power button until you see “Loading startup options”, then click Options > Continue.
- Intel MacBook: Restart and immediately hold Command (⌘) + R until you see the Apple logo or a spinning globe.
Step 3: Erase the startup disk
- In the Utilities window, choose Disk Utility and click Continue.
- Select Macintosh HD in the sidebar.
- Click Erase. Name it Macintosh HD and choose APFS (or Mac OS Extended (Journaled) on older Macs, as Disk Utility recommends).
- Click Erase Volume Group if you see it, otherwise click Erase.
- Enter your Apple Account details if asked, then confirm.
- When it finishes, quit Disk Utility.
Step 4: Reinstall macOS
Back in the Utilities window, choose Reinstall macOS, click Continue and follow the prompts. Your MacBook will download and install a fresh copy of macOS. If you’re giving the Mac away, press Command + Q at the setup screen to shut down so the new owner can set it up themselves.
Intel Macs only: After reinstalling, you can also reset the NVRAM to clear stored user settings.
Method 3: How to factory reset a MacBook without a password
Forgotten your login or admin password? You can still erase your Mac, and you don’t need to log in to do it. There are two things to know first:
- This is for Macs you own. Erasing a Mac you can’t log in to is a legitimate way to get a locked-out machine working again. It will not remove Activation Lock or a firmware password. If the Mac is still linked to an Apple Account with Find My turned on, you’ll need that account’s details (or proof of purchase through Apple) to set it up afterwards.
- Your data will be gone. Without the password you can’t back anything up through the normal route, so if the files matter, talk to a technician before you start.
Step-by-step: erase a Mac without knowing the password
- Shut down your MacBook completely.
- Start in macOS Recovery:
- Apple silicon: hold the power button until startup options appear, then click Options > Continue.
- Intel: hold Command + R while powering on.
- If you’re asked to select a user and enter a password, look for the option to Forgot all passwords? or choose Utilities from the menu bar instead.
- From the menu bar, click Utilities > Terminal.
- Type
resetpasswordand press Return. This opens the Recovery Assistant. - Click the Recovery Assistant window to bring it to the front, then choose Recovery Assistant > Erase Mac from the menu bar.
- Confirm the erase. Your Mac will restart.
- Connect to Wi-Fi when asked. Your MacBook will activate and reinstall macOS using Internet Recovery.
After the erase, your MacBook starts up fresh, ready for you to set up as a brand new Mac.
Alternative: use Disk Utility from Recovery
On some Macs you can skip the password prompts by opening Disk Utility straight from Recovery, selecting Macintosh HD, and erasing it as in Method 2. On newer Macs you may be asked for an Apple Account at the end.
What if it still won’t work?
A Mac with a firmware password (Intel) or one with a managed/MDM profile from a school or business needs the person or organisation who set it up. A technician can also check whether the Mac is genuinely yours, which is why many people bring locked machines to a repair shop instead.
How to factory reset a MacBook without logging in (from the login screen)
If your MacBook is stuck on the login screen and you want to reset it, the recovery routes above are your best option. Here’s the short version:
- Shut down, then boot into macOS Recovery (power button on Apple silicon, Command + R on Intel).
- Open Terminal from the Utilities menu and run
resetpassword. - Use Recovery Assistant > Erase Mac.
- Reconnect to Wi-Fi so macOS can reinstall.
You don’t need to reach the desktop at any point.
Do different operating systems reset differently?
Yes. If you’re not on a standard Mac setup, here’s how to reset each one.
Windows installed on a MacBook (Boot Camp)
Intel MacBooks can run Windows through Boot Camp. A factory reset using Erase All Content and Settings will also erase the BOOTCAMP volume, so back up any Windows files first. To reset only Windows, use Settings > System > Recovery > Reset this PC inside Windows.
Windows 10 and Windows 11 laptops
- Windows 11: Settings > System > Recovery > Reset this PC > Remove everything.
- Windows 10: Settings > Update & Security > Recovery > Reset this PC > Remove everything.
- Without logging in: On the sign-in screen, hold Shift, click the power icon and choose Restart. Then go to Troubleshoot > Reset this PC.
Chromebook
On the sign-in screen, press Ctrl + Alt + Shift + R, click Restart, then choose Powerwash. This works without signing in.
Parallels, VMware or other virtual machines
Resetting your Mac does not reset virtual machines in a clean way. They’re stored as files on the Mac, so they’ll be erased with everything else. Export or back up any VMs first.
What to do after you factory reset your MacBook
- Selling or giving it away: Leave it on the setup screen so the new owner can complete setup.
- Keeping it: Set up your Mac again and restore your files from your backup.
- Check it activated: If your Mac reaches the “Hello” screen and the setup assistant, the reset worked.
Common problems and fixes
- Can’t see Macintosh HD in Disk Utility: Shut down, unplug non-essential devices, and try again. If it still isn’t there, the drive may need servicing.
- Erase All Content and Settings isn’t available: Your Mac is either too old or running macOS earlier than Monterey 12. Use Method 2.
- Bluetooth keyboard or mouse won’t work in Recovery: Connect a wired one by USB if you can.
- Reset keeps failing: Check your internet connection and power. If it still fails, get it checked.
- Stuck on a black screen: Wait a few minutes. If nothing happens, hold the power button until the Mac shuts down and start again.
Frequently asked questions
How do I factory reset a MacBook?
On a MacBook with macOS Ventura or later, open System Settings > General > Transfer or Reset > Erase All Content and Settings. Older Macs use macOS Recovery and Disk Utility to erase the drive, then reinstall macOS.
How do I factory reset a MacBook without a password?
Start your MacBook in macOS Recovery, open Terminal, type resetpassword, and choose Recovery Assistant > Erase Mac. Activation Lock and firmware passwords aren’t removed by this, so you may still need the Apple Account linked to the Mac.
Will a factory reset remove a virus?
A full erase and reinstall of macOS removes nearly all malware, but restore only the files you trust from your backup afterwards.
How long does a MacBook factory reset take?
Usually between 10 and 30 minutes on a newer Mac with Erase All Content and Settings. Reinstalling macOS from Recovery can take an hour or more depending on your internet speed.
Does a factory reset delete everything?
Yes. It removes all user accounts, files, apps and settings. Make a backup first.
Will factory resetting a MacBook change the macOS version?
Erase All Content and Settings keeps your current macOS. Reinstalling from Recovery may install the version that came with your Mac or the latest compatible one, depending on the method.
Can I factory reset a MacBook if I forgot my Apple Account password?
You can erase the Mac, but if Activation Lock is on you’ll need the Apple Account credentials, or proof of purchase through Apple, to set the Mac up again.
Need help resetting your MacBook?
Factory resets are straightforward when everything goes to plan, but locked-out accounts, failed erases and unreadable drives can turn a 20-minute job into a long afternoon. If you’d rather have an expert handle it, the team at Advanced Computers can back up your data, reset your MacBook safely and get it ready to use or sell. Get in touch today for a hand.
Always back up your files before you reset a Mac. This guide applies to Macs you own or have permission to erase.
