Skip to content
← All articles
Account and Device Security

How password managers work

Understand how a password manager stores and fills in passwords, how its master password and recovery options work, and which features to check before you choose one.

A smiling bearded man in a red t-shirt hanging a key on a wooden wall rack in his home entryway.

A password manager is an application that stores your login details in an encrypted vault and fills them in for you when you visit a site or open an app. Instead of remembering dozens of unique passwords, you remember one strong master password that unlocks the vault. The manager can also generate long random passwords, warn you about weak or reused ones and keep track of one-time codes for two-factor authentication. For most people, using a password manager is the simplest way to follow the advice to use a different password for every account.

The idea is straightforward, but the details matter. How the vault is encrypted, how it is unlocked and what happens if you forget your master password all affect your security and convenience. Understanding these basics helps you judge a product on its design rather than on its marketing.

What the vault stores and how it is protected

The vault holds entries that typically include a website or app name, a username, a password, notes and sometimes files or payment details. When you add an entry, the manager encrypts it on your device before it is saved. In most designs, the encryption key is derived from your master password, so the data in the vault cannot be read without it. Many providers describe this as end-to-end or zero-knowledge encryption, which means that the company is designed so it cannot read your vault contents. Check whether an independent security firm has audited the product, and read how the provider describes its design rather than relying on a general claim.

If the vault is synced across devices, the encrypted copy travels through the provider's servers and is decrypted only on your devices. The sync process is what allows you to use the same vault on a phone and a computer. Local-only managers avoid this synchronization, but they require you to handle backups yourself. Neither approach is automatically better. The right choice depends on how many devices you use and how comfortable you are managing backups.

How autofill works and why it helps

Autofill is the feature that makes a password manager useful day to day. When you visit a site, the manager matches the address to the entries you saved and offers to fill in the username and password. This matching has a security benefit. A manager generally offers credentials only for the exact site where they were saved, so if you land on a lookalike domain, it will not fill the password automatically. The absence of a suggested login can be a warning sign that the page is not the one you expected.

Autofill does not replace careful checking. If a page looks correct but the manager offers nothing, pause and check the address. Also be aware that autofill works best when you use the official app or the address you typed yourself, not links sent in unexpected messages.

Here is a quick explainer of the typical flow:

  • You save a login once, or the manager captures it when you create an account.
  • The manager stores the entry encrypted and syncs the vault if you turned that on.
  • When you return to the site, the manager matches the address and offers the saved login.
  • You open the vault with your master password or a device check, then the fields are filled.

Master passwords and recovery options

The master password is the one secret that protects everything in the vault, so it should be long, unique and memorable. A passphrase of several unrelated words works well. Do not reuse it anywhere else, and do not store it in plain text on your device. Many managers use a device unlock, such as a fingerprint or face recognition, to make everyday access faster, but the master password remains the fallback.

Recovery is the most important design choice to understand before you commit to a manager. Some providers cannot restore a vault if you forget the master password, because their design does not give them access to the data. Others offer recovery through a recovery key, a trusted contact or an account reset that is protected by additional checks. Each option involves a trade-off between convenience and the risk of losing access. Write down the recovery arrangement, store it securely and confirm how it works before you need it.

Features to look for

When you compare password managers, a short checklist helps you focus on what matters:

  • Strong encryption described clearly, with the design of the vault explained in plain language.
  • An independent security audit that you can look up, and a record of how the provider handled past incidents.
  • Autofill that matches only the correct site and warns about lookalike domains.
  • A random password generator with adjustable length and character options.
  • Breach monitoring that alerts you when a saved password appears in a known leak.
  • Two-factor support for the manager itself, and the ability to store one-time codes if you want that convenience.
  • Clear recovery options and an export feature so you can leave the service without losing your data.
  • Support for the devices and browsers you use, with a clear policy on data storage and sharing.

Pricing, free plans and business features vary, and terms can change, so confirm the current details on the provider's website before you buy. If you handle passwords for a workplace or family, check whether the manager offers sharing and access controls for groups, and ask whoever manages your organization's accounts how it approves tools for shared credentials.