The two ways to change your Mac username
You can change your Mac username in two places, and which one you need depends on what you're trying to do. The account name is what appears in the login screen and in the Users folder. The display name is what shows up in Mail, Messages, and other apps. Most people need to change the account name, but you may need to change one, both, or neither depending on your situation.
Changing your account name requires you to restart your Mac and use a different administrator account to make the change. Changing your display name takes seconds and doesn't require a restart. If you only want to change how your name appears in apps, skip straight to the display name section. If you want to change the name that appears when you log in, follow the account name steps first.
Key Takeaways
- Your account name (login screen) and display name (apps) are separate, and you may need to change one or both.
- To change your account name, you must use a different administrator account and restart your Mac.
- Changing your display name takes less than a minute and requires no restart.
- If you only have one administrator account, you will need to create a temporary second one before you can change the first account's name.
How to change your account name (the login screen name)
Your account name is the folder name in Users and the name that appears on the login screen. To change it, you need to be logged in as a different administrator account. If you only have one administrator account, create a temporary second one first by going to System Settings > General > Users & Groups, clicking the lock icon, entering your password, then clicking the plus sign and creating a new administrator account.
Once you have a second administrator account ready, log out of your main account and log in as the temporary administrator. Open System Settings, go to General > Users & Groups, click the lock icon, select your main account from the list, then click the edit button (pencil icon) next to the account name field. Type your new account name and click the change button. Your Mac will ask you to confirm the change and may take a few moments to update file permissions.
After the change completes, restart your Mac. When you log back in, use your new account name. You can now delete the temporary administrator account if you created one: log in as the temporary account, go back to System Settings > General > Users & Groups, click the lock icon, select your main account, and click the minus sign to remove it. Then log back into your main account and delete the temporary account the same way.
How to change your display name (the name in apps)
Your display name is what appears in Mail, Messages, FaceTime, and other applications. This is separate from your account name and much faster to change. Open System Settings and go to General > About. You'll see a field labeled "Computer Name" at the top — this is your display name. Click on it, type your new name, and press Enter. The change takes effect when ready with no restart required.
If you want to change the name that appears specifically in Mail and Messages rather than system-wide, open Mail, go to Mail > Settings (or Preferences on older macOS versions), click the Accounts tab, select your email account, and edit the "Full Name" field. Do the same in Messages by opening Messages > Settings, clicking the Accounts tab, and editing your name there.
What happens to your files and folders when you change your account name
When you change your account name, your home folder (the one with your house icon in Finder) keeps its old name. For example, if your account was named "sarah" and you change it to "sarah.chen", your home folder will still be called "sarah" in the file system. This rarely causes problems, but it can look confusing in Finder.
If you want your home folder name to match your new account name, you'll need to rename it manually. Open Finder, go to Users, right-click your home folder, select Rename, and type the new name. macOS will warn you that this may break some apps — this is usually safe to ignore, but back up your files first if you're concerned. After renaming, restart your Mac so all apps can find the folder in its new location.
Troubleshooting: you can't change your account name
If the edit button is grayed out, you're not logged in as an administrator. Log out and log in as an account that has administrator privileges. If you don't have access to another administrator account, you'll need to create one first using the steps in the account name section above.
If you get an error message saying the name is already in use, the account name you chose already exists on your Mac or is reserved by the system. Try a different name. If you get a message about file permissions, restart your Mac and try again — sometimes the system needs a restart to complete the previous change.
If you changed your account name but some apps still show your old name, those apps are using your display name, not your account name. Change your display name in System Settings > General > About as described in the display name section above.
When you might need to change both your account name and display name
If you changed your account name but apps like Mail and Messages still show your old name, you need to change your display name separately. The account name is what the system uses internally; the display name is what other people see when you send them messages or emails. Changing one doesn't automatically change the other.
If you're setting up a Mac for someone else and want to change both names to match, change the account name first (using the steps above), then change the display name in System Settings > General > About. This ensures everything is consistent across your system and apps.
Frequently Asked Questions
Can I change my account name without restarting?
No. macOS requires a restart after you change your account name so it can update file permissions and system settings. You can change your display name without restarting, but the account name (login screen name) always requires a restart.
What if I forgot my administrator password?
You can reset it using another administrator account or your Apple ID. Go to System Settings > General > Users & Groups, click the lock icon, select your account, and click the reset password button. If you don't have another administrator account or an Apple ID linked to your account, you'll need to use macOS Recovery to reset your password.
Will changing my account name affect my passwords or login keychain?
Your passwords and keychain data stay with your account regardless of what you name it. The system updates the internal references automatically, so you won't lose access to saved passwords, Wi-Fi networks, or other stored credentials.
Can I change my account name back to what it was before?
Yes. Follow the same steps as changing it the first time — log in as a different administrator account, go to System Settings > General > Users & Groups, select your account, click edit, and type your old name. You'll need to restart again after the change.
Do I need to change my account name if I only want to change how my name appears in Mail?
No. If you only want to change the name that appears in Mail, Messages, or other apps, change your display name instead. Open System Settings > General > About and edit the Computer Name field, or edit the Full Name field directly in each app's settings.