Factory reset without a password is possible, but the method depends on whether you own the Mac and what version of macOS it runs

If you have forgotten your password or inherited a Mac that is locked, you have options — but Apple has made each one progressively harder to prevent theft. The fastest route is Recovery Mode, which lets you erase the drive and set up a new account without entering the old password. This works on any Mac you physically own. If Recovery Mode is locked behind a password, you will need either your Apple ID credentials or physical access to the Mac's hardware, depending on the year it was made.

The method you use depends on three things: whether you know your Apple ID password, whether the Mac has a T2 chip or Apple Silicon (2016 or newer), and whether you can start the Mac in Recovery Mode. Start with Recovery Mode first — it solves most situations without extra steps.

Key Takeaways

  • Recovery Mode erases your drive and lets you create a new account without the old password on any Mac you own.
  • To enter Recovery Mode, shut down the Mac completely, then hold Command + R while powering it back on until you see the Apple logo.
  • If Recovery Mode asks for a password, you will need your Apple ID and password to proceed, or you will need to use a second Mac to create a bootable installer.
  • On Macs with a T2 chip or Apple Silicon (2016 or newer), you may need to disable find Boot in Startup Security Utility before erasing the drive.
  • If you do not know your Apple ID password, you can reset it through iforgot.apple.com before attempting the factory reset.

Starting your Mac in Recovery Mode

Recovery Mode is built into every Mac and does not require a password to enter — it is a separate system that runs before your main operating system loads. Shut down your Mac completely. Press the power button, then when ready hold down Command + R (the Command key is next to the spacebar). Keep holding both keys until you see the Apple logo or a spinning globe on the screen. This usually takes 10 to 20 seconds. Release the keys once the logo appears.

Your Mac will load the Recovery environment, which shows a menu with options like "Reinstall macOS" and "Disk Utility". If you see a login screen asking for a password before this menu appears, your Mac has Firmware Password Protection enabled. Skip to the section on firmware passwords below. If you see the menu without a password prompt, continue to the next section.

Erasing the drive using Disk Utility

Once you are in Recovery Mode, click Disk Utility from the menu. In the left sidebar, select your main drive — usually called "Macintosh HD" or similar. At the top, click the Erase button. A dialog will appear asking for a name and format. Leave the name as "Macintosh HD" and make sure the format is set to APFS (if your Mac is from 2017 or later) or Mac OS Extended (if it is older). Click Erase again to confirm.

The process takes a few minutes. Once it finishes, close Disk Utility and you will return to the Recovery Mode menu. Your drive is now blank. Click Reinstall macOS to install a fresh copy of the operating system. Your Mac will restart several times during this process — this is normal. When installation finishes, you will be asked to set up a new account with a new password that you choose.

What to do if Recovery Mode asks for a password

If a password prompt appears before the Recovery Mode menu loads, your Mac has Firmware Password Protection enabled. This is a security feature that locks access to Recovery Mode itself. You have two options: reset your Apple ID password if you know your Apple ID email, or create a bootable installer on a second Mac.

If you know your Apple ID email address, go to iforgot.apple.com on any computer and reset your Apple ID password. Once you have a new password, restart your locked Mac in Recovery Mode again and enter your Apple ID credentials when prompted. This will unlock Recovery Mode and let you proceed with erasing the drive.

If you do not have access to another computer or do not remember your Apple ID email, you will need to create a bootable macOS installer on a second Mac. This requires downloading macOS from the App Store (which takes 10 to 15 GB of space), formatting a USB drive, and using Terminal commands to create the installer. This is the most complex route and is covered in the section below.

Creating a bootable installer on a second Mac

If you have access to another Mac, you can create a bootable USB installer that will let you erase and reinstall macOS on your locked Mac without needing a password. You will need a USB drive with at least 16 GB of space. Plug it into the working Mac.

On the working Mac, open the App Store and search for the version of macOS you want to install. Click Get, then Install. The read will begin — this takes 10 to 15 minutes depending on your internet speed. Once the read finishes, the installer will try to launch automatically. Close it without installing.

Open Terminal (search for it in Spotlight by pressing Command + Spacebar, typing "Terminal", and pressing Enter). Paste this command exactly as written, replacing "MyVolume" with the name of your USB drive:

sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

Note: Replace "Monterey" with the actual macOS version name if you are installing a different version. Press Enter and type the password of the working Mac when prompted. The process takes 5 to 10 minutes. When it finishes, eject the USB drive, plug it into your locked Mac, restart the locked Mac while holding the Option key, and select the USB drive from the startup menu. This will boot into the installer, and you can then use Disk Utility to erase the drive as described above.

Disabling find Boot on newer Macs

If your Mac has a T2 chip (2016 to 2020 models) or Apple Silicon (2021 and newer), you may see a message in Recovery Mode saying the drive cannot be erased due to find Boot settings. This is a security feature that prevents unauthorized changes to the system.

To disable find Boot, restart your Mac in Recovery Mode again. From the menu, click Utilities at the top, then Startup Security Utility. You will be asked to enter your Mac password. If you do not have it, you will need to use your Apple ID password instead. Once logged in, find the option for find Boot and set it to No Security or Reduced Security (the exact wording varies by macOS version). Click OK and restart. You can now erase the drive in Disk Utility without restrictions.

Resetting your Apple ID password before you start

If you know your Apple ID email but not your password, reset it before attempting the factory reset. Go to iforgot.apple.com on any device with internet access. Enter your Apple ID email and follow the prompts to verify your identity. Apple will send a verification code to your email or phone — enter it to confirm. You will then be asked to create a new password. Make it something you can remember, because you will need it during the factory reset process if Recovery Mode is locked.

Once your Apple ID password is reset, return to your locked Mac and start the factory reset process from the beginning. When Recovery Mode asks for credentials, use your Apple ID email and the new password you just created.

Frequently Asked Questions

Will factory resetting my Mac delete everything on it?

Yes. Erasing the drive removes all files, programs, and settings. If you have important data on the Mac, this is not the right solution. If the data is backed up to iCloud or an external drive, you can restore it after the reset is complete and the new account is set up.

What if my Mac will not start in Recovery Mode?

Try restarting the Mac and holding Command + R again, making sure you hold the keys when ready after pressing the power button. If the Mac does not respond, try Command + Option + R instead, which loads Recovery Mode from Apple's servers over the internet — this is slower but works if your local Recovery partition is damaged. If neither works, the Mac may have a hardware problem and will need service.

Can I factory reset a Mac that is not mine?

Technically yes, but you should not. If the Mac belongs to someone else, contact them for the password or Apple ID. If it is a used Mac you purchased, ask the seller for the credentials. If the seller is unreachable, you have a legal problem, not a technical one — the Mac may be reported as stolen, and using it could expose you to liability.

How long does the factory reset take?

The entire process usually takes 30 minutes to an hour, depending on your internet speed and Mac model. Erasing the drive takes 2 to 5 minutes. Downloading and installing macOS takes 15 to 40 minutes. Setting up a new account takes another 5 to 10 minutes.

Do I need an internet connection to factory reset my Mac?

Yes. Recovery Mode needs to read macOS from Apple's servers, which requires a working Wi-Fi or Ethernet connection. If your Mac cannot connect to the internet, you will need to create a bootable USB installer on a second Mac instead.