Change your login name through System Settings
The fastest way to change your username on the macOS login screen is through System Settings. Open System Settings, click on "General" in the sidebar, then select "Users & Groups" (or "Login Items" depending on your macOS version). You'll see a list of user accounts on your Mac. Right-click on your account name and choose "Advanced Options." In the window that opens, you can edit the "Account name" field — this is the short name that appears on the login screen.
Type your new username directly into the Account name field. Keep it lowercase, with no spaces or special characters. macOS will accept letters, numbers, and hyphens. Click "OK" when you're done. Your new username will appear on the login screen the next time you restart your Mac or log out and back in.
If you don't see "Advanced Options" when you right-click, your account may not have administrator privileges. You'll need to use an administrator account to make this change, or ask someone with admin access to do it for you.
Key Takeaways
- Your login screen username is called the "Account name" in System Settings and must be lowercase with no spaces.
- You need administrator privileges on your Mac to change any username, including your own.
- The change takes effect after you log out or restart — your old username will no longer appear on the login screen.
- Changing your login username does not affect files or folders you've already created; they keep their current permissions.
- If you forget your new username after changing it, you can still log in using your full name or email address associated with the account.
What happens to your files and folders
When you change your username, the files and folders you created before the change stay exactly where they are. Your Mac keeps track of who owns each file by a unique ID number, not by the text name you see on the login screen. This means you'll still have full access to your Documents, Desktop, Downloads, and all other personal folders after the username change.
However, some applications or scripts that reference your old username by name may stop working correctly. This is rare with modern macOS software, but it can happen with older programs or custom setups. If you use any automation tools or have set up specific file paths in applications, test them after the change to make sure they still work.
Changing the full name versus the account name
macOS actually has two different names for your account: the "Account name" (the short name used for login and file ownership) and the "Full name" (the display name that appears in Mail, Contacts, and other apps). When you change your username on the login screen, you're changing the Account name. The Full name is separate and can be different.
You can change the Full name in the same Advanced Options window where you change the Account name. The Full name can include spaces and special characters, so you might set your Account name to "jsmith" but your Full name to "Jane Smith." This separation gives you flexibility — your login screen stays straightforward and technical, while your apps show a more readable name.
If you're locked out or can't access System Settings
If you can't open System Settings or you're locked out of your account, you have a few options. First, try restarting your Mac in Safe Mode by holding Shift while it boots. Safe Mode sometimes lets you access settings you normally can't reach. Once in Safe Mode, try opening System Settings again and navigating to Users & Groups.
If that doesn't work, you can use Recovery Mode. Restart your Mac and hold Command + R while it boots. Once in Recovery Mode, open Utilities from the menu bar and select "Terminal." Type resetpassword and press Enter — this opens a password reset tool that also lets you change your username. This method requires you to know your current password or have access to your Apple ID.
If you've completely lost access and don't remember your password or Apple ID, you'll need to contact Apple Support or take your Mac to an Apple Store. They can verify your ownership and help you regain access to your account.
Changing username for other user accounts on your Mac
If your Mac has multiple user accounts and you want to change someone else's username, you'll need administrator privileges. Open System Settings, go to Users & Groups, and select the account you want to change. Right-click and choose "Advanced Options," then edit the Account name field just as you would for your own account.
The person using that account will see the new username on the login screen the next time they log in. They won't lose any of their files or settings — everything stays the same except the name that appears on the login screen and in file ownership information.
Why you might want to change your username
People change their login username for different reasons. You might have set up your Mac quickly with a temporary name and now want something more professional. You might have changed your name and want your Mac to reflect that. Or you might want a shorter or easier-to-type username for command-line work or network access.
Whatever your reason, the process is straightforward as long as you have administrator access. The change is when ready on the login screen but doesn't disrupt your files, settings, or installed applications. If you ever need to change it again, you can follow the same steps.
Frequently Asked Questions
Will changing my username affect my Apple ID or iCloud account?
No. Your Apple ID and iCloud account are separate from your Mac login username. Changing your login name doesn't touch your Apple ID, and you'll still be able to use iCloud, FaceTime, and other Apple services with the same account you've always used.
Can I change my username without restarting my Mac?
The change takes effect when ready in System Settings, but the login screen won't show your new username until you log out or restart. If you want to see the change right away, log out and log back in with your new username.
What if I change my username and then forget what it is?
You can still log in using your full name or your Apple ID email address instead of your account name. Open System Settings and go back to Users & Groups to see what your current account name is, or use Terminal to check it with the whoami command.
Can I have spaces or special characters in my username?
The Account name (login username) must be lowercase with no spaces or special characters — only letters, numbers, and hyphens are allowed. Your Full name can have spaces and special characters, so use that field if you want a more readable display name.
Do I need to change my password when I change my username?
No. Your password stays the same. You'll log in with your new username but use the same password you've always used. Changing the username doesn't reset or affect your password in any way.