apple iOS Apple Mac Updates

How to reset a Mac without a password

Picked up a secondhand Mac or inherited one from a friend or relative that didn’t make a note of the password? Don’t worry – you will be able to use the Mac after you reset it, but the data will be lost.

Alternatively, you might have a Mac that you intend to sell, in which case you will want to reset the device so that it gets a clean start. Apple makes this process really easy if you have a Mac with a T1, T2, or any M-series chip, see: How to erase a MacBook or Mac, but you will need a password to do this. We’re here to help it you don’t know that password.

Resetting a Mac without the password will delete everything stored on the machine, but if you’re happy to go back to the start with your device, the process is easier than you may think.

In this article we show how to get around this problem and restore the Mac to its factory settings even if you haven’t got the password.


Recover the password if you can

Reset password Mac


Before wiping your device, consider if there’s any data on there you need, particularly any files you may not have backed up.

If there is, consider recovering the password rather than resetting the device. We have a How to recover a forgotten Mac password tutorial for this very purpose.


Create a bootable macOS installer in case you need it



Before beginning this process, you may later find you need a USB-C drive to boot macOS from if, once the recovery process has begun, you don’t have access to the internet on the Mac in question.

We’ve got a guide on creating a how to reinstall macOS on a Mac that should help with this.


Boot into Recovery

Mac Recovery Mode


Whether you need to wipe your Mac to pass it on to a new user, or because you have forgotten the password, you need to boot into Recovery mode. We run through how to use Mac Recovery Mode in a separate article, but we will run through the process quickly here:

The method depends on whether you have an Intel powered Mac, or one with an Apple M-series chip.

On an M-series Mac:

  1. Turn the Mac off.
  2. Press the on button and keep it pressed.
  3. Eventually the Apple logo will appear with text below it informing that if you continue holding the power button you will be able to access startup options. Keep pressing that button.
  4. Eventually you will be able to select Options > Continue and this will open up Recovery, as per the image below (please excuse the quality when it’s not possible to screenshot!)

On an Intel Mac:

  1. Turn the Mac off.
  2. Turn it on again while holding the Command and R keys simultaneously until you see the Apple logo or hear a chime. Release the keys at this point.
  3. The macOS Utilities screen will show a series of options.

Erase the Mac

Disk Utility to reset Mac


This is where you erase everything on the Mac, so if you aren’t sure that’s what you should do, you might want to try using Target Disk Mode, now renamed Mac Disk Sharing, so you can copy files over. We discuss how to do that here: How to share a Mac’s drive with another Mac, although you may still need a password.

Assuming you are ok to go ahead and delete, follow these steps:

  1. Click Disk Utility and Continue.
  2. Once inside the Disk Utility app–your drives are all listed in the left-hand column.
  3. Select the internal drive, traditionally called Macintosh HD. You’ll need to select the parent drive, as opposed to any aliases beneath it – see the screenshot for a clearer example.
  4. With the disk highlighted, click Erase.
  5. Name your drive in the pop-up box.
  6. The format drop-down and Scheme should be set to Mac OS Extended (Journaled) and GUID Partition Map, respectively.
  7. Click Erase.

Reinstall the operating system

Install macOS via Recovery


Erasing the drive can take a few minutes, but once it’s done head back to the macOS Utilities menu and select Reinstall macOS. We run through how to reinstall macOS, separately, but we’ll explain the steps below.

You now need to reinstall macOS via Recovery. The process, again, depends on whether you have an Intel-powered Mac, or one with Apple silicon (an M1, M2 or later).

You should be able to install macOS via the internet, but you may prefer to use the USB drive you prepared with the installer for macOS earlier (which could be faster).

  1. Select Reinstall macOS in Disk Utilities.
  2. Click on Continue.
  3. Enter your Apple ID if required and wait while macOS is reinstalled.

If your Mac isn’t connecting to the Internet to download macOS, click the Wi-Fi menu in the upper-right corner of the screen, select the Wi-Fi network and enter your Wi-Fi password. If that still doesn’t work then use the USB boot drive.

Once macOS is installed, why not check out our list of the best free Mac apps to make the most of your new (old) machine.

Want to change the username on your Mac? Here’s how to do that.

Donated your own Mac but looking to run macOS on a PC? Be sure to check out our guide to installing macOS on a PC (aka a Hackintosh).

For more ways to improve your device, read our How to speed up a slow Mac guide, plus here’s: How to find a password on a Mac.