Skip to content
Cyber Security Firms

What Is a Password Manager? How It Works and the Catch

A password manager is an encrypted vault that invents a different password for every account and types it for you. The reason to use one is arithmetic, and the reasons not to are worth hearing before you commit.

Beginner20 min readUpdated
What Is a Password Manager? How It Works and the Catch

Count your accounts. Email, banking, a phone carrier, an electricity provider, three streaming services, a pharmacy, an airline, a dozen shops that made you register to buy one thing. The list runs longer than anyone expects. Nobody memorizes a different sixteen-character string for every entry on it, which means everyone is doing one of two things: reusing a handful of passwords across everything, or writing them somewhere. A password manager is the tool that makes the third option possible, and the interesting part of the question is not whether it works but what it costs you when it goes wrong.

What Is a Password Manager?

A password manager is a program that holds your login credentials in an encrypted file, called a vault, and hands them back to you when a site asks. CISA describes it in one line as an easy-to-use program that generates, stores and even fills in all your passwords, which is the whole product in thirteen words.

The vault holds more than passwords. Usernames, payment card numbers, addresses, software license keys, passport numbers, the answers to security questions, and free-form secure notes all live in the same encrypted file. The security answers matter more than people expect: your mother's maiden name and the street you grew up on are public records, and treating those fields as extra passwords with random values is one of the quiet upgrades a manager makes possible.

What separates a manager from a list is that it does three jobs at once, and the third is the one people underrate.

  • It invents the password, so the password is random rather than a variation on something you already use.
  • It remembers the password, so length costs you nothing. A forty-character password is exactly as convenient as a six-character one.
  • It decides whether to offer the password, by checking the domain of the page in front of it. A list does not do this, and it is the difference between a filing cabinet and a defense.

That third job is what makes a manager useful against credential stuffing, where attackers take the username and password pairs from one breached site and replay them at scale against every other site. The attack only works on people who reused the password. A manager makes reuse impossible by making it unnecessary.

How Does a Password Manager Work?

The mechanism is simpler than the marketing suggests, and understanding it tells you exactly what a company running a password manager can and cannot see.

Your master password never leaves your device. Instead, the software runs it through a key derivation function, a deliberately slow calculation that turns a typed phrase into an encryption key and takes long enough that guessing millions of candidates becomes expensive. That key encrypts the vault, using AES-256 encryption in every mainstream product. Only the encrypted result is uploaded. This is what the industry calls zero knowledge, and it is a statement about architecture rather than a promise about staff behavior: the company cannot read your vault because it never receives the key, not because it has agreed not to look.

What stands between an attacker and your passwords
Multi-factor authenticationA second proof required before a new device can pull the vault down
Your master passwordTyped only on your device, never transmitted or stored by the provider
Key derivationA slow calculation that turns the phrase into a key and makes guessing expensive
AES-256 encryptionApplied on the device before anything syncs
Your passwords
Only the encrypted result of the innermost layer travels to the company's servers. The master password and the key derived from it exist solely on your device, which is why a server breach and a vault compromise are different events.

The part you actually feel is autofill. When you land on a login page, the extension compares the page's domain against the domain recorded with each entry. A match means it offers to fill. No match means it stays quiet, and that silence is a security feature rather than a bug.

What happens when you sign in
YouPassword managerWebsiteUnlock with the master password or a fingerprintVault decrypted in memory on this deviceOpen the bank login pageDomain matches the saved entry, credentials filledOpen a look-alike page from an email linkNo domain match, nothing offered
The last two rows are the point. A manager that refuses to fill is telling you the address bar does not say what you think it says.

Read those last two rows twice. A person can be fooled by a login page that copies a bank's design pixel for pixel; a domain comparison cannot. When the manager will not fill on a page you expected it to fill, treat that as an alarm rather than a glitch, because a phishing page is the most common reason for it.

Syncing works the same way. The encrypted blob moves between your phone, laptop and tablet through the provider's servers, and each device decrypts it locally with the key derived from the master password you typed there. The provider is a courier carrying a sealed box.

Types of Password Managers

Three categories cover almost everything on the market, and they differ on one axis that matters more than features: where the vault lives and who can lose it.

Browser built-inStandalone cloudLocal vault
Where the vault livesYour browser or platform accountThe provider's servers, encryptedA file on your own devices
Who holds the decryption keyYou, tied to the browser or device accountYou, derived from a master passwordYou, derived from a master password
Works outside its own browserPoorly or not at allEverywhere, including appsWherever you put the file
Sharing with family or a teamLimitedBuilt inManual
If you lose the master secretUsually recoverable through the accountUsually unrecoverable by designUnrecoverable
Breach alerts and reuse auditsBasicStandardRare, or an add-on
CostFreeFree tier or a paid subscriptionFree, open source in most cases

Browser built-in managers ship with Chrome, Safari, Edge and Firefox, and with the operating system on iPhones and Macs. They are free, already installed, and vastly better than reuse. Their limits are structural rather than a matter of quality: the vault is tied to that browser or that platform, so a person who uses Safari on a phone and Chrome on a work laptop has two half-populated vaults, and the credentials are recoverable through whoever controls the browser account. The FTC treats them as a legitimate option and notes plainly that a web browser, mobile browser, and password manager all can save your passwords.

Standalone cloud managers are the category most people mean by the term. They run as a browser extension plus a mobile and desktop app, cover every browser and every native app, and add the features that turn a vault into hygiene: reuse audits, breach alerts, secure sharing, emergency access for a partner or executor. The trade is that a company you do not control holds the encrypted file, and that company is a target.

Local vaults keep an encrypted file on your own machine and let you decide whether it ever syncs, usually through a service you already pay for. This is the choice for people who would rather manage their own backups than trust anyone's servers, and it is a real choice rather than a fringe one. The cost is that recovery, syncing and family sharing all become your job.

Compare
Browser built-in
Free, already there, no setup, and it will generate and fill passwords competently within its own browser. It is the right answer for anyone who will not install anything else, and it beats a reused password by a wide margin. It falls down when you use more than one browser, when you need a password inside an app rather than a web page, and when you want to see which of your passwords are reused or already in a breach.
Standalone manager
Works in every browser and every app, syncs across platforms, and reports on the health of the whole collection rather than storing entries silently. It costs money above a free tier, needs twenty minutes of setup, and makes you responsible for a master password nobody can reset. It also gives you one place to look when a site is breached and you need to know whether that password went anywhere else.

A fourth arrangement is worth naming because it is the same product wearing a suit. A business password manager is a standalone cloud manager with an administrative layer on top: accounts provisioned through the company's identity provider, policy enforced centrally, shared credentials issued to a team rather than a person, and reporting on password health in aggregate. The vault itself works identically, and a properly built one keeps the administrator out of individual vaults.

What Is the Downside of Using a Password Manager?

The honest answer is that there are six, they are real, and none of them is the one people usually raise.

You create a single point of failure. Every account you own now depends on one secret and one piece of software. That concentration is genuine. What makes it acceptable is that the alternative also has a single point of failure, it is just distributed badly: the password you reused is a single point of failure across every site you used it on, with no encryption, no audit and no alert when it leaks.

Losing the master password can be permanent. This is the cost nobody mentions in the sales copy. Zero knowledge architecture means the provider genuinely cannot reset your password, because it never had the key. LastPass states the position bluntly in its own incident disclosure: the master password is never known to LastPass and is not stored or maintained by LastPass. The mitigations are a written recovery kit stored offline and an emergency access contact, and both need setting up on day one rather than the day you need them.

The vault is a target, and vaults have been breached. In 2022 an attacker copied a backup of LastPass customer vault data. The company's own account of what was in it is the useful part: website URLs were stored unencrypted, while usernames, passwords, secure notes and form-filled data remained under 256-bit AES and could only be decrypted with a key derived from each customer's master password. Practically, that meant attackers learned which sites each customer used, and could then run offline guessing attacks against the encrypted portion at their leisure. Customers with short or reused master passwords were exposed. Customers with long random ones were not. The architecture held; the weakest master passwords did not.

Autofill is a surface of its own. Researchers have repeatedly found ways to trick browser extensions into filling credentials into hidden fields, into pages loaded inside a frame, or into a subdomain that the entry's domain rule matched too loosely. Vendors fix these as they surface, and the class of bug has not disappeared. Turning off automatic filling and requiring a click, or a fingerprint, before anything is entered removes most of it at a small cost in convenience.

An unlocked device is an unlocked vault. A manager protects a file at rest. It does nothing about malware that waits until you have typed the master password and then reads the decrypted contents out of memory, and infostealer malware is built to do exactly that. Short auto-lock timers, a patched machine and not installing software from search ads are what cover this, not the vault.

Migration is real work. Moving between managers means exporting a plaintext file, importing it, then making sure the plaintext file is genuinely deleted rather than sitting in a downloads folder. It is a twenty-minute job done carefully and a disaster done casually.

A small closed wooden drawer with a keyhole, seen straight on against a plain background

Where Is the Safest Place to Keep Passwords?

In a dedicated encrypted manager, with the master password in your head and a written copy of the master password and recovery codes in a locked drawer at home. That combination covers both failure modes: an attacker who gets the file cannot read it, and a person who forgets the phrase is not locked out forever.

Ranked, from best to worst:

WhereVerdictWhy
Standalone password managerBestEncrypted on your device, unique password per site, refuses to fill on the wrong domain, tells you what is reused or breached
Browser or platform built-in managerGoodSame encryption and generation, weaker reach across browsers and apps, recoverable through the platform account
Paper in a locked drawer at homeGood, for two items onlyThe right home for the master password and the recovery codes. Immune to malware, useless to a remote attacker, and terrible for daily use
Your memoryGood for three or fourYou need the master password and the device unlock codes memorized. Everything beyond that leads to reuse
A notes app or a documentBadSynced in plaintext to a cloud account, readable by anything that gets into that account, and included in the account's own backups
A spreadsheet, even one with a password on itBadOffice file passwords are weak, the file gets emailed, and copies multiply
An email draft or a message to yourselfWorstEmail is the account attackers target first, and everything in it is readable the moment they are in
A sticky note on the monitorBad at work, fine at homeThe threat model is who walks past your desk. In a shared office it is a giveaway. Alone at home it beats reusing one password everywhere

Two clarifications, because the popular advice on both is dated.

Paper is not a joke. Written credentials cannot be read by malware or by anyone who is not standing in your house, which makes a locked drawer the correct storage for the two secrets that must never be lost and are never typed by an attacker's script. It is a bad system for two hundred logins and an excellent one for two.

And no site should be blocking you from using a manager. Federal guidance now says so explicitly: NIST SP 800-63B requires that verifiers SHALL allow the use of password managers and autofill functionality, and should permit pasting into password fields to make password managers easier to use. The same section sets a fifteen-character minimum for passwords used on their own, bans composition rules about mixtures of character types, and bans forced periodic changes. A site that blocks paste, caps you at twelve characters or demands a reset every ninety days is not following the standard it probably thinks it is following.

Are Password Managers Safe to Use?

Safer than the alternative by a margin that is not close, which is a more useful answer than yes.

Compare the two failure cases honestly. If a well-built manager is breached, attackers get a file encrypted with a key derived from a phrase the company never held, plus whatever metadata that product stored in the clear. They then have to guess each customer's master password offline, one customer at a time, and a long random passphrase makes that uneconomic. If you reuse one password and any site you used it on is breached, attackers get the working password immediately and try it everywhere within hours, at no cost.

Myth vs reality
What people believe
Putting every password in one place means one break-in loses everything, so it is safer to spread the risk.
What actually happens
The risk is already concentrated, just badly. A reused password is one secret protecting every account, stored in plaintext on every site you gave it to, with no encryption and no way to know when it leaks. A vault moves that same concentration behind encryption you control, and turns one break-in from a certainty at whichever site is worst-run into a hard offline attack against your master password.

The residual risks are worth naming rather than dismissing. A manager does not stop a one-time code being phished from you in real time, it does not clean malware off a machine, and it does nothing about a breach at a company where your password was never the weak point. The 2026 Verizon Data Breach Investigations Report recorded the first year in nineteen where stolen credentials were not the top way into a breach, overtaken by the exploitation of unpatched software at 31 percent of cases. Passwords are one door among several, and a vault only guards that one.

One habit worth adding. Checking whether a password has already appeared in a breach does not require handing it over: Have I Been Pwned's Pwned Passwords service hashes the password on your device and sends only the first five characters of the hash, so the password itself never leaves the machine. Most managers run this check for you against every entry in the vault.

How to Set Up a Password Manager

An evening, once, and then it maintains itself.

Do You Need a Password Manager?

Password Managers for Business

For a company, the reason to buy one is rarely the encryption. It is offboarding.

When someone leaves, a business password manager lets you revoke their access to every shared credential from one console, and see which credentials they had. Without it, the honest position after a departure is that nobody knows which passwords that person memorized, saved in a personal browser profile, or kept in a spreadsheet, and the only safe response is rotating everything by hand. That is the cost the product removes.

The other three jobs it does: it enforces policy without anyone auditing individual behavior, since minimum length and required second factors are set centrally; it gives shared credentials an owner, so the marketing team's social accounts are issued to a group rather than to whoever set them up; and it produces an aggregate view of password health that tells you where the reuse is without exposing anyone's vault.

What it does not do is cover the accounts nobody told you about. Shadow accounts on services bought with a personal card sit outside every console, and the manager only knows what is in it.

Key takeaways

  • A password manager generates, stores and fills a different random password for every account, unlocked by one master password.
  • The vault is encrypted on your device before it syncs, so the provider holds a sealed file rather than your passwords.
  • Refusing to autofill on a look-alike domain is the security property that matters most, and it is the one a written list cannot offer.
  • The three categories are browser built-in, standalone cloud and local vault. They differ mainly on reach, recovery and who can lose the file.
  • The real downsides are a forgotten master password being permanent, the vault being a target, autofill bugs and an unlocked device. None of them outweighs password reuse.
  • The 2022 LastPass incident is the case study: the encryption held, and the customers with weak master passwords were the ones exposed.
  • The safest arrangement is a dedicated manager, a long unique master passphrase, a second factor on the vault, and the recovery kit on paper in a locked drawer.

Common questions

What is the downside of using a password manager?

Four of the six above land on an individual: a forgotten master password that no provider can reset, a vault worth stealing, autofill bugs, and malware on a device you have already unlocked. The first is the one people are least prepared for, because it has no support path and no appeal, only the recovery kit you either wrote down on day one or did not.

Where is the safest place to keep passwords?

In a manager, with the master password and the recovery codes on paper in a locked drawer as the backup for it. The common alternatives are the problem: notes apps, spreadsheets and emails to yourself all hold passwords in plaintext inside accounts an attacker reaches first, and the email draft is the worst of the three, because email is the reset path for everything else you own.

Where do I find my password manager?

If you use a standalone one, it is the app on your phone and the extension icon in your browser toolbar. If you use the built-in one, Google puts Chrome's under the three-dot menu, then Passwords and autofill, then Google Password Manager, and Microsoft puts Edge's under Settings, then Passwords and autofill, then Microsoft Password Manager. Apple moved its own out of Safari entirely: starting with iOS 18, iPadOS 18 and macOS Sequoia it is a separate Passwords app.

What is an example of a password manager?

They fall into three groups rather than a ranked list. Browser and platform built-ins are the ones already on your device, in Chrome, Safari, Edge, Firefox and the iPhone and Mac keychain. Standalone cloud managers are the subscription products that work across every browser and app. Local vaults are open source tools that keep an encrypted file you sync yourself. Pick the category that fits how you work, then read a current independent review for the product.

Are password managers safe to use?

Yes, with two conditions that do most of the work. The master password has to be long and unique, because it is the only thing standing between a stolen vault and its contents. And the vault needs a second factor, so a master password that is guessed or stolen cannot pull the file down onto a new device on its own. Set up that way, a manager is safer than any arrangement you would use instead. Set up with a reused master password and no second factor, it is not.

What happens if I forget my master password?

With most standalone managers, nothing can be done and you rebuild the vault from scratch by resetting each account individually. That is a consequence of the encryption rather than a support failure. Some products offer a recovery code, an account recovery contact or biometric recovery on a device that is still logged in, which is why setting one up on day one matters.

Is a browser password manager good enough?

It is much better than reuse and adequate for someone who lives in one browser. Its limits are that the vault does not travel between browsers or into native apps, that it is recoverable by whoever controls the browser account, and that it usually will not tell you which of your passwords are reused or already in a breach.

Can a password manager be hacked?

The company can be, and has been. What that yields depends on the architecture: if the vault is encrypted with a key derived from a master password the provider never holds, an attacker leaves with a file rather than your passwords. The realistic path to your specific vault is malware on an unlocked device or a master password weak enough to guess offline, not the encryption failing.

Do I still need two-factor authentication if I use a password manager?

Yes, and on the vault first. A manager makes each password unique and unguessable. Two-factor authentication makes a password that leaks anyway insufficient on its own. They cover different failures, and a stolen master password with no second factor on the vault is the worst outcome available.

Are free password managers good enough?

For one person on one platform, usually. Free tiers vary more than the marketing suggests: some include unlimited passwords, generation and sync across every device, others restrict sync to one device type, and some products have no free tier at all, so the tier is worth reading before the product. Paid tiers mostly add sharing, emergency access, extra storage and breach monitoring. The thing worth paying for, if anything, is family sharing, because it is what gets the rest of the household off reused passwords.

Should I let my password manager store my credit card numbers?

Yes, on the same reasoning as passwords. The card number is encrypted in the same vault, filling it from the manager avoids typing it on a shared machine, and having it in one place makes replacing a compromised card across your accounts a short job instead of an archaeology project.

On this page
Reviewed by

Daniel Reyes

  • CISSP
  • 12 years in security operations
  • Austin, TX

Daniel Reyes is a CISSP who spent twelve years in security operations, most recently leading a detection and response team for a mid-sized healthcare group in Texas. He reviews every resource and breach report on Cyber Security Firms for technical accuracy before it publishes.

Most of the people he has trained arrived having been told too much: a dozen acronyms, six vendors, and no clear idea which risk was theirs. His approach is to explain what an attack actually does before naming the tool that stops it, on the basis that most breaches start with something a reader could have recognised.

Read the full bio and how we research →