Change your iMac password through System Settings
To change your iMac password, open System Settings, go to General, then Users & Groups, and select your account. Click the lock icon to unlock the panel, enter your current password, then click "Change Password" and type your new password twice. The change takes effect when ready — you'll use the new password the next time you log in or wake your Mac from sleep.
This method works on any recent macOS version and requires you to know your current password. If you're sitting at your Mac right now and can log in, this is the fastest route. The entire process takes about two minutes.
Key Takeaways
- Open System Settings, navigate to General > Users & Groups, select your account, and click "Change Password" after unlocking the panel with your current password.
- Your new password takes effect when ready and you'll need it the next time you log in or your Mac wakes from sleep.
- If you forget your new password right after changing it, you can reset it using your Apple ID or a recovery key from the login screen.
- A strong password includes uppercase and lowercase letters, numbers, and symbols — at least 8 characters long.
- If you can't remember your current password, you'll need to use password reset options rather than the change method.
Step-by-step: changing your password while logged in
Start by clicking the Apple menu in the top-left corner of your screen, then select "System Settings" (or "System Preferences" on older Macs). In System Settings, click "General" in the left sidebar, then look for "Users & Groups" and click it.
You'll see a list of user accounts on the left side. Click your own account name to select it. Below your account details, you'll see a lock icon next to "Change Password" — click that lock icon first. Your Mac will ask you to enter your current password to unlock the panel. Type it in and click "Unlock."
Now the "Change Password" button becomes active. Click it. A window will open with two fields: one for your new password and one to confirm it. Type your new password in both fields — make sure they match exactly, because macOS won't let you proceed if they don't. Click "Change Password" to save it.
Why macOS asks you to enter your password twice
When you type a password into a field, the dots or asterisks hide what you've typed. This protects your password from someone looking over your shoulder, but it also means you can't see if you made a typo. Asking you to enter it twice catches mistakes — if the two entries don't match, you know one of them has an error and you can try again.
This is why it's worth typing slowly and carefully the first time. If you rush and make a mistake in both fields the same way, macOS won't catch it, and you'll discover the error when you try to log in next time.
Making your new password strong
A strong password is harder for someone to guess or crack. Use at least 8 characters and mix in uppercase letters, lowercase letters, numbers, and symbols like ! or @. For example, "BlueMoon#2024" is stronger than "password123" because it uses uppercase, lowercase, numbers, and a symbol.
Avoid using your name, your birth year, or dictionary words by themselves. Avoid repeating the same character (like "aaaa") or obvious patterns (like "1234"). If you use a password manager — a program that stores and generates strong passwords for you — you can create a truly random password and let the manager remember it for you.
What happens if you forget your new password right after changing it
If you change your password and then when ready forget it, you can reset it from the login screen without losing any files. At the login screen, click "Forgot password?" below the password field. macOS will offer you two reset options: using your Apple ID or using a recovery key.
If you set up a recovery key when you created your Apple ID, that's the fastest route — you'll enter the key and create a new password on the spot. If you don't have a recovery key, you can use your Apple ID password instead, though the process takes longer because Apple verifies your identity. Either way, your files stay on your Mac; only the login password changes.
Changing your password on a shared Mac
If multiple people use the same iMac, each person has their own account and their own password. When you change your password through System Settings, you're only changing the password for your account — other users' passwords stay the same. Each person logs in with their own credentials and can change their own password independently.
If you're the administrator on the Mac, you can also change other people's passwords from the Users & Groups panel, but they'll need to know the new password to log in. It's usually better to let each person change their own password so only they know it.
Frequently Asked Questions
Do I need to restart my Mac after changing my password?
No. The password change takes effect when ready. You'll use the new password the next time you log in or when your Mac wakes from sleep, but you don't need to restart. If you're already logged in, you can keep working right away.
Can I change my password if I don't remember the old one?
No, the change method requires your current password. If you've forgotten it, you'll need to use the "Forgot password?" option on the login screen instead, which lets you reset it using your Apple ID or recovery key. That's a different process than changing a password you remember.
What if the lock icon is grayed out and I can't click it?
The lock icon is grayed out if you're not logged in as an administrator. Ask whoever set up the Mac to unlock the Users & Groups panel for you, or log in to an administrator account first. On a personal Mac, your account should be an administrator by default.
Will changing my password affect my Apple ID or iCloud login?
No. Your iMac login password and your Apple ID password are separate. Changing one doesn't change the other. If you want to change your Apple ID password, you do that through your Apple ID account settings on Apple's website, not through System Settings on your Mac.
Can I use the same password I used before?
Technically yes, but it defeats the purpose of changing your password. If you're changing your password because you think someone else knows it, using the old password again leaves you at the same risk. Pick something new that only you know.