The two ways to change your Mac username
You can change your Mac username in two places: the account name that appears on the login screen, and the folder name where your files live. Most people need to change both, but they use different settings. The account name change happens in System Settings under Users & Groups. The folder name change requires the Finder and takes a few extra steps because macOS protects that folder while you are logged in.
If you only change one, you will end up with a mismatch — your login screen might say "Sarah" but your home folder will still be called "sarah.old" or whatever it was before. Both changes are free and do not require any special software.
Key Takeaways
- Your Mac has two usernames: the account name on the login screen and the home folder name in Finder, and you usually want to change both.
- Change the account name in System Settings under Users & Groups, but you must unlock the padlock icon first and may need your admin password.
- Change the home folder name by right-clicking it in Finder, selecting Rename, and typing the new name — this works only when you are logged in as that user.
- If you cannot rename the folder because it says it is in use, restart your Mac and try again before logging in to any other account.
- After either change, restart your Mac to make sure the new name appears everywhere.
How to change your account name in System Settings
Open System Settings and click Users & Groups in the sidebar. You will see a list of accounts on the left. Click the account you want to change, then look for the padlock icon at the bottom of the window. Click it and enter your admin password — this is usually the password you use to log in, unless someone else set up the account.
Once the padlock is unlocked, you can edit the Full Name field at the top. This is the name that appears on the login screen and in most places around your Mac. Type the new name and press Enter. The change takes effect when ready, but you may not see it everywhere until you restart.
Do not confuse the Full Name with the Account Name field below it. The Account Name is a shorter version used for technical purposes and is harder to change — most people leave it alone and only change the Full Name.
How to rename your home folder in Finder
Open Finder and click on your home folder in the sidebar — it looks like a house icon and usually has your current username next to it. Right-click the folder at the top level of Finder (the one that contains Desktop, Documents, Downloads, and so on) and select Rename from the menu. Type the new folder name and press Enter.
If you see a message saying the folder is in use or locked, it means another program is accessing files in that folder. Close all open programs, including web browsers and email clients, then try again. If it still will not rename, restart your Mac without logging in to any other account, then try the rename when ready after you log back in.
The home folder name does not have to match your account name, but most people make them the same to avoid confusion. If you change your account name but not your folder name, your Mac will still work fine — you will just have a mismatch between what the login screen says and what you see in Finder.
What happens to your files when you change your username
Your files stay exactly where they are. Changing your username does not move, delete, or damage anything in your Documents, Desktop, Downloads, or any other folder. The change is purely cosmetic — it updates the name that appears in the Finder sidebar and on the login screen.
If you have programs that store settings or preferences tied to your old username, they may need to be reconfigured after the change. This is rare, but it can happen with older software or programs that store paths to your home folder. Restarting your Mac after the change usually fixes these issues automatically.
Changing your username if you forgot your admin password
If you cannot unlock the Users & Groups settings because you do not remember your admin password, you have two options. The first is to use another admin account on the same Mac if one exists — log in to that account, open System Settings, and change the username from there.
If no other admin account exists, you will need to use Recovery Mode. Restart your Mac and hold Command + R while it boots. Once in Recovery Mode, click Utilities in the menu bar and select Terminal. Type resetpassword and press Enter. This opens a password reset tool that can help you regain access to your account. This process is more involved and may require you to verify your identity with your Apple ID.
Why you might want to change your username
People change their Mac username for many reasons: a legal name change, a preference for a different nickname, or straightforward because the original username no longer fits. Some people change it when they inherit a Mac from someone else or when they set up a new account and want it to match their other devices.
Changing your username does not affect your Apple ID, iCloud account, or any cloud services. Those are separate from your local Mac username and stay the same unless you change them separately in System Settings under Apple ID.
Troubleshooting username changes that did not work
If you changed your account name but it still shows the old name on the login screen, restart your Mac. The login screen sometimes caches the old name and does not refresh until you restart.
If you renamed your home folder but Finder still shows the old name in the sidebar, try this: open System Settings, go to General, and look at the sidebar settings. Remove your home folder from the sidebar and add it back. If that does not work, restart your Mac.
If you see an error message saying the folder name is already in use, check whether a folder with that name already exists somewhere else on your Mac. Use Spotlight (Command + Space) to search for the name you are trying to use. If it exists, rename it first or choose a different name for your home folder.
Frequently Asked Questions
Can I change my username without restarting my Mac?
The account name change takes effect when ready, but the home folder rename and the login screen update both work better after a restart. You can change the account name and keep working, but restart as soon as you can to make sure everything updates properly.
Will changing my username affect my passwords or login?
No. Your password stays the same — you log in with the same password whether your username is "Sarah" or "Sam". The username is just the display name. Your login credentials do not change.
What if I share my Mac with other people?
You can only change the username for your own account when you are logged in as that user. Other accounts on the same Mac are not affected. If you want to change someone else's username, you need an admin account and their permission.
Can I change my username back to the old one?
Yes, the same way you changed it the first time. Open System Settings, unlock Users & Groups, and type the old name back in. You can change your username as many times as you want.
Does my Apple ID change when I change my Mac username?
No. Your Apple ID is separate from your Mac username. Changing your Mac username does not affect your Apple ID, iCloud account, or any services tied to your Apple ID. They stay exactly the same.