Change Your Username and Password Through System Settings
You can change both your username and password on a Mac through System Settings, the control panel where Mac stores account details. The process takes about five minutes and requires your current password to start. You will need to restart your Mac after making the change, so plan for that downtime.
Open System Settings by clicking the Apple menu in the top-left corner, then select System Settings. Click Users & Groups in the sidebar (you may need to scroll down to find it). If the lock icon at the bottom left is closed, click it and enter your current password — this unlocks the settings so you can make changes.
Select your account name from the list on the left. You will see fields for your full name and account name. The account name is what appears in the terminal and file paths; the full name is what shows on the login screen. Change either or both, then click outside the field to save. For your password, click the Change Password button, enter your current password once, then type your new password twice to confirm it.
Key Takeaways
- Your account name (used in file paths and terminal) and full name (shown on login screen) are separate fields you can change independently in System Settings.
- You must unlock the Users & Groups panel with your current password before you can make any changes to your account.
- After changing your username, you must restart your Mac for the change to take effect across all applications.
- If you forget your new password after restarting, you can reset it using your Apple ID or a recovery key from System Settings.
What Happens to Your Files and Folders When You Change Your Username
When you change your account name, your home folder keeps its old name. This means your files stay where they are, but the path to reach them changes in your mind — the folder still shows the old name on your hard drive. Most applications will not notice this change because they look for your home folder by ID, not by name.
However, some older applications or scripts that hardcoded your username into their settings may break. If you use terminal commands, scripts, or specialized software that references your old username directly, those will need updating. The safest approach is to change your full name (which appears on the login screen) rather than your account name if you only want a display change.
Changing Your Password Without Changing Your Username
If you only want to change your password and keep your username the same, the process is simpler. Open System Settings, go to Users & Groups, unlock the panel with your current password, select your account, and click Change Password. Enter your current password once, then type your new password twice.
Your password change takes effect when ready — you do not need to restart. The next time you log in or wake your Mac from sleep, you will use the new password. If you have iCloud enabled on your Mac, you will be asked whether to update your iCloud keychain password as well; you can choose to do this or keep them separate.
Resetting a Forgotten Password Using Your Apple ID
If you change your password and then forget it, you can reset it using your Apple ID without losing any files. Restart your Mac and wait for the login screen. Click the question mark or "?" icon next to the password field, or wait 30 seconds — a reset option will appear. Click Reset Password and follow the prompts to verify your identity using your Apple ID.
You will be asked to enter your Apple ID and password, then answer security questions or receive a verification code on another Apple device. Once verified, you can create a new password. This process works only if your account is linked to an Apple ID, which most modern Macs are by default.
Using a Recovery Key if You Do Not Have Apple ID Access
When you first set up your Mac, you may have created a recovery key — a long string of characters that can reset your password without needing your Apple ID. If you saved this key, you can use it at the login screen by clicking the question mark icon and selecting the recovery key option.
If you did not save your recovery key and do not have access to your Apple ID, password recovery becomes much harder. You would need to restart your Mac in Recovery Mode (hold Command + R during startup), erase your drive, and reinstall macOS — a process that deletes all your files. This is why Apple recommends saving your recovery key in a safe place when you first see it.
Changing Your Password on Multiple Macs
If you have more than one Mac and want to use the same password on all of them, you must change the password on each Mac separately through System Settings. There is no way to sync password changes across devices automatically. However, if your Macs are linked to the same Apple ID, you can use that ID to reset a forgotten password on any of them.
Some people use a password manager like iCloud Keychain to store and sync passwords across devices, but that is different from changing your Mac login password itself. Your login password remains unique to each Mac unless you manually change it on each one.
Troubleshooting Password Changes That Do Not Work
If you change your password but it does not work at the next login, restart your Mac completely — do not just log out. Sometimes the change does not take effect until a full restart. If you are still locked out, try waiting a few minutes before restarting, as the system may still be writing the change to disk.
If you see an error message saying your password is too weak, macOS requires at least eight characters. A strong password includes uppercase letters, lowercase letters, numbers, and symbols. If System Settings will not let you click the Change Password button, make sure you have unlocked the Users & Groups panel first by clicking the lock icon and entering your current password.
Frequently Asked Questions
Can I change my username without changing my password?
Yes. In System Settings under Users & Groups, you can change your account name or full name without touching the password field. Just edit the name field and click outside it to save. Your password stays the same until you click the Change Password button.
Will changing my username delete my files?
No. Your files remain on your Mac in the same location. Your home folder keeps its old name on the hard drive, so the path to your files does not change from the Mac's perspective. Most applications will not notice the username change at all.
What if I change my password and then forget it when ready?
You can reset it using your Apple ID at the login screen by clicking the question mark icon next to the password field. If your Mac is not linked to an Apple ID, you will need your recovery key. Without either, you will need to erase and reinstall macOS.
Do I need to change my password on iCloud too?
Your Mac login password and Apple ID password are separate. When you change your Mac password, the system asks whether to update your iCloud keychain password as well. You can choose yes or no — they do not have to match.
How long does it take for a username change to work everywhere on my Mac?
After you restart, the change takes effect when ready in most applications. However, some older software or terminal scripts that hardcoded your old username may need manual updates. Check any applications that reference file paths or usernames in their settings.