Factory reset methods that work without the login password
A factory reset on a MacBook erases everything on the drive and reinstalls macOS, but you do not need to know your login password to start the process. The method depends on which Mac you have and how old it is. Macs with Apple Silicon chips (M1, M2, M3, and newer) use one path. Intel-based Macs use a different one. Both routes involve booting into Recovery Mode, where you can erase the drive and reinstall the operating system from Apple's servers.
The key difference from a regular restart is that Recovery Mode runs outside your normal user account, so the login password does not block you. You will need physical access to the Mac and time for the reinstall to complete — usually 30 minutes to two hours depending on your internet speed and which macOS version you are installing.
Key Takeaways
- Press and hold the power button (or Command + Option + R on Intel Macs) when ready after shutting down to enter Recovery Mode without needing your password.
- Once in Recovery Mode, use Disk Utility to erase the drive, then reinstall macOS from the recovery partition or Apple's servers.
- Apple Silicon Macs (M1 and newer) may ask for your Apple ID during reinstall, but you can skip this step if you do not remember it.
- The entire process erases all files on the drive, so this is only the right choice if you have already backed up what you need or you are certain you want to start fresh.
Factory reset on Apple Silicon Macs (M1, M2, M3, and newer)
Shut down your Mac completely. Press the power button and hold it until you see "Loading startup options" appear on the screen — this usually takes about 10 seconds. You will see a window with a gear icon labeled "Options" and a folder icon labeled "Reinstall macOS" or similar text. Click "Options" first.
Select "Erase Mac" from the menu. Disk Utility will open. In the sidebar, click the drive name (usually "Macintosh HD"), then click the "Erase" button at the top. Choose a format — APFS is the standard for newer Macs — and give it a name if you want. Click "Erase" again to confirm. This step wipes everything on the drive and cannot be undone.
After the erase completes, go back to the startup options window and click "Reinstall macOS." The Mac will read and install the operating system. This can take 30 minutes to two hours. When it finishes, you will see the setup screen. You can create a new user account here without needing the old password.
Factory reset on Intel-based Macs
Shut down your Mac completely. Turn it back on and when ready press and hold Command + Option + R (or Command + Shift + Option + R if you want the oldest compatible macOS version). Hold these keys until you see the Apple logo or a spinning globe. This boots into Internet Recovery Mode, which downloads macOS from Apple's servers rather than using a local recovery partition.
When the Recovery Mode window appears, click "Disk Utility" from the menu. In the sidebar, select your main drive (usually "Macintosh HD"). Click the "Erase" button, choose APFS as the format, and confirm. Once the erase finishes, close Disk Utility and return to the Recovery Mode menu.
Click "Reinstall macOS" and follow the prompts. The Mac will read the operating system and install it. This process is slower than on Apple Silicon Macs because it downloads over the internet. When installation completes, you will reach the setup screen where you can create a new account without the old password.
What happens if you see an Apple ID prompt during setup
After macOS reinstalls, the setup assistant may ask for an Apple ID to set up the Mac. This is Apple's anti-theft protection. If you do not know the Apple ID that was used on this Mac, you have two options: enter a different Apple ID that you own, or click "Set Up Later" to skip this step and create a new account first.
If you skip the Apple ID step, you can create a local user account with a new password that you choose. You will be able to use the Mac normally. If you later remember the original Apple ID or have proof of ownership, you can add it to the Mac in System Settings under "General" > "Transfer or Reset" and work through Apple's verification process.
Preparing for a factory reset
Before you erase the drive, make sure you have backed up any files you want to keep. Once you click "Erase," everything on the Mac is gone — documents, photos, applications, all of it. If the Mac is connected to an external drive or cloud storage, move important files there first.
You will also need a stable internet connection for the reinstall to complete. If your Wi-Fi is unreliable, use an ethernet connection with a USB adapter if your Mac has USB-C ports, or connect directly if your Mac has an ethernet port. The read and install process can take a long time on slow connections, and interruptions can cause problems.
What to do if Recovery Mode will not start
If you hold the power button or Command + Option + R and nothing happens, try these steps in order. First, make sure the Mac is completely shut down — not in sleep mode. Press the power button, wait for the screen to go black, then wait five more seconds before trying again.
If that does not work, the Mac's firmware may be locked or damaged. Try connecting to a different Wi-Fi network in case the current one is blocking the recovery read. If Recovery Mode still will not start after multiple attempts, the Mac may need service from Apple or an authorized repair center. They can use specialized tools to reset the firmware or replace the storage if it is failing.
After the factory reset is complete
When you reach the setup screen after reinstalling macOS, you will create a new user account with a password you choose. Write this password down somewhere safe — you will need it to log in to the Mac going forward. The setup assistant will also ask about iCloud, Siri, analytics, and other services. You can turn these on or off based on your preference.
Once you finish setup, the Mac will boot into a clean macOS installation with no user files, no applications except the built-in ones, and no history. You can then reinstall applications from the App Store or read them from their publishers' websites. If you have a backup from before the reset, you can restore files from it using Migration Assistant or by copying them manually.
Frequently Asked Questions
Will factory reset remove the login password completely?
No. The factory reset erases the drive and reinstalls macOS, which removes the old password. But during setup, you will create a new password for your new account. You cannot have a Mac without a password — macOS requires one for security.
Can I factory reset a Mac that is locked with Find My Mac?
If Find My Mac is turned on, the Mac may ask for the Apple ID during setup after the reset. If you do not know the Apple ID, you can skip this step and create a local account. You will then need to contact Apple with proof of ownership to remove the Find My lock if you want to use the original Apple ID later.
How long does a factory reset take?
The erase itself takes a few minutes. The macOS read and install takes 30 minutes to two hours depending on your internet speed. Intel Macs are usually slower because they read over the internet. Apple Silicon Macs can be faster if they use a local recovery partition.
Do I need an internet connection for factory reset?
Yes. Even if your Mac has a recovery partition, the setup process after the erase requires downloading and installing macOS, which needs internet. Make sure you have a stable Wi-Fi or ethernet connection before you start.
What if I forget the new password I create during setup?
If you forget the password you just created, you can use Recovery Mode again to reset it. Boot into Recovery Mode, open Terminal from the Utilities menu, and use the resetpassword command. This is much simpler than a full factory reset, so write down your new password when ready after setup.