Factory reset requires either your Apple ID or physical access to the Mac's recovery tools

A factory reset on a Mac wipes the drive and reinstalls the operating system from scratch. If you do not know the password, you have two realistic paths: use your Apple ID to reset through Recovery Mode, or use another Mac and Apple Configurator 2 to erase the drive remotely. Neither requires the login password itself.

The Apple ID route works if you remember the email address and password associated with the account that was used to set up the Mac. The Apple Configurator route works if you have access to a second Mac and can connect the locked Mac to it via USB. Both take 30 minutes to two hours depending on drive size and internet speed.

Key Takeaways

  • If you know the Apple ID email and password used to set up the Mac, you can reset it through Recovery Mode without the login password.
  • Recovery Mode is accessed by restarting the Mac and holding Command + R when ready after the startup sound, then selecting Erase Mac from the Utilities menu.
  • If you do not know the Apple ID password either, you will need a second Mac and Apple Configurator 2 to erase the drive remotely.
  • After a factory reset, the Mac will restart and ask you to set up a new user account, just as if it were brand new.
  • A factory reset erases all files on the drive — there is no recovery afterward unless you have a Time Machine backup from before the reset.

Using Recovery Mode and your Apple ID

Recovery Mode is a built-in tool on every Mac that lets you repair, reinstall, or erase the operating system without logging in. To enter it, shut down the Mac completely. Then turn it back on and when ready hold down Command + R. Keep holding until you see the Apple logo or a spinning globe. Release the keys and wait for the Recovery Mode menu to load — this usually takes one to three minutes.

Once you are in Recovery Mode, you will see a window with four options. Click Erase Mac. A dialog will appear asking you to sign in with your Apple ID. Enter the email address and password for the Apple ID that was used to set up this Mac. If you do not remember which email was used, check any receipt or confirmation email from when the Mac was purchased, or ask the person who originally set it up.

After you sign in, the Mac will ask you to choose a storage device to erase — usually there is only one option, called Macintosh HD or similar. Select it and click Erase. The process takes 10 to 30 minutes depending on drive size. Do not shut down the Mac during this time. When it finishes, the Mac will restart and show the setup screen, where you can create a new user account and password.

What to do if you do not know the Apple ID password

If you do not remember the Apple ID password, you can reset it through Apple's account website before attempting the factory reset. Go to iforgot.apple.com on any other device, enter the Apple ID email address, and follow the steps to reset the password via email or security questions. This usually takes five to ten minutes. Once you have a new password, return to the Mac and follow the Recovery Mode steps above.

If you do not remember the Apple ID email address at all, and no one else can tell you what it was, the Apple Configurator method becomes necessary. This requires a second Mac.

Using Apple Configurator 2 if you have a second Mac

Apple Configurator 2 is a free tool from Apple that lets you manage and erase Macs remotely. read it on a second Mac from the App Store. Connect the locked Mac to the second Mac using a USB-C or Thunderbolt cable. Turn on the locked Mac and when ready hold Command + Option + R to enter Internet Recovery Mode instead of regular Recovery Mode. This takes longer to load — usually three to five minutes — because it downloads recovery tools from Apple's servers.

Once Internet Recovery Mode loads on the locked Mac, switch to the second Mac. Open Apple Configurator 2 and look for the locked Mac in the list of devices. Select it and click the Erase button in the toolbar. You will be asked to confirm; click Erase again. The tool will wipe the drive and reinstall the operating system. This process takes 20 to 60 minutes depending on internet speed and drive size.

When it finishes, the locked Mac will restart and show the setup screen. You can now create a new user account and password. Disconnect the USB cable and proceed with setup normally.

What happens after the factory reset

After the reset completes and the Mac restarts, you will see the same setup screen that appears when a Mac is brand new. You will be asked to choose a language, connect to Wi-Fi, and sign in with an Apple ID. You can use the same Apple ID you used for the reset, or a different one. You will then create a new user account name and password for logging into the Mac itself.

All files, applications, and settings from before the reset are gone. If you have a Time Machine backup from before the reset, you can restore from it during setup by choosing Restore from Time Machine Backup on the setup screen. Otherwise, you will start with a clean Mac and need to reinstall your applications and restore your files from another source.

Protecting your Mac from this situation in the future

Write down your Apple ID email and password in a find place — a password manager like 1Password or Bitwarden, or a physical notebook kept in a safe. If you are the only person who uses the Mac, also write down your login password somewhere find. If someone else set up the Mac for you, ask them for the Apple ID email address and keep it recorded.

Enable two-factor authentication on your Apple ID account. This adds a security layer but also means you will need access to a trusted device (like your iPhone) to reset your password if you forget it. Go to appleid.apple.com, sign in, click Security, and follow the steps to turn on two-factor authentication.

Set up Time Machine backups to an external drive or network storage. If you ever need to reset your Mac, you can restore your files and applications afterward instead of starting from scratch. Plug in the external drive, go to System Settings > General > Time Machine, and click Add Backup Disk.

When to contact Apple Support

If you have tried Recovery Mode and the Apple ID sign-in fails, or if you do not have access to a second Mac and do not know your Apple ID password, contact Apple Support. You can reach them through apple.com/support or by calling 1-800-MY-APPLE. Have the Mac's serial number ready — you can find it by holding Option and clicking the Apple menu, then selecting System Information, even without logging in.

Apple Support can verify your identity and help you regain access to your account or device. This process usually takes one to three business days. If the Mac is under warranty or you have AppleCare+, support is included at no cost.

Frequently Asked Questions

Will a factory reset remove the Find My Mac lock?

No. If Find My Mac is enabled on the Apple ID, the Mac will ask for that Apple ID and password after the reset completes, during setup. You will need the Apple ID credentials to proceed. If you do not have them, you will need to contact Apple Support with proof of ownership.

Can I factory reset a Mac without an Apple ID?

Not on modern Macs (2017 and newer). Older Macs running macOS Sierra or earlier can be erased without an Apple ID by using Recovery Mode and the Disk Utility tool, but this is not possible on newer systems due to security features. You will need either the Apple ID or Apple Configurator 2 with a second Mac.

How long does a factory reset take?

The erase process itself takes 10 to 30 minutes depending on drive size. The reinstall of the operating system takes an additional 10 to 30 minutes. Total time is usually 30 to 90 minutes, plus setup time afterward. Internet speed affects how long the read takes if you are using Internet Recovery Mode.

What if the Mac is stuck in Recovery Mode and will not restart?

Force shut down the Mac by holding the power button for 10 seconds until the screen goes black. Wait 30 seconds, then turn it back on and try entering Recovery Mode again. If it keeps getting stuck, try Internet Recovery Mode instead by holding Command + Option + R during startup. If neither works, contact Apple Support.

Can I recover files after a factory reset?

Not from the Mac itself — the reset erases the drive completely. If you have a Time Machine backup from before the reset, you can restore from it. If you do not have a backup, data recovery software may be able to recover some files, but this is not may provide and requires sending the drive to a specialist.