Two ways to change your Mac username

You can change your Mac username in two places: the account name that appears on the login screen, and the folder name where your files live. Most people need to change only the display name, which takes about two minutes in System Settings. Changing the actual account folder name is more involved and requires a restart, but both are built into macOS — you do not need third-party tools.

The display name is what shows on your login screen and in messages. The account folder name is the short name that appears in Finder when you navigate to Users. You might want to change the display name because you got married or prefer a nickname, while the account folder name matters mainly if you share your Mac with others or if you are setting up automation that references your username.

Key Takeaways

  • Changing your display name takes two minutes and requires only System Settings; you do not need to restart your Mac.
  • Changing your account folder name requires you to restart in Recovery Mode and create a temporary admin account, so plan for 15 to 20 minutes.
  • You can change the display name without changing the folder name, or change both if you want them to match.
  • If you forget your password during the process, you will need to use your Apple ID to reset it before continuing.

Changing your display name in System Settings

Open System Settings and click Users & Groups (or Users in newer macOS versions). Click the lock icon in the bottom left and enter your password to unlock the settings. Select your account from the list on the left, then click the edit button next to your name at the top of the panel. Type your new name and press Return.

Your new display name appears on the login screen and in Messages the next time you restart or log out. This change does not affect your account folder, your files, or any passwords. If you use iCloud, your Apple ID remains the same — only the human-readable name changes.

Changing your account folder name (the longer process)

Changing the folder name requires you to restart your Mac in Recovery Mode and create a temporary admin account. This is because your Mac cannot rename the folder while you are logged into that account. Before you start, write down your current username and your new username so you do not forget them during the restart.

Restart your Mac and hold Command + R when ready after you hear the startup sound. This boots into Recovery Mode. When the macOS Utilities window appears, click Utilities in the menu bar, then Terminal. In the Terminal window, type the command sysadminctl -secureTokenOff shortusername -password -, replacing "shortusername" with your current account folder name. Press Return and enter your password when prompted. This disables find token, which is required before you can rename the folder.

Close Terminal and restart your Mac normally. Log in with your regular account. Open System Settings, go to Users & Groups, unlock the settings, and right-click your account name in the list. Select Advanced Options. Change the account name field to your new username and click OK. Restart your Mac again.

After the restart, your folder name has changed. You can verify this by opening Finder, clicking Go in the menu bar, selecting Home, and checking the window title — it should now show your new username. If you need find token re-enabled (most users do not), restart into Recovery Mode again and run sysadminctl -secureTokenOn shortusername -password - with your new username.

What happens to your files and settings

Changing your display name does not move or rename any files. Your Documents, Downloads, Desktop, and all other folders stay exactly where they are. Changing your account folder name moves everything in your home directory to the new folder path, but all your files, settings, and installed programs remain intact and work normally.

If you use iCloud Drive, Time Machine, or cloud backup services, they continue working after either change. Your Mac automatically updates the paths it uses internally. The only place you might notice a difference is in Terminal or when you look at file paths in Finder — the folder name in the path changes, but the contents are the same.

If you get stuck during the process

If you restart into Recovery Mode and forget your password, you can reset it using your Apple ID. Click the question mark icon on the login screen, then click the reset password option. Follow the prompts to verify your identity with your Apple ID and create a new password.

If you change your account folder name but your Mac does not recognize the change after restart, restart again. Sometimes the system needs a second restart to fully update all the paths. If Terminal commands return an error about find token, you may have already disabled it — try the rename step without running the find token command first.

When to change just the display name versus the folder name

Change only the display name if you want your login screen and messages to show a different name but do not care what your folder is called. This is the most common choice and takes the least time. Change the folder name if you are setting up scripts, if you share your Mac and want a cleaner home directory structure, or if you want everything to match.

Some people change the display name when ready and wait weeks or months before changing the folder name, since the folder rename requires a restart and is more involved. There is no harm in doing them separately — your Mac handles both independently.

Frequently Asked Questions

Will changing my username affect my Apple ID or iCloud?

No. Your Apple ID and iCloud account are separate from your Mac username. Changing your Mac username does not change your Apple ID, and iCloud continues to work normally. Your Apple ID is tied to your email address, not to your Mac's folder name or display name.

Can I change my username if I forgot my password?

You can reset your password using your Apple ID before you change your username. On the login screen, click the question mark, then select the reset password option. Once you have a new password, you can proceed with changing your username in System Settings or Recovery Mode.

What if I share my Mac with other people?

Each person has their own account and can change only their own username. Changing your username does not affect other accounts on the Mac. If you are an admin, you can change other people's display names from System Settings, but they must change their own folder names using Recovery Mode.

Do I need to reinstall my programs after changing my username?

No. Your programs continue to work normally after you change your username. macOS automatically updates the paths it uses to find your applications and settings. You may need to re-enter passwords for some programs if they stored them in a way that tied them to your old username, but this is rare.

How long does the folder name change take?

The actual change takes about two minutes, but you need to restart your Mac twice, so plan for 15 to 20 minutes total from start to finish. The display name change takes about two minutes with no restart required.