The two ways to change your Mac username
You can change your Mac username in two places, and which one you use depends on what you want to change. 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 — this one is easier to change and does not require a restart.
If you only want to change how your name appears in apps, change the display name. If you want to change the folder name on your Mac or the name that appears at login, you need to change the account name, which is more involved. Most people find they only need to change the display name.
Key Takeaways
- Changing your display name takes two minutes and does not require a restart — go to System Settings, then Users & Groups, select your account, and edit the name field.
- Changing your account name requires you to create a new administrator account first, then use that account to rename the original one.
- If you forget your password, you cannot change your account name without resetting it through Apple ID or Recovery Mode.
- Changing your account name does not move your files — they stay in the old folder, and you may need to update file paths in some applications.
- The display name change takes effect when ready in Mail and Messages, but some apps may need to be restarted to show the new name.
How to change your display name in three steps
Open System Settings and click Users & Groups (or Accounts on older Macs). 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.
In the account details, you will see a field with your current name at the top. Click it and type the new name you want to use. Press Enter to save. The change takes effect when ready in Mail, Messages, and most other applications, though you may need to restart the app to see it.
How to change your account name (the folder name)
Changing your account name — the one that appears in the Users folder and at login — is more complex because your Mac uses it to organize your files and permissions. You cannot straightforward rename it from your own account. Instead, you must create a temporary administrator account, use that to rename your original account, then delete the temporary one.
First, open System Settings and go to Users & Groups. Click the lock icon and enter your password. Click the plus sign (+) at the bottom left to create a new account. Choose Administrator from the account type dropdown. Give it a temporary name like "Temp Admin" and a straightforward password you will remember. Click Create Account.
Log out of your current account. At the login screen, select the new temporary admin account and log in. Go back to System Settings, Users & Groups, unlock it, and select your original account from the list. Click the Edit button (or right-click the account name) and change the account name to what you want. You will be asked to confirm the change — click OK. Your Mac will update the folder name and all associated permissions.
Log out of the temporary admin account and log back into your renamed account using your password. Then delete the temporary admin account: go to System Settings, Users & Groups, unlock it, select the temporary account, click the minus sign, and choose Delete the home folder when prompted.
What happens to your files when you change your account name
Your files do not move when you change your account name. They stay in the old folder location. However, some applications that store file paths — like certain backup programs, development tools, or older software — may not find them in the new location and could show errors.
If you use Time Machine for backups, it will continue to work without interruption. If you use other backup software, check its settings to make sure it is pointing to the correct folder path. You can find your new folder by opening Finder, clicking Go in the menu bar, selecting Home, and looking for the folder with your new account name.
When you cannot change your account name
If you have forgotten your password, you cannot change your account name without first resetting your password. You can reset it using your Apple ID: restart your Mac, hold Command + Q at the login screen to access password reset options, then follow the prompts to reset using your Apple ID.
If you do not have an Apple ID linked to your account, you will need to use Recovery Mode. Restart your Mac and hold Command + R until the Apple logo appears. Once in Recovery Mode, go to Utilities, Terminal, and type resetpassword to open the password reset tool. This process is more involved, so consider contacting Apple Support if you are not comfortable with it.
Why your Mac might not show the name change right away
Display name changes usually appear when ready in Mail and Messages, but some applications cache the old name in memory. If an app is still showing your old name after you have changed it, try closing the app completely and opening it again. On some older versions of macOS, you may need to restart your Mac for the change to appear everywhere.
If you changed your account name (the folder name) rather than just the display name, some applications may take longer to recognize the change because they are looking for files in the old folder path. Restarting your Mac after changing your account name helps most applications update their file references.
Frequently Asked Questions
Can I change my username without creating a temporary admin account?
No. macOS prevents you from renaming your own account while you are logged into it, so you must use another administrator account to make the change. Creating a temporary admin account is the standard way to do this.
Will changing my account name affect my passwords or login?
No. Your password stays the same, and you log in the same way. Only the folder name and the name displayed in certain system locations change. Your Apple ID and iCloud account are separate and unaffected.
What if I change my account name and an app stops working?
Restart the app first. If it still does not work, the app may be looking for files in the old folder path. Check the app's preferences or settings to update the file location, or contact the app's support team for help updating the path.
Can I change my username back to the old one?
Yes. Follow the same process: create a temporary admin account, log into it, then use it to rename your account back to the original name. You can change your account name as many times as you need to.