Change your username through System Settings
The fastest way to change your MacBook username is through System Settings on your Mac. Open System Settings, go to General, then Users & Groups (or just Users on newer macOS versions), select your account, and click the edit button next to your name. Type your new username, then click the change button. Your Mac will ask for your administrator password to confirm.
This method works on macOS Ventura, Sonoma, and most recent versions. The exact location shifts slightly between macOS versions — on older Macs, you may find Users & Groups under System Preferences instead of System Settings — but the process is the same. You need administrator access to make this change, which means either your own admin password or someone else's if your account is a standard user.
After you change your username, your Mac may ask you to log out and back in. Do this right away so the change takes effect across all your applications and files. Some programs may still reference your old username in settings or saved data, but your Mac itself will recognize you by the new name.
Key Takeaways
- Open System Settings, navigate to Users & Groups (or Users), select your account, and click edit next to your name to change it.
- You need your administrator password to change your username, even if it is your own account.
- Log out and back in after making the change so your Mac applies it to all your files and applications.
- Your home folder name stays the same even after you change your username, so your files remain in their original location.
- Some older applications may still show your previous username in their settings, but this does not affect how your Mac works.
What happens to your home folder when you change your username
When you change your username through System Settings, your home folder — the folder that holds your Documents, Downloads, Desktop, and other personal files — keeps its original name. If your old username was "sarah" and you change it to "sarah.chen", your home folder stays at /Users/sarah, not /Users/sarah.chen. This is by design and prevents your Mac from breaking links to your files.
Your Mac creates an internal mapping between your new username and your old home folder path, so you will not notice any difference when you open Finder or save files. Everything works the same way. However, if you ever look at the path bar in Finder or type commands in Terminal, you will see the old folder name. This is normal and does not mean your change did not work.
When you need to change your actual home folder name
If you want your home folder name to match your new username — for example, to change /Users/sarah to /Users/sarah.chen — you need to take extra steps beyond the System Settings change. This is more involved because your Mac needs to move all your files to a new location while keeping everything working.
The safest way is to create a new administrator account, log into it, then use System Settings to delete your old account and migrate your files. Your Mac will offer to move everything to a new home folder with your new username. Before you do this, back up your entire Mac using Time Machine or another backup method. If something goes wrong during the migration, you will have a complete copy of your files to restore from.
Alternatively, you can use Terminal commands to rename your home folder, but this requires comfort with command-line tools and carries more risk of errors. Unless you have a specific reason to match your folder name to your username — such as preparing your Mac for a workplace that requires it — leaving your home folder name unchanged is simpler and safer.
Changing your display name versus your account username
Your Mac actually has two separate names: your account username (the short name your Mac uses internally) and your display name (the name that shows on your login screen and in System Settings). When you change your username through System Settings, you are usually changing your display name, not your account username.
Your account username is what appears in Terminal, in file paths, and in network settings. It is usually shorter and contains no spaces — something like "sarah" or "sarah.chen". Your display name can be longer and include spaces — "Sarah Chen" or "Sarah J. Chen". Most people only need to change their display name, which is what System Settings lets you do easily.
If you need to change your actual account username (the short name), you will need to use Terminal or create a new account with the username you want, then migrate your files. This is rarely necessary unless you are setting up your Mac for a workplace or school that requires a specific username format.
Troubleshooting username changes that did not work
If you changed your username in System Settings but your Mac still shows the old name in some places, log out completely and log back in. Some applications cache your username when they start, so they will not see the new name until you restart them or restart your Mac entirely. Restarting your Mac is the most reliable way to make sure every program picks up the change.
If you see an error message saying you do not have permission to change your username, you are logged into a standard user account rather than an administrator account. Ask whoever set up your Mac to change the username for you, or ask them to make your account an administrator so you can change it yourself.
If you changed your username but your home folder name is still the old one and you want them to match, you will need to follow the steps in the "When you need to change your actual home folder name" section above. straightforward changing the name in System Settings does not rename the folder itself.
Why you might want to change your username
People change their MacBook username for different reasons. You might have set up your Mac with a temporary name and want something more professional. You might have gotten married or changed your name and want your Mac to reflect that. You might be sharing your Mac with someone else and want to set up a separate account with their name. Or you might be preparing your Mac for a workplace that requires usernames in a specific format.
Whatever your reason, changing your username is straightforward and does not affect your files, applications, or settings. Your Mac straightforward recognizes you by your new name going forward. If you ever need to change it again, the process is the same.
Frequently Asked Questions
Will changing my username delete my files or settings?
No. Your files, applications, and settings all stay exactly where they are. Your Mac straightforward recognizes you by your new name. Your home folder, Documents, Downloads, and everything else remain unchanged and accessible.
Can I change my username without restarting my Mac?
You can change it in System Settings without restarting, but you should log out and log back in afterward so your Mac applies the change everywhere. Some applications may still show your old username until you restart them or restart your Mac.
What if I forgot my administrator password and cannot change my username?
You will need to reset your administrator password first. On newer Macs, you can use your Apple ID to reset it. On older Macs, you may need to use Recovery Mode. Once your password is reset, you can change your username normally.
Does changing my username affect my Apple ID or iCloud account?
No. Your Apple ID and iCloud account are separate from your Mac username. Changing your Mac username does not change your Apple ID, and you will still log into iCloud with the same email address and password you used before.
Can I have two usernames on the same Mac?
Yes. You can create multiple user accounts on your Mac, each with its own username, files, and settings. Each person who uses the Mac can have their own account. Go to System Settings, Users & Groups, and click the plus button to add a new account.