Change Your Username and Password in System Settings
You can change both your MacBook username and password through System Settings without restarting or creating a new account. Open System Settings, go to General, then Users & Groups (or just Users on newer macOS versions), click the lock icon to unlock the panel, select your account, and change the fields you need. The process takes about five minutes and your files stay exactly where they are.
Your username is what appears in the login screen and in the Finder sidebar. Your password is what you type to unlock your Mac and authorize system changes. Changing either one does not affect your documents, applications, or any other data on the computer — only how you log in.
Key Takeaways
- You need to unlock the Users & Groups panel with your current password before you can make any changes to your account.
- The username field and the full name field are separate — you can change one without changing the other.
- If you forget your new password after changing it, you can reset it using your Apple ID or a recovery key, but the process is slower than getting it right the first time.
- Changing your username does not rename your home folder automatically — you may need to do that separately if you want the folder name to match.
- You must be logged in as an administrator to change your own password or username.
Step-by-Step: Change Your Password
Open System Settings by clicking the Apple menu in the top-left corner and selecting System Settings. Click General in the sidebar, then Users & Groups. You may see Users instead of Users & Groups depending on your macOS version — either way, look for the account management section.
Click the lock icon at the bottom of the panel. Your Mac will ask you to enter your current password. Type it and click Unlock. Now your account name appears highlighted in the list on the left. Click the password field (or look for a "Change Password" button), then enter your current password once more to verify who you are. Type your new password twice — once in the password field and once in the verify field. Make sure both match exactly. Click Change Password or the equivalent button for your macOS version.
Your new password takes effect when ready. You do not need to restart. The next time you log out and back in, or the next time your Mac asks for your password to authorize a system change, use the new one.
Step-by-Step: Change Your Username
The username is trickier than the password because it controls your home folder path and appears in terminal commands. Go back to System Settings > General > Users & Groups, unlock the panel with your current password, and select your account. Look for a field labeled "Account name" or "Username" — this is different from the "Full Name" field that appears above it.
Click the username field and type the new one. Usernames must be lowercase letters and numbers only — no spaces, no special characters, and no uppercase letters. Keep it short and straightforward. Click outside the field or press Enter to save the change. Your Mac may ask you to confirm; if it does, enter your password again.
Your home folder will still have the old name. If you want the folder name to match your new username, you need to rename it separately. Open Finder, go to Users, right-click your home folder, select Rename, and type the new name. Your Mac may warn you that this could break some applications — this is normal and rarely causes real problems, but back up your data first if you are nervous.
What Happens If You Forget Your New Password
If you change your password and then forget it before you log out, you can still go back to System Settings and change it again — you are still logged in. But if you restart your Mac and forget the new password at the login screen, you will need to reset it using your Apple ID or a recovery key.
Click "Forgot password?" on the login screen. Your Mac will ask for your Apple ID and password. If you have set up two-factor authentication on your Apple ID, you will need to complete that step too. Once verified, you can set a new Mac password. This process usually takes a few minutes but is slower than changing it while you are logged in, so write down your new password somewhere safe before you restart.
Why Your Username and Full Name Are Different
Your full name is what appears in the top-right corner of the menu bar and in Mail and Calendar. Your username is what appears at the login screen and in the Finder sidebar, and it controls the path to your home folder. You can change one without changing the other.
For example, you might have a full name of "Sarah Mitchell" but a username of "smitchell" or "sarah.m". This separation exists because usernames have strict rules — no spaces, no special characters — while full names can be anything. If you only want to change how your name appears in applications, change your full name. If you want to change your login name, change your username.
Changing Your Password on Older macOS Versions
On macOS Big Sur and earlier, the path is slightly different. Open System Preferences (not System Settings), click Users & Groups, unlock the panel, select your account, and click the "Change Password" button. The steps after that are the same — enter your current password, then your new password twice, then click Change Password.
If you are running an older version and cannot find Users & Groups, check the Apple menu to confirm which macOS version you have. You can also click the Apple menu, select About This Mac, and look at the version number. If you are unsure whether to use System Settings or System Preferences, try System Settings first — that is the newer standard.
Frequently Asked Questions
Can I change my password without changing my username?
Yes. They are completely separate. Go to Users & Groups, select your account, and click the password field. You do not need to touch the username field at all. Your username stays the same.
What if I change my username and now some programs do not work?
Some older applications store your username in their settings. Restart the process and it usually fixes itself. If a program still does not work, you can change your username back to the original one, or you can contact the process's support team to ask how to update the stored username.
Do I need to change my Apple ID password too?
No. Your Mac password and your Apple ID password are separate. Changing one does not change the other. If you want to change your Apple ID password, go to appleid.apple.com in a web browser and sign in there.
Will changing my username delete my files?
No. Your files stay on your Mac in the same place. Only the name of your home folder and your login name change. You can still access all your documents, photos, and applications.
Can I use spaces or special characters in my new username?
No. Usernames can only contain lowercase letters and numbers. No spaces, no hyphens, no periods, no special characters. If you want a name with spaces, use your full name field instead.