Learn how passwords are used on Mac
macOS is designed to give you a safe and secure computing environment. The security of your Mac depends a great deal on using secure passwords in key areas.
A login password, also called a user password, allows you to log in and access the information on your Mac. When you create your login password, make sure it’s easily memorable, write it down and keep it in a secure location. Privileges are limited by the type of user. An administrator user is required to perform many important tasks, such as setting certain system settings, installing software and administering standard users. See Set up users, guests and groups.
An Apple ID gives you access to the iTunes Store, the App Store, Apple Books, iCloud, FaceTime and other Apple services. It consists of an email address (for example, Sun.Soph@icloud.com) and a password. Apple recommends you use the same Apple ID for all Apple services. When you create your Apple ID password, make sure it’s easily memorable, write it down and keep it in a secure location. If you can’t remember your Apple ID password, see If you forget your Apple ID or password.
You can also use your Apple ID to reset your login password if you forget it. Sign in to your Apple ID account page.
Passwords in iCloud Keychain
Keeping track of passwords is hard, especially if you follow the best practice of never using the same password twice and have multiple devices. iCloud Keychain keeps website and Wi-Fi passwords up to date across your Mac, iPhone, iPad and iPod touch. It also keeps account passwords and settings that you add to Internet Accounts settings up to date on your Mac.
When you need to create a new password for a website, Safari suggests a unique, hard-to-guess password and saves it in your iCloud Keychain. Safari fills it in automatically the next time you need to sign in, so you don’t have to remember it or enter it on any of your devices. It’s recommended that you use the suggested strong password presented by Safari when creating passwords for websites and internet apps. See Use iCloud Keychain to keep information secure.
If you don’t use a suggested strong password and need help with a password for a website later, see the website’s help or the account information on the website.
If you need help with a password for an app that connects to an account on the internet or a network, see the documentation that came with the app, or online information that supports the app. For example, if you have a mail account with a service provider or website, see the documentation on the website or contact the provider. See the Apple Support article If Mail on your Mac keeps asking for your password.
Passwords in Keychain Access
Keychain Access stores passwords for various apps and services. This saves you the effort of entering your password for each of the items in your keychain. A keychain password secures your keychain, which is unlocked when you log in. See About your keychain password.
When you encrypt the information on your Mac using FileVault, you can create a recovery key. If you forget your login password, you can use the recovery key to unlock your startup disk and change the login password. The recovery key should not be stored in the same location as the Mac, where it can be discovered.