The two ways to change your Mac username
You can change your Mac username in two places, and they work differently. The account name is what appears in the login screen and at the top of the Apple menu — this is what most people mean when they say "username." The full name is what shows up in Mail, Messages, and shared folders. You can change one, both, or neither depending on what you need.
Changing your account name is more involved because macOS stores it in system files. Changing your full name takes 30 seconds. This guide covers both, starting with the simpler one.
Key Takeaways
- Your full name (what appears in Mail and Messages) can be changed in System Settings in under a minute without restarting.
- Your account name (what appears at login) requires you to use your Apple ID password and takes a few minutes, but does not require a restart.
- If you forget your account name, you can see it by opening Terminal and typing whoami, then pressing Enter.
- Changing your account name does not move or rename your home folder — your files stay in the old folder path.
- You must have administrator access on your Mac to change either your account name or full name.
Changing your full name (the quick way)
Your full name is the easiest to change and takes about one minute. This is the name that appears in Mail, Messages, FaceTime, and when you share files with other people on your network.
Open System Settings (the gear icon in your Dock, or press Command-comma on most Mac screens). Click General in the sidebar, then click About. You will see a field labeled "Computer Name" — ignore that for now. Look for the field that shows your name at the top of the window or in the "Owner" section. Click the edit button (pencil icon) next to your name and type the new name you want. Click Done. The change takes effect when ready.
If you do not see an edit button, you may not have administrator access on this Mac. Ask whoever set up the computer to make the change, or ask them to give you administrator rights.
Changing your account name (the longer way)
Your account name is the short name that appears at the login screen and in the Finder sidebar. Changing it requires your Apple ID password and takes a few minutes. macOS does not rename your home folder automatically, so your files stay where they are — this is intentional and prevents problems with applications that look for files in specific locations.
Open System Settings and click General in the sidebar. Click Users & Groups (or Login Items on newer Macs, then go back and look for Users). You may need to click the lock icon in the bottom left and enter your password to make changes. Right-click (or Control-click) your account name in the list on the left and select Advanced Options. Find the field labeled "Account name" and type your new account name. Account names must be lowercase, no spaces, and usually no special characters — use letters, numbers, hyphens, and underscores only. Click OK.
macOS will ask you to enter your Apple ID password to confirm the change. Type it and click Change Name. You do not need to restart, but you may see a brief pause while the system updates its records. After the change, your login screen will show the new account name, but your home folder will still have the old name.
What happens to your files and folders
When you change your account name, your home folder keeps its old name. If your old account name was "sarah" and you change it to "sarah.martinez", your home folder will still be called "/Users/sarah" — not "/Users/sarah.martinez". This is by design. Most applications look for your home folder by its path, not by your account name, so leaving it alone prevents problems.
If you want to rename your home folder to match your new account name, you can do that manually, but it requires some care. You must log in as a different administrator account first, then rename the folder in Finder. After renaming it, go back to System Settings, open Users & Groups, right-click your account, select Advanced Options, and update the "Home directory" field to point to the new folder path. This is optional and not necessary for your Mac to work correctly.
Fixing a mistake or undoing a change
If you change your account name and realize you made a typo or want to go back, you can change it again using the same steps. Open System Settings, go to Users & Groups, right-click your account, select Advanced Options, and type a different account name. You will need your Apple ID password again.
If you cannot remember what your old account name was, open Terminal (search for it in Spotlight by pressing Command-space, typing "terminal", and pressing Enter). Type whoami and press Enter. Terminal will show your current account name. If you need to know your old account name, check the home folder path in Finder — click the Finder icon in the Dock, then click your username in the sidebar. The path shown at the top of the window includes your account name.
When you need administrator access
Changing your username requires administrator access on your Mac. If you see a lock icon in System Settings and cannot unlock it with your password, you are not an administrator. Ask the person who set up the Mac to either make the change for you or promote your account to administrator status.
If you are the only person who uses the Mac and you forgot your password, you can reset it using your Apple ID. At the login screen, click the question mark or "Forgot password?" link, then follow the prompts to reset using your Apple ID. After you reset your password, you will have administrator access again and can change your username.
Frequently Asked Questions
Will changing my username log me out of everything?
No. Changing your account name does not log you out of iCloud, Mail, Messages, or any other services. Your login credentials stay the same — only the name displayed on your Mac changes. You may need to re-enter your password in some applications if they cache your username, but this is rare.
Can I change my username without using my Apple ID password?
No. macOS requires your Apple ID password to change your account name as a security measure. If you do not have your Apple ID password, you can reset it at iforgot.apple.com before attempting to change your username.
What if my account name has a space or special character in it?
Account names cannot contain spaces or most special characters. If you try to type a space or symbol like @ or #, macOS will not accept it. Use only lowercase letters, numbers, hyphens, and underscores. If your current account name has a space (which is unusual), you can change it to remove the space using the steps above.
Does changing my username affect my files or backups?
Your files stay in the same location and work normally. Time Machine backups continue to work without interruption. If you back up to an external drive or cloud service, those backups are not affected by a username change.
Can I have two usernames on the same Mac?
Yes. Each person who uses the Mac can have their own account with their own username, password, and home folder. Go to System Settings, Users & Groups, click the plus icon, and create a new account. Each account is separate and does not affect the others.