Change your admin account name in System Settings
The fastest way to change your admin username is through System Settings, the control panel where Mac stores account information. You will need to be logged in as an admin user — the account type that can make system-wide changes — and you will need your password.
Open System Settings by clicking the Apple menu in the top left corner, then select System Settings. Navigate to General, then Users & Groups. You may see a lock icon at the bottom of the window; click it and enter your admin password to unlock the settings. Find your account in the list on the left, right-click it, and select Advanced Options. The field labeled "Account name" contains the short username your Mac uses internally — this is what you are changing. Type the new name (use lowercase letters and no spaces), then click OK.
Your Mac will ask you to confirm the change. Click the button to update your home folder name as well, since this keeps your files organized correctly. The change takes effect when ready, though you may need to restart your Mac for all programs to recognize the new name.
Key Takeaways
- You must be logged in as an admin user and know your password before you can change the admin username through System Settings.
- The account name field in Advanced Options is the internal username your Mac uses, separate from the display name that appears on the login screen.
- Updating your home folder name at the same time prevents programs from losing track of your files and settings.
- The change takes effect right away, though restarting your Mac ensures all open programs recognize the new username.
- If you forget the new username you just created, you can check it by opening Terminal and typing whoami, then pressing Enter.
What happens to your files and folders
When you change your admin username, your home folder — the main directory where your documents, downloads, and settings live — keeps the old name unless you specifically update it. This can confuse programs that look for files in a path containing your username. System Settings will ask whether you want to rename the home folder to match; choosing yes prevents this problem.
If you decline to rename the home folder, your files remain accessible, but some programs may not find your settings or saved data when ready. You can rename the home folder manually later by opening Finder, navigating to the Users folder, right-clicking your home folder, and selecting Rename. However, you must be logged in as a different admin account to do this, since you cannot rename a folder you are currently using.
Changing the display name versus the account name
Your Mac actually stores two different names for your account: the display name (what appears on the login screen and in menus) and the account name (the internal username your Mac uses for file paths and system functions). When you change the account name through Advanced Options, you are changing the internal name. If you only want to change what appears on your login screen, you can do that separately without touching the account name.
To change only the display name, open System Settings, go to General, then Users & Groups. Click the lock icon and enter your password. Select your account, then click the pencil icon next to your name at the top of the window. Type the new display name and press Enter. This change does not affect file paths or how programs reference your account, so it is safer if you are unsure whether changing the account name will cause problems with your setup.
Troubleshooting if the change does not work
If System Settings will not let you change the account name, the most common reason is that you are not logged in as an admin user. Check by opening System Settings, going to General, then Users & Groups. If your account does not say "Admin" next to it, you will need another admin user to promote your account or make the change for you. If you are the only admin user and cannot access System Settings, you may need to restart your Mac in Recovery Mode and use the Reset Password utility, though this is a more involved process.
Another reason the change might fail is if your account name is currently in use by another process — for example, if you have a shared folder or network service running under that name. Restart your Mac and try again. If you still cannot change it, check whether any programs are running that use your username in their configuration. Quit those programs completely and try once more.
If you see an error message saying the account name is already in use, it means another account on your Mac already has that name. Choose a different username and try again. Account names must be unique on the same computer.
Using Terminal to verify the change
After you change your admin username, you can confirm the change took effect by opening Terminal, the command-line tool built into Mac. Press Command + Space to open Spotlight search, type Terminal, and press Enter. In the window that opens, type whoami and press Enter. Terminal will display your current username. If it shows your new username, the change was successful.
You can also type pwd (print working directory) and press Enter to see the full path to your home folder. If the path still contains your old username, your home folder was not renamed. You can rename it manually by opening Finder, navigating to Users, and renaming the folder while logged in as a different admin account.
When to change your admin username
You might change your admin username when you inherit a Mac from someone else and want to personalize it, when you set up a new account and want a cleaner name, or when your current username no longer reflects who uses the account. The change is straightforward and does not affect your files or settings — they straightforward move to a new location on your drive.
If you share your Mac with other users, changing your admin username does not affect their accounts. Each user has their own separate account name and home folder. However, if you use your username in shared folder names or network services, those may need to be updated after you change your account name.
Frequently Asked Questions
Do I need to restart my Mac after changing the admin username?
A restart is not required, but it is recommended. The change takes effect when ready, but restarting ensures all open programs and system services recognize the new username. If you do not restart and a program cannot find your settings, restart and try again.
What if I change my mind and want to change the username back?
You can change it back the same way you changed it the first time — through System Settings, General, Users & Groups, Advanced Options. The process is identical. If you also renamed your home folder, you will need to rename it again to match the old name, or do so manually through Finder.
Will changing my admin username affect my passwords or login?
No. Your login password remains the same. You log in with your password, not your username. The username change only affects how your Mac refers to your account internally and in file paths.
Can I change the admin username if I forgot my password?
No. You must know your admin password to unlock the Users & Groups settings. If you forgot your password, you will need to reset it first using the Reset Password utility in Recovery Mode, then change your username.
What if another user on my Mac is not an admin — can they change their own username?
No. Only admin users can change account names through System Settings. A standard user account cannot change its own username. An admin user must make the change for them through the Users & Groups settings.