
Changing your Mac’s login password is a useful security step if you think someone knows it, if you want to replace a temporary password, or if you simply need a password that is easier for you to remember. You can change it from System Settings on newer versions of macOS or System Preferences on older versions.
Your Mac login password is the password you enter to unlock the Mac, sign in to your user account, and approve certain changes. It may also be used to unlock protected settings and access passwords stored in your login keychain.
Quick Answer
To change your Mac login password:
- Open the Apple menu and choose System Settings.
- Select Users & Groups.
- Click the Info button next to your user account.
- Click Change next to Password.
- Enter your current password, create a new password, and verify it.
- Click Change Password.
On older macOS versions, open System Preferences, select Users & Groups, choose your account, and click Change Password.
You must know your current login password to change it normally. If you forgot it, use the recovery options described later in this guide.
Before You Change Your Mac Password
Keep these points in mind before starting:
- Your Mac may ask you to enter the new password the next time you sign in.
- Changing your Mac login password does not necessarily change your Apple Account password.
- Your Mac login password is different from your Mac’s administrator name and account name.
- If you use a password manager, update the saved password after changing it.
- If your Mac is managed by a school or workplace, password requirements may be enforced by an administrator.
- Avoid changing your password while important work is unsaved. The process itself normally does not close apps, but you may need to sign out or restart later while troubleshooting.
Choose a strong password that is difficult for other people to guess. Avoid using your name, birthday, address, pet’s name, or a password you use on another website.
Change Your Login Password in System Settings
These steps apply to Macs that use System Settings.
- Click the Apple menu in the upper-left corner of the screen.
- Select System Settings.
- Click Users & Groups in the sidebar.
- Find your user account in the list.
- Click the Info button next to your account. It may appear as an information icon or a button labeled Info.
- Click Change next to the password field.
- Enter your current login password in the Old Password field.
- Enter your new password in the New Password field.
- Enter the same password again in the Verify field.
- Add a password hint if needed.
- Click Change Password.
Your new password takes effect immediately. The next time macOS asks you to unlock the Mac or sign in to your account, use the new password.
Use the password suggestions
macOS may show a password suggestion or a password-strength indicator while you create the new password. You do not have to use the suggestion, but it can help you choose a stronger password.
A long passphrase made from several unrelated words can be easier to remember than a short password with predictable substitutions. Do not use a phrase that other people can easily associate with you.
Change Your Login Password in System Preferences
Older versions of macOS use System Preferences instead of System Settings.
- Click the Apple menu.
- Choose System Preferences.
- Click Users & Groups.
- Select your user account in the sidebar.
- Click Change Password.
- Enter your current password.
- Type your new password in the New Password field.
- Type it again in the Verify field.
- Add a hint if you want one.
- Click Change Password.
If the controls are unavailable, look for a lock icon in the lower-left corner of the window. Click the lock, enter an administrator password, and try again. You may need administrator access to change another user’s password, but you can usually change your own password after authenticating with your current password.
What Happens After You Change the Password?
Your new password is used for actions that require your Mac login credentials, including:
- Signing in after restarting or logging out
- Unlocking the Mac after the screen is locked
- Approving some system changes
- Unlocking certain privacy and security settings
- Accessing information protected by your user account
Changing the login password does not automatically change:
- Your Apple Account password
- Your email password
- Your Wi-Fi network password
- Passwords for websites or apps
- The password for another user account on the Mac
You should also update any password manager entry that stored the old Mac password. If you use the old password as a recovery credential anywhere else, replace it there as well.
If Your Mac Does Not Accept the New Password
After changing the password, test it carefully at the next unlock or sign-in screen. Passwords are case-sensitive, so check the following:
- Caps Lock is not turned on accidentally.
- You are using the correct keyboard layout.
- You are entering the new password rather than the old one.
- You are not adding an extra space before or after the password.
- The Mac is using the expected user account.
If you are signed in and can still access the desktop, lock the screen by opening the Apple menu and choosing Lock Screen. Then enter the new password. This lets you test the password without restarting the Mac.
Do not repeatedly guess at the password if you are unsure. Confirm which account you selected and check whether another person changed the password.
If the Login Keychain Does Not Unlock
The login keychain is where macOS can store passwords and other protected information. Normally, changing your Mac login password keeps the login keychain synchronized.
In some situations, especially after a password reset rather than a normal password change, macOS may show a message that it cannot unlock the login keychain. You may be asked for the previous password.
If you remember the previous password:
- Enter it when macOS asks for the keychain password.
- Continue using the Mac normally.
- If prompted, follow the on-screen instructions to update the keychain.
If you do not remember the previous password, you may need to reset the default keychain. Warning: Resetting the login keychain can remove passwords and other saved items that were stored only in that keychain. Make sure you understand what may be lost before proceeding.
If the prompt continues, open Keychain Access from the Applications folder or by using Spotlight. Apple’s keychain tools and on-screen instructions can vary by macOS version, so follow the options shown on your Mac rather than deleting keychain files manually.
If You Forgot Your Current Login Password
You normally need the current password to change it from Users & Groups. If you forgot it, use the reset option at the login window or start macOS Recovery.
Try the login-window reset option
- At the login screen, enter a password several times.
- Look for a message or question-mark button offering password recovery.
- Select the available reset option.
- Follow the instructions to verify your identity.
- Create a new login password.
The available recovery method depends on how the Mac is configured. You may be asked to use your Apple Account, a recovery key, or another account-recovery option.
Reset the password in macOS Recovery
If the login window does not offer a reset option, start the Mac in macOS Recovery. The steps differ between Mac models, so use the method appropriate for your Mac:
- On a Mac with Apple silicon, shut down the Mac, then press and hold the power button until startup options appear. Choose Options and continue.
- On an Intel-based Mac, restart the Mac and immediately hold Command-R until the Apple logo or another startup screen appears.
After Recovery loads, use the available password-reset tools. In some versions of macOS, you can open the Utilities menu and choose Terminal, then use the password-reset utility provided by macOS.
Warning: Do not erase the Mac or reinstall macOS just to change a forgotten login password unless you have confirmed that no less destructive recovery option is available. Erasing the Mac can remove personal files and settings.
Change Another User’s Password
An administrator can usually change the password for another local user account.
- Open System Settings.
- Select Users & Groups.
- Click the Info button next to the user account.
- Choose the option to change or reset the password.
- Authenticate with an administrator password if requested.
- Create and confirm the new password.
On older versions of macOS, open System Preferences, choose Users & Groups, select the account, and click Reset Password or Change Password, depending on the available controls.
Changing another user’s password does not give you access to that person’s private files or automatically unlock their login keychain. The user may need to sign in and address a separate keychain prompt.
Troubleshooting
“Change Password” is missing
Make sure you selected your own account and opened the account details. On some versions of macOS, the control appears after clicking the Info button rather than directly in the user list.
If the Mac belongs to an organization, an administrator may control password changes. Contact the organization’s support team if the setting is unavailable.
The old password is rejected
Check your keyboard layout and Caps Lock status. If you recently changed the password, make sure you are not using a password for a different Mac user account or your Apple Account.
If you truly do not remember the old password, stop guessing and use the password-recovery process instead.
The new password is rejected
The password may not meet a requirement set by macOS or by an organization. Try a longer password with a combination of words, numbers, and symbols. Do not reuse a password from another account.
You cannot unlock the Mac with Touch ID
Touch ID cannot replace the login password in every situation. macOS may require the password after a restart, after a period of time, or after security-related changes. Enter the new password once, then try Touch ID again.
You changed the password but an app still asks for the old one
The app may have saved the old password separately, or it may be requesting a different credential. Check the app’s account settings and your password manager. Do not enter the old password repeatedly unless you know which account the prompt refers to.
The Mac is connected to a company or school account
An organization may require a minimum password length, expiration schedule, or additional sign-in method. The organization’s administrator may also control whether you can change the password locally. Follow the instructions provided by that organization.
Frequently Asked Questions
Is my Mac login password the same as my Apple Account password?
No. They are separate passwords. The Mac login password unlocks your local user account, while the Apple Account password is used for Apple services such as iCloud and the App Store.
Can I change my Mac password without knowing the old one?
Not through the normal Users & Groups settings. If you forgot the old password, use the password-reset option at the login window or macOS Recovery.
Will changing the password delete my files?
A normal password change does not delete your personal files. However, a password reset can sometimes create a keychain problem, and erasing the Mac during recovery will delete its contents. Avoid erasing the Mac unless it is a deliberate last resort and you have a backup.
How often should I change my Mac login password?
Change it when you believe it has been exposed, when someone who should not know it may have learned it, or when required by an organization. A unique, strong password is more important than changing it on an arbitrary schedule.
Can I remove the password from my Mac?
You may be able to configure automatic login on some Macs, but removing password protection reduces security and may be restricted. It is not recommended for a portable Mac or a computer used by more than one person.
Why does macOS ask for my password after I change it?
macOS may request the password to verify the change, unlock protected settings, update the login keychain, or complete a sign-in after restarting. Enter the new Mac login password unless the prompt clearly identifies another account.
Final Thoughts
You can change your Mac login password from Users & Groups in System Settings or System Preferences. Use a unique password, confirm that you can unlock the Mac with it, and keep the password separate from your Apple Account password. If you forgot the current password, use Apple’s built-in recovery options rather than repeatedly guessing or erasing the Mac.