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 at the top of your screen when you're logged in. 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 is more involved than changing your display name because it affects file paths and system settings throughout your Mac. If you only want to change how your name appears in apps, changing the display name takes 30 seconds. If you want to change the folder name and login screen, you'll need to follow the account name steps, which take longer but are still straightforward.
Key Takeaways
- Your display name (what shows in Mail and Messages) can be changed in System Settings in under a minute without restarting.
- Your account name (what appears at login and in the Users folder) requires you to create a temporary administrator account first, then change it from System Settings.
- Changing your account name affects your home folder path, so files don't move — the folder name just changes.
- You must be logged in as an administrator to change either your account name or display name.
- If you forget your password during this process, you can reset it using your Apple ID or recovery key before proceeding.
Changing Your Display Name (The Quick Way)
Your display name is the easiest change and doesn't require a restart. Open System Settings by clicking the Apple menu in the top-left corner, then select System Settings. Click on "General" in the left sidebar, then click "About" near the top of the window.
You'll see a field labeled "Computer Name" at the top. This is your display name. Click on it, delete the current name, type the new one you want, and press Enter. The change takes effect when ready. This name will now appear in Mail, Messages, and in the Sharing settings, but your login screen and home folder name stay the same.
Changing Your Account Name (The Full Change)
Changing your account name — the one that appears at login and in your Users folder — is more complex because macOS requires you to have a second administrator account to make the change. You cannot change your own account name while you're logged into it.
Start by creating a temporary administrator account. Open System Settings, click "General," then click "Users & Groups" (or "Users" on newer Macs). Click the lock icon in the bottom-left corner and enter your password to unlock the settings. Click the plus sign (+) to create a new account. Choose "Administrator" from the account type dropdown, give it a temporary name like "Temp Admin," create a password you'll remember, and click "Create User."
Log out of your current account. At the login screen, select the temporary admin account you just created and log in with its password. Once you're logged in as the temp admin, open System Settings again, go to "General," then "Users & Groups," and click the lock to unlock it. Select your original account from the list on the left. Click the "Edit" button (or the three dots menu, depending on your macOS version) next to your account name. Change the account name to what you want, then click "OK" or "Save."
macOS will ask if you want to keep the old home folder name or change it to match the new account name. Choose whichever you prefer — if you keep the old folder name, your files stay exactly where they are. If you change it, the folder gets renamed but all your files remain inside it. After you confirm, log out and log back into your original account using your new account name.
Once you've confirmed everything works, delete the temporary admin account. Go back to System Settings, Users & Groups, select the temp admin account, click the minus sign (-), and choose "Delete the home folder" when prompted. Your original account is now the only one with administrator privileges.
What Happens to Your Files When You Change Your Account Name
Your files don't move or disappear when you change your account name. The path to your home folder may change (for example, from /Users/OldName to /Users/NewName), but macOS handles this automatically. Any shortcuts, aliases, or bookmarks you've created will still work because the system updates them behind the scenes.
Some applications that store settings tied to your old account name may need to be reconfigured, but this is rare. Mail, Messages, and most modern apps will work without any action on your part. If you notice an app isn't finding your files after the change, try logging out and back into that app, or reinstalling it.
If You Forget Your Password During the Process
If you get locked out while changing your account name, you can reset your password using your Apple ID. At the login screen, click "Forgot password?" below the password field. Enter your Apple ID and follow the prompts to reset your password. You'll need access to a trusted device or phone number associated with your Apple ID.
If you don't have an Apple ID set up, or if you can't access it, you can use your recovery key (if you set one up) or create a new administrator account to regain access. If none of these options work, you may need to restart your Mac in Recovery Mode by holding Command + R during startup, then use the Reset Password utility from the Utilities menu.
Common Problems and How to Fix Them
If you see an error saying "The operation couldn't be completed" when you try to change your account name, make sure you're logged in as a different administrator account, not the account you're trying to change. Log out, switch to your temporary admin account, and try again.
If your account name changed but your display name didn't, remember that these are two separate settings. Your display name is in System Settings under "General" > "About." Your account name is in "Users & Groups." Change whichever one still needs updating.
If you can't create a temporary admin account because you don't have administrator rights, you're logged in as a standard user. Ask whoever set up your Mac to create the temporary account for you, or reset your password using your Apple ID and try again.
Frequently Asked Questions
Can I change my account name without creating a temporary admin account?
No. macOS requires you to be logged in as a different administrator to change your own account name. This is a security feature. The temporary account only takes a few minutes to set up and delete, and you won't need it after the change is complete.
Will changing my account name affect my passwords or login information?
No. Your password stays the same. You'll log in with your new account name and your existing password. Wi-Fi passwords, saved website passwords, and app logins are all stored separately and won't be affected.
What's the difference between account name and display name?
Your account name appears at the login screen and in the Users folder path. Your display name appears in Mail, Messages, and system menus. You can change one without changing the other. Most people only need to change the display name unless they want to rename their home folder.
If I change my account name, will my programs stop working?
Almost never. Modern apps store their settings in locations that don't depend on your account name. If an app does have trouble, logging out and back in usually fixes it. Reinstalling the app is a last resort.
Can I change my account name back to the original if I change my mind?
Yes. Follow the same steps: create a temporary admin account, log in as that account, go to Users & Groups, select your account, and change the name back to what it was. You can change your account name as many times as you need to.