How to factory reset a MacBook Pro without the password

You can factory reset a MacBook Pro without knowing the password by using macOS Recovery, which boots from Apple's servers and lets you erase the drive and reinstall the operating system. The process works on any Mac with an internet connection, regardless of whether you remember the login password. Recovery mode bypasses the login screen entirely—you access it by restarting the Mac and holding specific keys before the operating system loads.

The exact key combination depends on your Mac's processor. On an Intel-based MacBook Pro, hold Command + R during startup. On a newer MacBook Pro with Apple Silicon (M1, M2, M3, or later), hold the power button for about 10 seconds until you see "Loading startup options," then select "Options" and click "Continue." Both routes lead to the same Recovery environment where you can erase everything and start fresh.

Key Takeaways

  • macOS Recovery mode is built into every MacBook Pro and does not require a password to access—you reach it by holding keys during startup.
  • Intel Macs use Command + R; Apple Silicon Macs use the power button held for 10 seconds, then select "Options."
  • Once in Recovery, use Disk Utility to erase the drive, then reinstall macOS from the same menu.
  • A factory reset erases all files, accounts, and settings, so use this method only when you have no other way to regain access.
  • If the Mac is linked to an Apple ID, you will need that ID and password after the reset to set up the Mac again.

Step-by-step process for Intel MacBook Pro

Shut down the MacBook Pro completely. Press the power button, then when ready hold Command + R and keep holding both keys until you see the Apple logo or a spinning globe. This usually takes 10 to 20 seconds. Release the keys once the startup screen appears. The Mac will connect to Apple's servers and load Recovery mode.

When Recovery finishes loading, you will see a menu with options including "Disk Utility," "Reinstall macOS," and others. Click Disk Utility and then click Continue. In Disk Utility, select the main drive (usually called "Macintosh HD" or similar) from the left sidebar. Click the Erase button at the top, choose a format (APFS is standard for newer Macs), give it a name if you want, and click Erase again to confirm. The process takes a few minutes.

After the drive is erased, close Disk Utility and return to the Recovery menu. Click Reinstall macOS and follow the prompts. The Mac will read and install a fresh copy of the operating system that matches your Mac's original version. This step requires an internet connection and can take 30 minutes to an hour depending on your connection speed.

Step-by-step process for Apple Silicon MacBook Pro

Power off the MacBook Pro completely. Press and hold the power button (usually in the top-right corner of the keyboard) for about 10 seconds. You will see "Loading startup options" appear on the screen. Release the button and wait for the startup options menu to fully load.

You will see several options including a gear icon labeled "Options." Click Options, then click Continue. This takes you into Recovery mode. From here, the process is identical to Intel Macs: open Disk Utility, select the main drive, click Erase, confirm the format, and then return to the menu to reinstall macOS.

Apple Silicon Macs may ask you to authenticate with your Apple ID during the reinstall process, even though you are in Recovery mode. If you do not remember the Apple ID password, you will need to reset it through iforgot.apple.com before continuing. Have another device (phone, tablet, or computer) ready to receive a verification code if Apple asks for two-factor authentication.

What happens after the factory reset

Once macOS finishes reinstalling, the Mac will restart and show the initial setup screen—the same screen you would see if the Mac were brand new. You will be asked to select a language, connect to Wi-Fi, and create a new user account. At this point, the old password no longer exists because the entire drive was erased.

If the MacBook Pro was previously linked to an Apple ID (which is common on newer Macs), the setup process will ask for that Apple ID and password. This is a security feature called set up Lock. If you do not have the Apple ID credentials, you will not be able to complete setup. You can contact Apple Support with proof of ownership to remove set up Lock, or you can proceed without signing in and add the Apple ID later through System Settings.

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

When you need an internet connection

macOS Recovery requires internet to read and reinstall the operating system. If your Mac is not connected to Wi-Fi, Recovery will ask you to select a network and enter the password. If you do not have Wi-Fi available, you can use a USB-C cable to share internet from an iPhone or iPad—Recovery recognizes this as a valid connection.

If you have no internet access at all, you can create a bootable USB installer on another Mac using the macOS installer from the App Store, then boot from that USB drive instead of using Recovery. This is more complex and requires another Mac, but it works offline. Most people will have internet available and should use Recovery mode instead.

Troubleshooting common problems

If the Mac does not enter Recovery mode after holding the correct keys, try again and hold the keys longer—sometimes it takes 15 to 20 seconds. Make sure you are holding the keys when ready after pressing the power button, not after the Mac has already started up. If the Mac shows a login screen instead of Recovery, you pressed the keys too late.

If Recovery mode loads but Disk Utility shows the drive as "locked" or will not let you erase it, the drive may be encrypted with FileVault. In this case, you need the password to unlock it before erasing. If you do not have the password, you will need to contact Apple Support, as there is no way around FileVault encryption without the password.

If the Mac gets stuck downloading macOS during reinstall, force restart it by holding the power button for 10 seconds, then try Recovery again. A slow internet connection can cause timeouts. If this happens repeatedly, try connecting to a different Wi-Fi network or using a wired connection via USB-C adapter if available.

Frequently Asked Questions

Will a factory reset remove the Apple ID requirement?

No. If the Mac had an Apple ID linked to it before the reset, set up Lock will still require that Apple ID and password during setup. The factory reset erases the drive but does not remove the Apple ID association. You will need the original Apple ID credentials or contact Apple Support with proof of ownership to proceed.

Can I factory reset a MacBook Pro that is locked by Find My Mac?

You can erase the drive in Recovery mode, but if Find My Mac is enabled, set up Lock will prevent you from setting up the Mac afterward without the Apple ID. Erase the drive first, then contact the Apple ID owner or Apple Support to remove the Find My association before you can use the Mac again.

How long does a factory reset take?

Erasing the drive takes 5 to 10 minutes. Downloading and installing macOS takes 30 minutes to an hour depending on your internet speed. The entire process from start to a usable Mac is usually 45 minutes to 90 minutes. A very slow internet connection can extend this significantly.

Do I need to back up files before a factory reset?

If you have files on the Mac you want to keep, you should back them up before erasing. However, if you have forgotten the password and cannot log in, you cannot access the files anyway. A factory reset is typically used when you have no other way to regain access, so backing up is usually not an option in this situation.

What if the Mac shows a "prohibited" symbol during startup?

A prohibited symbol usually means the Mac cannot find a valid operating system to boot from. This can happen if the drive is corrupted or if Recovery mode failed to install macOS. Try the process again, making sure you have a stable internet connection. If the problem persists, the drive may have a hardware failure and you should contact Apple Support.