sodcalculator

10 Tech How-To

Fix Mac Account Creation Failed Error on Apple M1

Guide 10-5794 · Updated · Step by step

If you’re seeing a “computer account creation failed” error on an Apple M1 Mac, the fix usually involves resetting the macOS account setup database or reinstalling macOS in Recovery Mode. This error typically appears during the initial setup of a new Mac or after a macOS update, and it prevents you from creating your local user account.

What Causes the Account Creation Failed Error on M1 Macs

The error is most commonly triggered by a corrupted or incomplete setup process. On M1 Macs, the system stores account creation data in a hidden database that can become damaged if the setup is interrupted—for example, by a power loss, a failed software update, or a network timeout during the “Transfer Information” step. Another frequent cause is a conflict with FileVault encryption, which can lock the disk before the account is fully written. Unlike Intel Macs, M1 models use a different startup process and recovery environment, so some older fixes (like resetting NVRAM) don’t apply.

Before You Start: Backup and Preparation

If you can access your Mac’s desktop, back up your files to an external drive or iCloud before attempting any fix. If you’re stuck at the setup screen, you may not be able to back up, but you can still try the steps below. Ensure your Mac is plugged into power and connected to a stable Wi-Fi network (or Ethernet via an adapter). Write down your Apple ID and password, as you’ll likely need them to reinstall macOS.

Fix 1: Force Restart and Retry Setup

Sometimes the error is a one-time glitch. A simple restart can clear the temporary state and let you try again.

  1. Press and hold the power button on your M1 Mac until the screen goes black and the machine shuts down (about 10 seconds).
  2. Wait 10 seconds, then press the power button again to turn it on.
  3. If you see the setup assistant again, try creating your account with a different username (e.g., “user2” instead of “user”).

If the error reappears, move to the next fix.

Fix 2: Erase the Disk and Reinstall macOS

This is the most reliable fix for a corrupted setup database. It wipes the drive, so you’ll lose any data that wasn’t backed up—but if you can’t get past setup, you likely have no personal files yet.

  1. Shut down your Mac.
  2. Press and hold the power button until you see “Loading startup options” (about 10 seconds).
  3. Click “Options” and then “Continue”.
  4. Select your user account (if any) and enter the password, or choose “Forgot all passwords?” if you don’t have one.
  5. In the Recovery app, open Disk Utility.
  6. Select the internal drive (usually named “Macintosh HD”) in the sidebar, then click “Erase”. Choose APFS format and GUID Partition Map scheme.
  7. Close Disk Utility, then click “Reinstall macOS” and follow the on-screen prompts.

After the reinstall, you’ll go through setup again. The account creation should succeed because the disk is now clean.

Fix 3: Use Terminal to Reset the Setup Database

If you’d rather not erase the whole drive, you can try deleting the specific file that stores the account creation state. This works only if the macOS system itself is intact.

  1. Boot into Recovery Mode as described above.
  2. Open Terminal from the Utilities menu.
  3. Type resetpassword and press Return. This opens the reset password assistant—but don’t use it for passwords; instead, look for the option that says “Erase Mac” or “Reset the user account data”. On newer macOS versions, this assistant includes a button to “Erase Mac” which resets the setup state without deleting the whole disk.
  4. If that option isn’t available, you can try mounting the data volume and removing the setup file manually. In Terminal, run diskutil list to identify the data volume (usually named “Macintosh HD – Data”), then mount it with diskutil mount /dev/diskXsY (replace with your volume identifier). Then delete the file /Volumes/Macintosh HD - Data/.AppleSetupDone using rm.
  5. Reboot and go through setup again.

This method is more advanced and requires care—mistyping a command can cause data loss. If you’re not comfortable, stick with the erase-and-reinstall option.

What to Do If the Error Persists After Reinstall

If you’ve erased and reinstalled macOS and still see the error, the problem is likely hardware-related—specifically the SSD or the T2-like security chip (on M1, this is integrated into the SoC). In that case, contact Apple Support or visit an Apple Store. They can run diagnostics to check the storage and logic board. Do not attempt to repair the hardware yourself, as this voids warranty and risks further damage.

How to Avoid This Error in the Future

  • Always install macOS updates while connected to power and a reliable network.
  • If you’re migrating from an old Mac, use a wired connection or the same Wi-Fi network to avoid timeouts.
  • Before a major upgrade, back up with Time Machine to an external drive.
  • If you’re setting up a new Mac, create your account before transferring data—this avoids conflicts.

Frequently Asked Questions

Will I lose my files if I erase the disk?

Yes, erasing the disk deletes everything on it. If you have files on the Mac, back them up first. If you’re stuck at setup and can’t back up, you may be able to boot into Recovery and use Disk Utility to mount the data volume, then copy files to an external drive via Terminal (using cp commands).

Can I fix this without erasing my Mac?

Sometimes. The Terminal method of deleting the .AppleSetupDone file can work if the system is otherwise healthy. But if the setup database is corrupted beyond that, a reinstall is the only reliable fix.

Why does this happen only on M1 Macs?

M1 Macs have a different boot and recovery architecture than Intel Macs. The setup process is more tightly integrated with the secure boot chain, so any interruption can corrupt the account creation state. Intel Macs had similar issues but with different underlying causes (like NVRAM glitches).

Does resetting NVRAM help on M1?

No. M1 Macs don’t have NVRAM in the same way as Intel models. The equivalent is resetting the SMC, but that doesn’t affect account creation. The only effective fixes are the ones listed above.

Is there a way to skip account creation and use a temporary account?

Not officially. macOS requires a local admin account during setup. You could try creating a user with a different name and then later deleting it, but if the error occurs, the setup won’t complete at all.

What if I don’t have an Apple ID?

You can create a local account without an Apple ID by clicking “Set Up Later” or “Forgot Apple ID” during setup. The error is unrelated to Apple ID; it’s about the local account database.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →