Online Safety Habits

How Password Managers Work

Understand how a password manager creates, stores and fills unique logins from one encrypted vault, and what to consider before choosing one.

On this page
  1. The problem it solves
  2. The vault and the master password
  3. Creating and filling logins
  4. Syncing across devices
  5. Built-in options and standalone tools
  6. Common concerns
  7. Getting started

The problem it solves

Every account needs a password, and the safest approach is a different, long, unpredictable one for each. Few people can memorize that many. So they reuse a favorite or make small variations, and that creates a weakness: when one site leaks its passwords, attackers try the same combinations elsewhere. A password manager exists to remove the memory problem so that good habits become practical.

The vault and the master password

At its core, a password manager is an encrypted container, often called a vault. Inside it are your saved logins: site names, usernames, passwords, and sometimes notes or payment details. The vault is locked with one secret that you remember, usually called the master password or passphrase.

The master password is not simply a gate in front of readable data. In well-designed managers, it is used to derive an encryption key, and that key encrypts the vault’s contents. The contents are scrambled using strong, widely studied methods and cannot be read without the key. Many services are built so the company storing your vault never sees the master password or the unencrypted data, which means a breach of their servers should expose only scrambled information. Designs vary, so it is worth reading how a particular product describes its approach.

Because the vault is protected by your master password, that password should be long and unique. A passphrase of several unrelated words is a common recommendation, since it is easier to remember than a jumble of symbols.

Creating and filling logins

When you sign up for a new account, the manager can generate a random password of the length you choose, using letters, numbers and symbols. You never need to read or type it. The manager saves it with the site’s address.

Later, when you visit the site, the manager can fill the username and password automatically. A helpful side effect is that it matches the saved entry to the exact web address. If you land on a look-alike page with a slightly different address, the manager typically will not offer to fill in the login, which can be an early hint that something is wrong. This does not make you immune to fake sites, but it is a useful extra signal. It works through your web browsers, using an extension or built-in feature.

Syncing across devices

Most managers keep an encrypted copy of the vault on a server and sync it to your phone, laptop and tablet. Updating a password on one device updates it on the others. Some products store the vault only on your own devices instead. That avoids a cloud service but puts syncing and backups in your hands.

Built-in options and standalone tools

Browsers and phone operating systems include their own password saving features, and these are a reasonable starting point for many people. Dedicated managers often add features such as sharing a login with family members, storing secure notes, checking for reused or weak passwords, and working across several browsers and platforms. Which fits best depends on the devices you use and how much you want to manage. No particular product is necessarily right for everyone, so look at independent security reviews and the provider’s documentation before deciding.

Common concerns

“Isn’t it risky to put everything in one place?” It is a fair question. A vault does concentrate your logins, so its protection matters. But the alternative for most people is reusing passwords or writing them where others can see them, which is typically more dangerous. A strong master password plus two-factor authentication on the manager account makes the single place a well-guarded one.

“What if I forget the master password?” In many designs, the provider cannot recover it, because it does not have it. Some offer recovery keys or trusted-contact options. Set these up at the start and store any recovery key somewhere safe and offline.

“What if the company is breached?” If the vault is encrypted with a key derived from your master password, stolen vault files should be difficult to open, especially with a strong master password. Incidents involving password managers have happened in the industry, which is a good reason to keep the master password strong and to change important passwords if a provider reports a serious problem.

“What about malware?” If a device is infected, software can sometimes capture what you type or what the manager fills in. Keeping software updates current and avoiding untrusted downloads helps.

Getting started

  1. Choose a manager and create a strong master passphrase that you do not use anywhere else.
  2. Turn on two-factor authentication for the manager account.
  3. Save your recovery information somewhere secure.
  4. Begin with your most important accounts, such as email and banking, replacing each password with a generated one.
  5. Over a few weeks, update the rest as you sign in.

You do not need to finish in a day. Each unique password you add is a small improvement, and over time the vault becomes the one thing you have to remember.

The complete guide to online safety habits

A Beginner Guide to Staying Safe Online
Read the guide

Keep exploring

Guides from other topics

All topics →