What you can do when you don't have the password

You can reset a MacBook to factory settings without the original password by using Recovery Mode and creating a new administrator account. The process erases everything on the drive and reinstalls macOS, so the old password becomes irrelevant. This works on Intel Macs and Apple Silicon Macs, though the steps differ slightly between them.

The key is that Recovery Mode runs independently of your user account, so you can access it even when locked out. From there, you can erase the drive and set up the Mac as if it were brand new. This is different from resetting a password — you are removing all data and starting over.

Key Takeaways

  • Recovery Mode lets you erase the drive and reinstall macOS without needing the original password.
  • On Intel Macs, restart and hold Command + R; on Apple Silicon Macs, restart and hold the power button until "Loading startup options" appears.
  • Use Disk Utility to erase the drive, then reinstall macOS from the Recovery environment.
  • After the reset completes, you will create a new administrator account with a password you choose.
  • This process erases all files, photos, documents, and settings — there is no way to recover them afterward.

How to enter Recovery Mode on Intel Macs

Shut down the Mac completely. Press the power button, then when ready hold down Command + R at the same time. 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 Recovery environment starts loading.

You will see a macOS Utilities window with several options. This is the Recovery environment — it runs separately from the main operating system, so the password lock does not explore here. If you see a login screen instead, restart and try again, making sure you hold Command + R from the moment you press the power button.

How to enter Recovery Mode on Apple Silicon Macs

Shut down the Mac completely. Press and hold the power button (usually on the keyboard or the back of the display) until you see "Loading startup options" appear on the screen. This takes about 10 seconds. You will see a window showing available startup disks and a gear icon labeled "Options."

Click the gear icon, then click "Continue." This enters Recovery Mode. You will then see the macOS Utilities window. If you see a login screen, you are in the wrong place — restart and hold the power button again until the startup options window appears.

Erasing the drive using Disk Utility

In the macOS Utilities window, click "Disk Utility," then click "Continue." A new window opens showing your Mac's storage drive. The drive name usually appears on the left side — it might say "Macintosh HD" or something similar. Click it once to select it.

Click the "Erase" button at the top of the window. A dialog box appears asking for a name and format. You can leave the name as "Macintosh HD" or change it to anything you want. Make sure the format is set to "APFS" (on newer Macs) or "Mac OS Extended" (on older ones). Click "Erase" and confirm. The process takes a few minutes. Once it finishes, close Disk Utility.

Reinstalling macOS after the erase

Back in the macOS Utilities window, click "Reinstall macOS" or "Reinstall [version name]," then click "Continue." The Mac will read and install the version of macOS that originally came with it. This can take 30 minutes to over an hour depending on your internet speed. Do not shut down or unplug the Mac during this process.

When the installation finishes, the Mac restarts automatically. You will see the macOS setup screen, which asks you to select a language and region. This is the beginning of the setup process for a fresh Mac.

Creating a new administrator account

Follow the on-screen prompts through the setup. When you reach the "Create a Computer Account" or "Set Up Your Mac" screen, enter a new account name and a password you choose. This becomes your new administrator account. Write down the password somewhere safe — you will need it to log in going forward.

Continue through the remaining setup screens. You can skip options like signing in with an Apple ID, setting up iCloud, or transferring files from another Mac. Once setup completes, you will be logged into the new account on a completely blank Mac.

What happens to your files and data

Everything on the drive is permanently deleted during the erase step. This includes documents, photos, videos, emails, browser history, saved passwords, and all installed programs. There is no recovery option once Disk Utility erases the drive. If you have files you need, you must recover them from a backup before starting this process.

If you have a Time Machine backup or an iCloud backup made before you lost access, you can restore from it during the setup process. When the setup screen offers to "Transfer Information Now," you can choose to restore from a backup instead of starting fresh.

Frequently Asked Questions

Will this work if the Mac is encrypted with FileVault?

No. If FileVault is turned on, the drive is encrypted and you cannot erase it without the password. You will need to contact Apple Support or visit an Apple Store with proof of ownership. They have tools to verify you own the Mac and can help you regain access.

Can I undo this after I start the erase?

Once Disk Utility finishes erasing, the data cannot be recovered. You can stop the process before clicking "Erase" in Disk Utility, but once you confirm the erase, it is permanent. Make sure you have backed up anything you need before proceeding.

What if the Mac won't boot into Recovery Mode?

Try restarting and holding the keys again, making sure you press them when ready after powering on. If it still does not work, try a different key combination: Command + Option + R boots into Internet Recovery, which downloads Recovery Mode from Apple's servers. This can work if the local Recovery partition is damaged.

Do I need an internet connection?

Yes. Recovery Mode needs to read and install macOS, which requires a working Wi-Fi or ethernet connection. If you do not have internet access, you cannot complete this process. You can use a mobile hotspot from a phone if needed.

What if I see a login screen in Recovery Mode?

This means the Mac has a firmware password set. You will need that password to proceed. If you do not have it, contact Apple Support with proof of ownership. A firmware password is different from a user account password and requires Apple's help to remove.