What changing your username actually does
Your Mac username is the name that appears in the login window, in the top-right corner of your screen, and in file paths throughout your computer. Changing it does two separate things: it renames your account name (what the system calls you internally) and optionally renames your home folder (the main folder where your files live). Most people only need to change the display name — the one that shows on the login screen — which takes two minutes and causes no problems. Changing the account name itself is more involved because it affects file paths and permissions, and you should only do it if you have a specific reason.
If you just want the login screen to show a different name, or you want to change how your name appears in messages and documents, the display name change is what you need. If you're trying to fix a folder structure problem or you inherited a Mac with someone else's account name, you may need the account name change instead.
Key Takeaways
- Changing your display name (what shows on the login screen) takes two minutes and requires no restart or admin password.
- Changing your account name is more complex and can affect file permissions and process settings, so only do it if necessary.
- Before changing your account name, back up your Mac and create a second admin account in case something goes wrong.
- If you change your account name, you may need to update passwords in some applications and re-enter credentials in cloud services.
How to change your display name in two minutes
Open System Settings (or System Preferences on older Macs). Click General in the sidebar, then click About. You'll see your computer name at the top — this is different from your username, but you can change it here if you want. Close this window and go back to System Settings. Click General again, then look for Users & Groups or Accounts (the exact name varies by macOS version). You may need to click the lock icon in the bottom-left corner and enter your password to make changes.
Find your account in the list on the left. Click it once. On the right side, you'll see a field with your current name. Click it and type the new name you want to appear on the login screen and in messages. Press Enter. The change takes effect when ready — you don't need to restart. This is the display name, and it's the safest change you can make.
When and why to change your account name
Your account name is the short identifier the Mac uses internally — it's what appears in file paths like /Users/youraccountname/Documents. Most people never need to change this. You might consider it if you inherited a Mac with someone else's account name, if you're setting up a Mac for a business and need a standardized naming scheme, or if you made a typo when you first set up the Mac. Changing it is not a straightforward rename — the Mac has to update file permissions, folder ownership, and system references throughout your computer.
If you're only bothered by how your name looks on the login screen or in email, change the display name instead. It's faster, safer, and does what you actually need.
The steps to change your account name (if you really need to)
Before you start, back up your entire Mac using Time Machine or another backup method. Create a second admin account that you can use if something goes wrong. You'll need to be logged into an admin account to make this change.
Open System Settings and go to General, then Users & Groups (or Accounts). Click the lock icon and enter your password. Right-click on your account name in the list and select Advanced Options. You'll see a field labeled "Account name" — this is what you're changing. Type the new account name (use lowercase letters and no spaces). Click OK. The Mac will ask you to restart. Save your work and restart.
After restart, log back in. Open Finder and go to the Users folder (in the sidebar under Locations). You should see a folder with your old account name. The Mac has created a new home folder with your new account name, but your old files are still in the old folder. You can move them manually, or you can use the Finder's Move function to transfer everything. This is slow and tedious — expect it to take 10 to 30 minutes depending on how much data you have.
What breaks when you change your account name
Some applications store settings tied to your old account name. After you change your account name, you may need to re-enter passwords in Mail, Messages, and other apps that use cloud accounts. Shared folders and network drives may lose their connection — you can reconnect them through System Settings under General, then Sharing. Scheduled tasks and automations may stop working if they reference your old account name in their paths.
Applications installed in your Applications folder usually work fine because they don't care about your account name. Applications you installed in your home folder may have trouble finding their support files. If you use any automation tools, scripts, or command-line programs, they may reference your old account name and need to be updated manually.
If something goes wrong after changing your account name
If you can't log in or something is seriously broken, restart your Mac and hold Command + R to enter Recovery Mode. You can use Disk Utility to check your drive, or you can restore from your Time Machine backup. This is why backing up before you start is essential — if the change causes problems you can't fix, you can go back to your backup and try a different approach.
If you're locked out of your account, you can create a new admin account from Recovery Mode and use it to troubleshoot. Go to Utilities in the menu bar and select Terminal, then type "resetpassword" to open the password reset tool. This won't fix a broken account name change, but it can get you back into your Mac so you can restore from backup.
Frequently Asked Questions
Will changing my username log me out of everything?
Changing your display name won't log you out at all. Changing your account name requires a restart, but you stay logged in after the restart. You may need to re-enter passwords in some applications because they're tied to your old account name, but you won't be forced to log out.
Can I change my account name without a second admin account?
Technically yes, but you shouldn't. If something goes wrong during the change, you could lock yourself out of your Mac. Creating a second admin account takes five minutes and gives you a safety net. You can delete it after the change is complete.
What's the difference between account name and display name?
Display name is what shows on the login screen and in messages — this is purely cosmetic. Account name is the system identifier that appears in file paths and folder ownership. Most people only need to change the display name.
Do I need to change anything in iCloud or Apple ID after changing my username?
No. Your Apple ID and iCloud account are separate from your Mac account name. Changing your Mac username doesn't affect your Apple ID. You may need to re-enter your iCloud password in System Settings after the change, but your account itself stays the same.
Can I undo a username change?
Yes, if you have a backup. If you don't have a backup and something went wrong, you can create a new admin account and move your files into it, but you can't easily reverse the change on the original account. This is another reason to back up before you start.