The fastest way to change your username

Open System Settings, go to General > Users & Groups (or Users & Groups in older macOS versions), then right-click your account and select Advanced Options. Change the short name — the one without spaces — to what you want. This is the name that appears in the terminal, file paths, and your home folder. You will need your admin password to confirm.

The display name — what shows on the login screen and in Mail — can be changed in the same window without needing Advanced Options. Click the pencil icon next to your name at the top of the Users & Groups pane and type the new name you want to see.

These are two separate things. Most people want to change the display name because that is what they see every day. The short name matters only if you use the terminal or share files over a network. You can change one without changing the other.

Key Takeaways

  • The display name (what you see on login) and the short name (what appears in file paths) are separate and can be changed independently.
  • Changing the display name takes one minute and requires only your admin password.
  • Changing the short name is more involved because your home folder path does not update automatically, and some applications may reference the old name.
  • If you only want to change how your name appears on the login screen and in Mail, change the display name only.
  • Back up your Mac before changing the short name, in case something breaks during the process.

Changing just the display name (the straightforward option)

The display name is the safest change to make because it does not affect how your Mac stores files or runs programs. Open System Settings and click General in the sidebar. Select Users & Groups, then click the pencil icon next to your account name at the top of the window. Type the new name and press Enter. Your Mac will ask for your admin password — type it and click OK.

The change takes effect when ready. Your login screen, Mail, Messages, and any other app that shows your account name will display the new name the next time you restart or log out and back in. Your home folder path, file ownership, and terminal username stay the same.

Changing the short name (the involved option)

The short name is the technical username your Mac uses behind the scenes. If you use the terminal, write scripts, or share files over a network, you may want to change this. Open System Settings, go to General > Users & Groups, right-click your account, and select Advanced Options. You will see a field labeled "Account name" — this is the short name. Change it to what you want, then click OK and enter your admin password.

Here is the catch: your home folder is still named after your old short name. If you were "john" and change to "jane", your home folder stays at /Users/john. Some applications store settings in your home folder and may not find them under the new name. You have two choices: rename the home folder manually (risky if you make a mistake), or create a new admin account, migrate your files, and delete the old account.

The safest method is to back up your Mac first using Time Machine, then create a new admin account with the short name you want. Log into that account, use Migration Assistant to move your files and settings from the old account, then delete the old account. This takes longer but avoids broken file paths.

What happens to your files and folders

Changing the display name does not touch your files. Everything stays where it is, and you keep full access to everything you own.

Changing the short name is trickier. Your home folder path — /Users/yourname — does not update automatically. If you change your short name from "alex" to "morgan", your home folder is still at /Users/alex. Applications that hardcoded the old path may break. Your file ownership in the terminal still shows the old name until you rename the folder, which requires careful steps to avoid locking yourself out.

This is why most people should change only the display name. If you do need to change the short name, back up first and consider the migration method instead of trying to rename the folder yourself.

When you cannot change your username

If System Settings shows your account as "Standard" instead of "Admin", you cannot change anything. Ask whoever set up your Mac to give you admin rights, or have them make the change for you. You will see a lock icon next to Users & Groups if you do not have permission.

If you forgot your admin password, you can reset it using another admin account, your Apple ID, or Recovery Mode. Go to System Settings > General > Users & Groups, click the lock icon, and follow the prompts. If no other admin account exists, restart your Mac, hold Command-R to enter Recovery Mode, and use the Utilities menu to reset your password.

Fixing problems after a username change

If you changed your short name and now an process will not start or cannot find your files, the most reliable fix is to restore from your Time Machine backup and try the migration method instead. This takes an hour but avoids hours of troubleshooting broken paths.

If you changed only the display name and something broke, that is unusual — restart your Mac and the change should take effect everywhere. If an process still shows the old name, quit it completely (Command-Q, not just closing the window) and open it again.

Frequently Asked Questions

Will changing my username log me out?

No. Changing the display name does not log you out at all. Changing the short name also keeps you logged in, but you should restart your Mac afterward so all applications recognize the new name.

Can I change my username back to what it was?

Yes. Open System Settings, go to Users & Groups, and change it again. If you changed the short name and renamed your home folder, you can rename the folder back, but this is error-prone — it is safer to use Migration Assistant to move back to an account with the old name.

Does changing my username affect my Apple ID?

No. Your Apple ID is separate from your Mac username. Changing your Mac username does not change your Apple ID, and you will still sign into iCloud, the App Store, and other Apple services with the same Apple ID you used before.

What if I share my Mac with other people?

Each person has their own account and their own username. Changing your username affects only your account and your home folder. Other people's accounts and files stay exactly as they are.

Should I change my short name or just my display name?

Change only the display name unless you have a specific reason to change the short name (like you use the terminal regularly and want a shorter name to type). The display name is what you see every day, and changing it is safe and straightforward.