How to Reformat a MacBook Without a Password
In this article
Yes, you can reformat a MacBook without knowing the login password. The built-in recovery system lets you erase the drive and reinstall macOS without entering the user account password, as long as you have access to the recovery environment or know the Apple ID credentials (if Find My Mac is enabled). This guide walks you through the process step by step.
What You'll Need
- A stable internet connection (for downloading macOS during reinstallation).
- Your Apple ID and password, if Find My Mac is enabled on the device.
- Time: the process can take 30 minutes to a few hours depending on your connection and Mac model.
- Backup of any important data – this process permanently erases everything on the drive.
Step-by-Step
- Turn off the MacBook. Shut it down completely (Apple menu > Shut Down, or hold the power button).
- Enter Recovery Mode. Press and hold the power button until you see the startup options window (on Apple Silicon Macs), or press and hold Command (⌘) + R immediately after pressing the power button (on Intel Macs). Release when you see the Apple logo or a spinning globe.
- Choose an option. If you see a window asking you to select a user, click “Forgot all passwords?” or “Other” – you may need to enter your Apple ID credentials if prompted. If you see the Recovery Mode utilities window (with options like Restore from Time Machine, Reinstall macOS, etc.), you’re in.
- Open Disk Utility. In the Recovery Mode window, select Disk Utility and click Continue.
- Select your startup disk. In Disk Utility, choose the internal drive (usually named “Macintosh HD” or similar) from the sidebar. Make sure you select the top-level drive, not the volume underneath it.
- Erase the drive. Click Erase in the toolbar. In the dialog that appears, choose a name (e.g., “Macintosh HD”), set Format to APFS (or Mac OS Extended (Journaled) for older Macs), and Scheme to GUID Partition Map (if available). Click Erase and wait for it to finish.
- Quit Disk Utility. Once the erase is complete, go to Disk Utility > Quit Disk Utility (or click the red close button) to return to the Recovery Mode main menu.
- Reinstall macOS. Select Reinstall macOS (or “Reinstall macOS Big Sur” etc.) and click Continue. Follow the on-screen instructions, agreeing to the license and selecting your erased drive as the destination.
- Wait for installation. The Mac will download and install the operating system. This can take a while; ensure your Mac is plugged into power and has a stable internet connection.
- Set up your Mac. After installation, your Mac will restart and show the setup assistant. You can now set it up as new, or restore from a Time Machine backup if you have one.
Common Mistakes
- Erasing the wrong volume: Make sure you erase the entire internal drive, not just a volume. If you only erase a volume, the system may not boot correctly.
- Forgetting to back up: This process wipes all data. If you didn’t back up, your files are gone permanently.
- Choosing the wrong format: For modern Macs (2017 and later), use APFS. For older Macs with mechanical hard drives, use Mac OS Extended (Journaled). Using the wrong format can cause installation issues.
- Skipping the erase step: You must erase the drive before reinstalling, otherwise the installer may not work properly.
- Not knowing the Apple ID password: If Find My Mac is enabled, you’ll be asked for the Apple ID password during setup. Without it, you can’t activate the Mac.
Tips
- If you’re selling or giving away the Mac, after reinstalling, go through the setup assistant but stop at the “Migration Assistant” step and choose “Don’t transfer any information now.” Then, press Command+Q to shut down – the Mac will be ready for the new owner.
- If you have a Time Machine backup, you can restore it during setup by choosing “From Time Machine Backup.”
- Use a wired internet connection if possible – it’s more stable and faster for downloading macOS.
- If you’re unsure about the format, leave it as the default shown in Disk Utility – it’s usually correct for your Mac.
Troubleshooting
If you can’t enter Recovery Mode: Try again, but this time hold the keys before pressing the power button (on Intel) or press and hold the power button longer (on Apple Silicon). If that fails, try Internet Recovery: hold Command+Option+R (Intel) or Shift+Option+Command+R (older Intel) to boot from the internet.
If Disk Utility shows “Erase failed”: Make sure you selected the correct drive (not a volume). Also, if you’re on an Apple Silicon Mac, you may need to go to the “View” menu and select “Show All Devices” to see the physical drive.
If the installer says “macOS could not be installed on your computer”: This often happens if the drive isn’t formatted correctly. Go back to Disk Utility, erase again, and make sure the format is APFS (or Mac OS Extended for older Macs). Also, ensure the drive is selected as the destination.
If you’re asked for a password during recovery: If it’s a firmware password, you’ll need to contact Apple Support. If it’s the user password, try clicking “Forgot” – you may be able to reset it with your Apple ID. If that doesn’t work, you may need to use a different recovery method (like Internet Recovery).
If the Mac is stuck on a loading screen: Wait at least 10 minutes – the first boot after installation can be slow. If it’s still stuck, force restart and try again.
Frequently Asked Questions
Can I reformat without a password if Find My Mac is on?
Yes, you can erase the drive, but during the reinstallation setup, you’ll be asked for the Apple ID password to disable Activation Lock. Without it, you cannot complete the setup.
Will this remove the admin password?
Yes, erasing the drive removes all user accounts and passwords. After reinstalling, you’ll create a new admin account with a new password.
What if I don’t have a Time Machine backup?
You can still reformat – just set up the Mac as new. You’ll lose all files, so make sure you’ve backed up anything important to an external drive or cloud service.
How long does the process take?
Erasing takes a few minutes. Downloading and installing macOS can take 30 minutes to over an hour, depending on your internet speed and Mac model.
Can I use a USB installer instead of Recovery Mode?
Yes, you can create a bootable USB installer using another Mac. That’s a good alternative if Recovery Mode isn’t working.
Will this work on any MacBook model?
Yes, the steps work on all MacBook models, but the key combination to enter Recovery Mode differs between Intel and Apple Silicon models. For Apple Silicon, press and hold the power button; for Intel, use Command+R.