My Service Support

How to Factory Reset an iMac (With or Without Password)

Updated 2026-08-21 · 1026 words

To factory reset an iMac, back up important files, erase the Mac with Erase Assistant or Disk Utility in macOS Recovery, and then reinstall macOS if prompted. If you do not know the iMac login password, use macOS Recovery to reset the password or erase the startup disk, but Activation Lock may still require the linked Apple Account credentials.

What should you do before you factory reset an iMac?

A factory reset permanently removes personal files, accounts, apps, and settings. Complete these checks before erasing the iMac:

  • Back up files with Time Machine or copy essential documents to storage you control. Open a few files from the backup to confirm that they are readable.
  • Sign out of iCloud and turn off Find My Mac when possible. Find My can enable Activation Lock, which prevents another person from activating the iMac without the linked Apple Account.
  • Check the macOS version from the Apple menu under About This Mac. The version and iMac hardware determine which reset method is available.
  • Have the Apple Account email address and password ready. Apple ID may still appear as the older name for an Apple Account on some screens.
  • Keep the iMac connected to power and a reliable internet connection. Reinstallation and activation may need internet access.

How do you factory reset an iMac when you know the password?

On a supported iMac running a recent macOS version, Erase Assistant is the simplest option. It removes user data and settings while keeping the installed operating system ready for Setup Assistant.

  1. Open the Apple menu and select System Settings.
  2. Select General, then Transfer or Reset.
  3. Select Erase All Content and Settings.
  4. Enter the administrator password when requested.
  5. Review the items that will be removed, sign out with the Apple Account password if requested, and confirm the erase.
  6. Wait for the iMac to restart. Do not disconnect power while the reset is underway.

If Erase All Content and Settings is missing, use macOS Recovery and Disk Utility instead:

  1. Shut down the iMac.
  2. Start macOS Recovery using the instructions in the password section below.
  3. Select Disk Utility, choose the internal startup volume, usually named Macintosh HD, and select Erase.
  4. Use the format recommended by Disk Utility. If Erase Volume Group appears, select it to remove the related data volume too.
  5. Quit Disk Utility and select Reinstall macOS from the Recovery window.
  6. Follow the prompts without interrupting the installation.

How do you factory reset an iMac without the password?

You do not need to pass the normal login screen to enter macOS Recovery. However, Recovery may request an administrator password, a FileVault recovery key, or the Apple Account linked to the iMac.

  1. For an Apple silicon iMac, shut it down, then press and hold the power button until startup options appear. Select Options, then Continue.
  2. For an Intel iMac, turn it on and immediately hold Command-R until the Apple logo or a recovery screen appears.
  3. If Recovery asks you to select a user whose password you know, look for the password-recovery option. Follow Recovery Assistant prompts to reset the password with the linked Apple Account or recovery key.
  4. If you intend to remove everything, open Disk Utility from Recovery and erase the internal startup volume. This bypasses the normal login screen but does not bypass Activation Lock.
  5. Return to the Recovery window and reinstall macOS.

If neither the Apple Account password nor the recovery key is available, do not use a third-party unlocking service. Apple may require proof of ownership before helping with account recovery or Activation Lock.

Which macOS version is running on your iMac?

The factory reset iMac process depends on both software and hardware:

  • On macOS Sonoma or Ventura, look under System Settings, General, then Transfer or Reset for Erase All Content and Settings.
  • On macOS Monterey, the same feature may appear in the System Preferences menu rather than under General.
  • Erase Assistant is available only on supported hardware, including Apple silicon Macs and Macs with Apple’s T2 security chip. Its absence does not necessarily indicate a fault.
  • On older macOS versions or unsupported Intel models, start in macOS Recovery, erase the startup disk with Disk Utility, and reinstall macOS.

If the iMac cannot start normally, use Recovery even when Erase Assistant would otherwise be available.

What happens after an iMac factory reset?

After the factory reset, the iMac starts Setup Assistant and asks for items such as region, network, and account details. If you are keeping the iMac, sign in with your Apple Account, restore the Time Machine backup if needed, and enable Find My again.

If the iMac is being transferred to someone else, stop when Setup Assistant appears. Do not create a new account for the next user.

What should you do when an iMac reset does not work?

  • If Recovery does not load on an Intel iMac, shut down and try Command-R again with a wired keyboard if available. Internet Recovery may appear when local Recovery is unavailable.
  • If Activation Lock appears, enter the Apple Account previously used with Find My. Erasing the disk does not remove this ownership check.
  • If the Apple Account password is forgotten, use Apple’s official account-recovery process. Recovery can take time when identity cannot be confirmed immediately.
  • If the progress bar stops, keep the iMac connected to power and allow extra time. If it remains unchanged for an extended period, restart into Recovery and run Disk Utility First Aid before trying the installation again.
  • If Disk Utility cannot see or erase the internal drive, record the exact error message. That can indicate a storage or hardware problem rather than a password problem.

When should you contact Apple Support about an iMac reset?

Contact Apple Support when Activation Lock rejects the correct account, the linked Apple Account cannot be recovered, Recovery never loads, or Disk Utility reports hardware or storage errors. Have the iMac serial number and proof of ownership available.

Apple Support may also be necessary when the only copy of important data remains on an inaccessible iMac. Do not erase the iMac if no backup exists and the files still matter, because a completed factory reset is intended to make that data unavailable.