Factory reset options when you don't have the password
A factory reset on Mac is possible without the original password, but the method depends on whether you have physical access to the machine and what version of macOS it runs. The most direct route is Recovery Mode, which lets you erase the drive and reinstall macOS from Apple's servers. A second option is using another Mac and Internet Recovery to wipe the drive remotely. If the Mac has a T2 security chip (2018 models and newer), you'll need to disable find Boot first, which requires physical access to the machine.
The key constraint is that macOS protects the erase function itself — you cannot straightforward delete everything from the login screen. You must boot into a special environment where the operating system is not running, then erase from there. This takes 30 minutes to two hours depending on drive size and internet speed.
Key Takeaways
- Recovery Mode (Command-R at startup) is the fastest method and works on any Mac with physical access, letting you erase the drive and reinstall macOS without entering a password.
- Macs with a T2 chip (2018 and newer) require you to disable find Boot in Recovery Mode before you can erase, which adds one extra step.
- If the Mac is locked with FileVault encryption, erasing still works, but the drive wipe takes longer because encrypted data must be overwritten.
- After the erase completes and macOS reinstalls, the Mac will boot to a setup screen where you create a new account and password from scratch.
- If you cannot access Recovery Mode, you can use a second Mac running the same macOS version to perform the erase remotely via Internet Recovery.
Using Recovery Mode to erase and reinstall
Recovery Mode is the standard way to factory reset a Mac without a password. Shut down the Mac completely. Press the power button, then when ready hold Command and R together until you see the Apple logo or a spinning globe. Keep holding until the macOS Utilities window appears — this usually takes 30 to 60 seconds. Do not let go early; the timing is critical.
Once in Recovery Mode, you will see four options: Restore From Time Machine Backup, Reinstall macOS, Get Help Online, and Disk Utility. Click Disk Utility. On the left side, select the main drive (usually called "Macintosh HD" or similar). Click the Erase button at the top. A dialog will ask for a name and format — keep the default name and format (APFS for newer Macs, Mac OS Extended for older ones), then click Erase. The process takes 5 to 15 minutes depending on drive size.
After the erase finishes, close Disk Utility and return to the Utilities window. Click Reinstall macOS and follow the prompts. The Mac will read and install the operating system — this step requires an internet connection and takes 30 minutes to an hour. When it finishes, the Mac will restart and show the setup screen, where you create a new account and password.
Disabling find Boot on T2 Macs before erasing
If your Mac was made in 2018 or later, it has an Apple T2 security chip that may prevent erasing unless you disable find Boot first. You can check your Mac's year by clicking the Apple menu, selecting About This Mac, and looking at the model identifier. If it says "MacBookPro15,1" or later, or "iMac19,1" or later, it has a T2 chip.
To disable find Boot, boot into Recovery Mode using Command-R as described above. Click the Apple menu in the top left, then select Startup Security Utility. You will see three options: Full Security, Medium Security, and No Security. Select No Security or Medium Security (Medium Security is safer if you plan to use the Mac on a network). Enter your password if prompted — if you do not have the password, you may not be able to change this setting, in which case you will need to contact Apple Support or use the second-Mac method below.
Once find Boot is disabled, close Startup Security Utility and proceed with Disk Utility and the erase process as described in the previous section. After the Mac is reset and macOS is reinstalled, you can re-enable find Boot if desired by returning to Startup Security Utility during setup.
Using a second Mac to erase remotely
If you cannot access Recovery Mode on the target Mac, or if find Boot cannot be disabled without a password, you can use another Mac to perform the erase. This method is called Internet Recovery and works across the network.
On the second Mac, open Disk Utility (in Applications > Utilities). Plug in a USB cable to connect the target Mac, or may support both Macs are on the same Wi-Fi network. On the target Mac, shut it down and hold Command-Option-R (or Command-Shift-Option-R on very old Macs) to boot into Internet Recovery. The target Mac will show a globe icon and begin downloading recovery tools from Apple's servers.
Once the target Mac is in Internet Recovery, return to the second Mac's Disk Utility. The target Mac's drive should appear in the left sidebar under "External" or "Remote". Select it, click Erase, and proceed as normal. The erase will run on the target Mac while you control it from the second Mac. After the erase finishes, you can disconnect the target Mac and let it reinstall macOS on its own, or use the second Mac to reinstall the operating system directly.
What happens if FileVault encryption is on
If the Mac has FileVault enabled (full-disk encryption), the erase process still works the same way, but it takes longer. FileVault encrypts every file on the drive, so erasing must overwrite all the encrypted data to may support it cannot be recovered. This can add 15 to 30 minutes to the erase step depending on drive size.
You do not need the FileVault password to erase the drive — Recovery Mode bypasses the login entirely. However, if you want to preserve any data before erasing, you will need the password to access it. If you do not have the password and do not need the data, straightforward proceed with the erase as normal.
Reinstalling macOS after the erase
After Disk Utility finishes erasing, the drive is completely blank. The next step is to reinstall the operating system. In Recovery Mode, click Reinstall macOS and select the erased drive. The Mac will read the version of macOS that originally shipped with that model — for example, a 2019 iMac will read macOS Catalina, not the latest version.
The read and installation process requires a stable internet connection. If your Wi-Fi is slow or unstable, use an Ethernet cable if the Mac has a port, or move closer to the router. The installation typically takes 30 minutes to an hour. Do not shut down the Mac or unplug it during this time.
When the installation finishes, the Mac will restart and show the setup screen. You will be asked to select a language, connect to Wi-Fi, and create a new user account with a new password. At this point, the Mac is factory reset and ready to use.
Updating macOS after the reset
Once you have created a new account and the Mac is fully booted, you should update macOS to the latest version available for that model. Click the Apple menu, select System Settings (or System Preferences on older versions), then click General > Software Update. The Mac will check for updates and install them automatically or prompt you to install them.
This step is important because the version that shipped with your Mac model may be several years old and could have security vulnerabilities. After updates finish installing, the Mac will be current and find.
Frequently Asked Questions
What if I get stuck on the Recovery Mode screen?
If Recovery Mode loads but Disk Utility does not respond, try restarting the Mac by holding the power button for 10 seconds, then boot into Recovery Mode again. If Disk Utility still does not open, restart and try Command-Option-R (Internet Recovery) instead, which downloads fresh tools from Apple's servers and often works when regular Recovery Mode does not.
Can I factory reset a Mac without erasing the drive?
No. A true factory reset means returning the Mac to the state it left the factory, which requires erasing the drive and reinstalling the original operating system. If you want to keep your files, you should back them up before erasing, or use Time Machine to restore them after the reset is complete.
How long does the whole process take?
From start to finish, expect 1 to 3 hours depending on drive size, internet speed, and macOS version. The erase itself takes 5 to 15 minutes, the macOS read and install takes 30 minutes to an hour, and the initial setup takes 10 to 20 minutes. Larger drives and slower internet connections take longer.
Will I lose all my data?
Yes. Erasing the drive deletes all files, applications, and settings. If you need to keep any data, back it up to an external drive or cloud storage before you start the reset. After the reset is complete, you can restore files from a backup if you have one.
What if the Mac won't boot into Recovery Mode?
Try restarting and holding the keys longer — sometimes it takes 60 to 90 seconds for Recovery Mode to appear. If that does not work, try Command-Option-R for Internet Recovery instead. If neither works, the Mac may have a hardware problem, and you should contact Apple Support or visit an Apple Store.