Factory reset requires either your Apple ID or physical access to recovery mode
A factory reset wipes your MacBook and reinstalls macOS from scratch. If you do not know the password, you have two paths: use your Apple ID to reset through macOS Recovery, or use Apple's Erase Assistant tool if you have physical access to the machine and it is running macOS Monterey or newer. Neither path is when ready — both require time and verification steps — but both work without the login password.
The method you use depends on whether you remember your Apple ID password and whether the MacBook is running a recent version of macOS. If you are locked out of both the MacBook password and your Apple ID, you will need to contact Apple Support or visit an Apple Store with proof of ownership.
Key Takeaways
- macOS Recovery lets you erase and reinstall the operating system using your Apple ID, and works on any Mac made in the last decade.
- Apple's Erase Assistant is faster if you have physical access to the machine and it runs macOS Monterey (2021) or newer, and does not require your Apple ID.
- Both methods erase all data on the drive, so use them only when you intend to wipe the machine completely.
- If you do not remember your Apple ID password either, you will need to reset it through Apple's website or contact Apple Support with proof of ownership.
Using macOS Recovery with your Apple ID
Start by powering on the MacBook and when ready holding Command + R until you see the Apple logo or a spinning globe. This boots into macOS Recovery, a separate partition that exists outside your normal operating system. You will see a "macOS Utilities" window with four options: Restore From Time Machine Backup, Reinstall macOS, Get Help Online, and Disk Utility.
Click "Reinstall macOS." The system will ask you to select a disk — choose the main drive (usually called "Macintosh HD" or similar). Then it will ask for your Apple ID and password. Enter the credentials you used to set up the MacBook originally. Apple verifies your identity to prevent theft; this is why the password is required even though you are in Recovery mode.
Once verified, the system will erase the drive and read a fresh copy of macOS. This takes 20 minutes to over an hour depending on your internet speed and which macOS version you are installing. The MacBook will restart several times during this process. When it finishes, you will see the macOS setup screen, and the machine will be factory reset.
Using Erase Assistant on macOS Monterey and newer
If your MacBook runs macOS Monterey (released late 2021) or newer, you can use Apple's Erase Assistant instead. This tool is faster because it does not require your Apple ID. Power on the MacBook and hold Command + Q when ready after startup, before the login screen appears. This launches Erase Assistant directly.
Erase Assistant will ask you to confirm that you want to erase the machine. It will show you the drive that will be wiped. Click "Erase" and the system will wipe the drive and reinstall macOS. Like Recovery, this takes 20 minutes to an hour. When finished, you will see the setup screen and can configure the MacBook as new.
Erase Assistant exists specifically for situations where the password is unknown. It is the fastest route if your MacBook is recent enough to support it, because you skip the Apple ID verification step entirely.
What happens if you do not remember your Apple ID password
If you need to use macOS Recovery but do not know your Apple ID password, go to iforgot.apple.com before you start the reset. Enter your Apple ID (usually an email address) and follow Apple's password reset flow. You will be asked to verify your identity through a trusted phone number, a recovery key, or security questions you set up when you created the account.
This process usually takes a few minutes. Once your Apple ID password is reset, you can use it in macOS Recovery. If you do not have access to any of the recovery methods — no trusted phone number, no recovery key, no answers to security questions — you will need to contact Apple Support or visit an Apple Store with proof of ownership of the MacBook.
Checking your macOS version before you start
To know whether you can use Erase Assistant, you need to know which macOS version is installed. If you can reach the login screen, click the Apple menu in the top left and select "About This Mac" — the macOS version appears in the first line. Monterey is version 12; Ventura is version 13; Sonoma is version 14. If you see 12 or higher, Erase Assistant will work.
If you cannot reach the login screen at all, or if the MacBook is stuck on an earlier version, use macOS Recovery instead. Recovery works on any Intel Mac from 2011 onward and any Apple Silicon Mac (M1, M2, M3, etc.), so it is the more universal option.
What to do if the MacBook will not boot into Recovery
Occasionally a MacBook will not respond to Command + R at startup. This usually means the Recovery partition is corrupted or the drive has a hardware problem. Try these steps in order: power off completely, wait 10 seconds, then power on and hold Command + R. If that does not work, try Command + Option + R instead, which downloads Recovery from Apple's servers rather than using the local partition — this is slower but works more often.
If neither Command + R nor Command + Option + R brings up the Recovery screen after two minutes, the drive may have failed. At that point, you will need to take the MacBook to an Apple Store or an authorized repair shop. They can run diagnostics and replace the drive if needed.
Proof of ownership and Apple Support
If you are locked out of both the MacBook password and your Apple ID, or if the machine will not boot into Recovery, Apple Support can help — but they will ask for proof of ownership. Bring the original receipt, the original box with the serial number, or a credit card statement showing the purchase. You can also visit an Apple Store in person with a photo ID and the MacBook.
Apple Support can remotely verify your ownership and help you reset the machine or recover access to your Apple ID. This process takes longer than doing it yourself, but it is the correct path when you have no other way in.
Frequently Asked Questions
Will factory reset delete all my files?
Yes. A factory reset erases everything on the drive — all files, photos, applications, and settings. Use this only when you intend to wipe the machine completely. If you need to recover files afterward, you may be able to use data recovery software, but there is no may provide.
Can I factory reset a MacBook without internet?
macOS Recovery can work offline if the Recovery partition is intact, but Erase Assistant requires internet to read a fresh copy of macOS. If your internet is down, use a wired connection via USB-to-Ethernet adapter, or move the MacBook to a location with Wi-Fi.
How long does a factory reset take?
The erase itself takes a few minutes, but downloading and installing macOS takes 20 minutes to over an hour depending on your internet speed. The MacBook will restart several times. Plan for at least 90 minutes total.
What if I forgot my Apple ID but remember my password?
Your Apple ID is the email address you used to set up the MacBook. Check any Apple receipts or statements, or look at your iCloud settings if you can reach them. If you still cannot find it, go to iforgot.apple.com and enter any email address you think might be associated with your account.
Can I use another Mac to reset this one?
No. You must reset the MacBook using its own Recovery mode or Erase Assistant. You cannot reset it remotely from another computer without the password or Apple ID.