Is it possible to factory reset a locked Macbook?

Having a locked or disabled Macbook can be extremely frustrating. Whether you forgot your password, can’t get past the login screen, or have a Macbook that’s been locked by activation lock, being unable to use your Mac can make you feel powerless.

The good news is that in many cases, performing a factory reset can bypass the login and restore the Macbook to its original out-of-the-box state. A factory reset erases all data and settings on the Macbook and reinstalls macOS from scratch.

What does a factory reset do?

A factory reset, also known as a restore, completely wipes a Macbook and reinstalls the operating system. Here’s what happens during a factory reset:

  • All user accounts and associated data are deleted, including documents, photos, music, apps, and settings.
  • The original factory version of macOS is reinstalled. This will be the version that originally came with the Macbook when you first bought it.
  • Any software updates installed since purchase will be removed, reverting macOS back to the factory default.
  • A “Factory Reset” partition containing the default macOS will be created if the Macbook shipped with OS X Lion or later.

Essentially, the Macbook will be returned to the state it was in when you originally took it out of the box. This clean slate can help bypass login issues and lock screens.

When would you factory reset a Macbook?

There are a few common situations where performing a factory reset may be your only option for accessing a locked Macbook:

  • Forgotten password: If you can’t recall your Macbook login password, a factory reset removes the password requirement so you can access the computer.
  • Login screen locked: If the login screen is stuck or not accepting passwords, a factory reset can reset components and allow access.
  • Activation lock enabled: Factory resetting can disable Find My Mac activation lock, removing iCloud requirements.
  • macOS issues: Severe bugs, crashes or glitches may sometimes be fixable only by wiping the Macbook entirely.
  • Erase before selling: Wiping your Macbook before selling or gifting it is highly recommended.

Essentially, if you can’t access or start up your Mac at all due to an unknown lock, password issue, system error or activation lock, a factory reset should be considered.

How to factory reset a Macbook

There are a couple methods to factory reset a Macbook depending on the model and macOS version. Here are the main ways to wipe and restore a Macbook back to factory settings.

Method 1: Use Disk Utility (all models)

Disk Utility is an application included with all versions of macOS that can completely erase and repartition the system drive. Here are the steps to factory reset with Disk Utility:

  1. Restart your Mac into recovery mode by holding Command + R while booting up.
  2. Select Disk Utility when the macOS Utilities window appears.
  3. Click “View” > “Show All Devices” to see the internal system drive.
  4. Select the system drive (typically named “Macintosh HD”).
  5. Click “Erase” at the top.
  6. Choose a name and format for the drive (typically “Macintosh HD” and “APFS”).
  7. Click “Erase” to begin the process.

This will fully wipe the drive and factory reset the Mac. You can then reinstall macOS from the recovery screen.

Method 2: Use Finder (macOS Catalina or later)

Macs running macOS Catalina (10.15) or later have a factory reset option in Finder:

  1. Go to System Preferences > Erase All Content and Settings.
  2. Enter your admin name and password.
  3. Click Continue to begin wiping the Macbook.

This will automatically reboot into recovery mode when complete so you can reinstall the OS.

Method 3: Use ‘eraseinstall’ command (Catalina or Big Sur)

For Macs running Catalina or Big Sur, you can factory reset from the command line terminal using a special “eraseinstall” command:

  1. Boot into recovery mode (Command + R at startup).
  2. Open Terminal from the Utilities menu.
  3. Type eraseinstall and press return.
  4. Follow the prompts to begin the reset process.

This performs a full system wipe and OS reinstallation similar to the Disk Utility method.

Method 4: Use Apple Configurator (T2-equipped Macs)

On newer Macs with Apple silicon or the T2 security chip, you may need to use Apple Configurator 2 running on another Mac to factory reset if standard methods don’t work. This involves putting the Mac into DFU mode and connecting it to the Configurator Mac with a USB-C cable. Apple has a support document explaining the full process.

Will factory reset remove activation lock?

Activation lock is an important anti-theft feature in Find My Mac that links a Macbook to the Apple ID used to activate it. Activation lock prevents anyone else from using the Macbook if it’s ever lost or stolen.

Unfortunately, activation lock also prevents factory resetting the standard ways if you’ve forgotten the Apple ID password. Activation lock persists through typical resets like Disk Utility or “Erase All Content” in Catalina.

Here are a few options for removing activation lock from a locked Macbook:

  • Enter Apple ID credentials – If you remember the associated Apple ID, you can disable Find My Mac during reset.
  • Use Apple Configurator – Configurator can factory reset with activation lock in place.
  • Contact Apple Support – Apple can remotely remove activation lock if you can prove you own the Mac.
  • Take to Apple Store – Genius Bar can unlock with proof of purchase.

So while factory resetting a locked Macbook is possible, it may not lift activation lock unless special measures are taken.

Risks of factory resetting your Macbook

Before factory resetting, it’s important to understand the risks:

  • All user data will be permanently erased with no way to recover it.
  • Passwords, files, photos and app settings will be wiped clean.
  • If you don’t backup first, data loss could be devastating.
  • Resetting won’t fix hardware issues if those are causing startup problems.
  • Activation lock may persist even after resetting.
  • You’ll need to reinstall apps and macOS if you can’t restore from a backup.

So before resorting to a factory reset, exhaust all other options like using Password Reset tools or working with Apple Support. And if you do reset, be absolutely certain to backup your data first.

Should you factory reset before selling a Macbook?

Factory resetting your Macbook before selling or gifting it is highly recommended. Here’s why you should wipe your Macbook when transferring ownership:

  • It permanently erases all your personal data from the Macbook.
  • It removes any activation lock so the new owner can activate on their Apple ID.
  • It clears out any installed apps and settings.
  • It reverts macOS back to factory condition without upgrades.
  • It gives the new owner a like-new, fresh Macbook experience.

Failing to factory reset before selling leaves all your private data exposed. It also prevents the new owner from properly activating the Macbook themselves.

Steps to factory reset a Macbook before selling:

  1. Backup your data – Copy any files and data you want to keep.
  2. Sign out of iCloud – Fully deregister your Apple ID from the Mac.
  3. Erase the system drive – Use Disk Utility to wipe the internal drive.
  4. Reinstall macOS – Download the latest compatible OS version.
  5. Remove activation lock – Check that Find My Mac is disabled.

Following these steps will provide a fresh, clean Macbook ready for the new owner to enjoy. Be sure to provide any original accessories like power adapters along with a receipt or proof of purchase.

Factory reset Macbook with Chrome OS Flex

If you have an older Macbook that macOS no longer supports, another option instead of factory resetting is to install Chrome OS Flex.

Chrome OS Flex is Google’s new cloud-based operating system designed to breathe new life into older PCs and Macs. Here are some benefits of switching to Chrome OS Flex:

  • Works on Macbook hardware from 2007 or later.
  • Much faster and lightweight than macOS on older machines.
  • Automatically updates itself for improved security.
  • Easy to install right over your existing macOS.
  • Supports Android apps and Google Play Store.
  • Simplified browser-based workflow.

And because it installs freshly over any existing OS, switching to Chrome OS Flex inherently performs a factory reset on your Macbook in the process.

Chrome OS Flex provides a simple, secure, maintained operating system for breathing new life into aging Macbook hardware. Consider it as an alternative to factory resetting back to an outdated, unsupported version of macOS.

Conclusion

Performing a factory reset can often gain access to a locked, disabled or malfunctioning Macbook by completely wiping the device and reinstalling macOS. Methods like Disk Utility, recovery mode terminal commands, or Apple Configurator can all reset a Macbook back to its original state.

However, factory resetting also carries major risks like permanent data loss – so you should exhaust all other options first and ensure your data is backed up. Resetting also may not remove activation lock from Find My Mac. Nonetheless, factory resetting is an important last resort for salvaging use of a locked-up Macbook.