Best for · Password managers

How does LastPass work? The vault, the encryption and what happens when you log in

We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.

Verdict Our pick

The bar guide has a call.

The vectaai bar guide pointing at the verdict
  • LastPass keeps all your logins in one encrypted vault that only your master password can open.

Compared here

  • 01Master password and key derivation
  • 02Encrypted vault and sync
  • 03Autofill and password generator
  • 04Multifactor authentication
  • 05Account recovery and emergency access

Short answer

LastPass keeps all your logins in one encrypted vault that only your master password can open. When you sign in, your device turns your master password into an encryption key (PBKDF2-SHA256, 600,000 rounds, per LastPass), encrypts your data with AES-256 on the device, and sends only the scrambled result to LastPass's servers. When you log in elsewhere, the encrypted vault comes back down and is decrypted on that device. LastPass says it never stores your master password.

On top of that sit the parts you actually see: a browser extension and apps that save and autofill passwords, a password generator, sharing, dark web alerts and emergency access. The free plan works on one device type only (computer or phone); paid plans sync everything. Below: each step in plain words, what LastPass can and cannot see, how recovery works if you forget the password, and what the 2022 breach tells you about the design.

See LastPass plansCompare: Bitwarden free

Sponsored links. We may earn a commission; it never changes the pick.

At a glance

From LastPass's how-it-works, zero-knowledge, is-LastPass-secure and pricing pages, plus its blog, read 4 December 2026.
PartWhat happensWhere
Master passwordTurned into an encryption key with PBKDF2-SHA256, 600,000 iterations, saltedOn your device
Login checkOne more hash makes an authentication value LastPass comparesHash stored on LastPass servers
Vault dataEncrypted with AES-256 before uploadEncrypted copy on LastPass servers
Website URLsNow encrypted too; LastPass says URL encryption Phase 2 finished in September 2025Inside the encrypted vault
SyncA change on one device syncs to the othersPaid plans; Free limited to one device type
AutofillBrowser extension and apps fill saved loginsChrome, Firefox, Safari, Android, iPhone, iPad
Forgot master passwordLastPass cannot reset it; only account recovery you set up earlierMobile biometrics, browser recovery password, SMS

Money talk first. Links to LastPass and Bitwarden here go through our /go/ redirects; we may earn from some of them later. We are not here to sell you LastPass. This page explains how it works, using LastPass's own how it works page, its zero-knowledge page and its blog, read on 4 December 2026. We did not take the apps apart in a lab.

LastPass in one paragraph

LastPass is a password manager: one locked box for every login you have. You remember one strong password, the master password. LastPass remembers everything else, fills it into websites and apps for you, and syncs the box between your devices. The box is encrypted on your own device, so what LastPass stores is scrambled data it says it cannot read.

That is the whole idea. The rest is how each part works.

Step 1: your master password becomes a key

When you create an account or log in, the LastPass extension or app takes your email and master password and runs them through a function called PBKDF2-SHA256 with 600,000 iterations, plus a salt that differs for every user. LastPass states those numbers on its zero-knowledge and is-LastPass-secure pages.

In plain words: it stirs your password 600,000 times to make an encryption key. Doing that once takes your device a moment. Doing it billions of times to guess passwords takes an attacker much longer. That slowness is the point.

The key never leaves your device. LastPass says your master password "is never stored on our servers".

Step 2: logging in without sending the password

LastPass still needs to check that it is really you. So the app does one more round of hashing on the key to make an authentication hash. That hash goes to LastPass, which compares it to the one it stored when you created the account. Match, you are in.

Because the hash is one step further down the chain, LastPass can confirm you know the password without knowing the password itself.

Step 3: the vault is encrypted before it leaves

Every login, secure note, card and address you save goes into your vault. LastPass says vault data is encrypted with AES-256 on your device, then sent to its servers "in an already encrypted state", and "it is never stored in its plaintext form".

What used to be the weak spot: website URLs. In 2022 they were stored unencrypted, which mattered in the breach (below). LastPass's URL encryption post says it began encrypting URLs in 2024 and that "As of September 2025, Phase 2 of the LastPass initiative to encrypt URL and URL related fields is now complete", covering URL rules, equivalent domains and never-URL lists too.

Step 4: sync and decrypt on the other device

Log in on your phone and LastPass sends the encrypted vault down. Your phone makes the same key from your master password and decrypts it locally. Save or change a password on one device and "it is synchronized across all of them", per the how-it-works page.

One catch: on the free plan that only works within one device type. LastPass's pricing page says Free is "limited to 1 device type": computers or mobile, not both. To use it on a laptop and a phone you need Premium or Families.

Step 5: autofill, the bit you actually see

All of that runs in the background. What you notice is the browser extension and the apps:

  • Save: you log in to a site, LastPass offers to save the login.
  • Fill: next time, it fills the username and password for you.
  • Generate: it creates long random passwords for new accounts.
  • Passkeys: LastPass says it can create, store and manage passkeys.
  • Security dashboard: flags weak and reused passwords and dark web alerts.

The features page lists autofill for Chrome, Firefox, Safari, Android, iPhone and iPad. Sharing and emergency access are there too, with limits on the free plan.

Step 6: two-factor on top

A stolen master password alone should not be enough. LastPass supports multifactor authentication: authenticator apps, its own LastPass Authenticator and hardware options on paid plans. Turn it on in Account Settings. Our LastPass two-factor guide walks through each method.

What LastPass can and cannot see

LastPass hasLastPass says it does not have
Your email address and account detailsYour master password
An authentication hashYour encryption key
Your encrypted vaultYour passwords in plain text
Billing details if you payYour notes and cards in plain text

This is what "zero knowledge" means. It is the same basic design Bitwarden and 1Password use. The design is not the difference between them; the track record and the extras are.

What happens if you forget your master password

Because LastPass does not have your password, it cannot just reset it. Its account recovery guide says "The only way to reset your LastPass master password is to go through the account recovery process." Options:

  • Mobile biometric recovery. In the LastPass app, with Face ID or fingerprint. You must enable biometrics and opt in before you forget.
  • Browser recovery password. The extension creates and stores a one-time recovery password when you log in. LastPass emails a link that uses it. Cleaning tools can delete it, so LastPass suggests whitelisting its files.
  • SMS recovery. If you set it up earlier, you get a code by text.
  • Emergency access. Not recovery as such, but a trusted contact can get into your vault if you cannot.

Set up at least two of these today. Business users can also ask their admin, depending on company policy.

What the 2022 breach tells you about the design

The design was tested for real. LastPass's incident notice says that in 2022 an attacker first took source code through one compromised developer account, then used what they learned to reach cloud storage and copy backups, including:

  • Names, email addresses, billing addresses, phone numbers and IP addresses.
  • A backup of customer vaults. Usernames, passwords, secure notes and form data were encrypted with AES-256. Website URLs were not.
  • LastPass said there was no evidence unencrypted credit card data was accessed.

What it shows: zero knowledge did its job. Nobody could simply read the passwords. But attackers left with the encrypted vaults and all the time in the world to guess master passwords offline. At the time, LastPass's default was 100,100 PBKDF2 iterations with a 12 character minimum; older accounts could have fewer. The unencrypted URLs also told attackers which sites each person used, useful for phishing.

So the honest lesson: the encryption works, and your protection is your master password. Long, unique and never reused, you are in good shape. Short or reused, change it and the important passwords inside.

Is it safe now?

LastPass says it has since raised iterations to 600,000, encrypted URLs, and lists SOC 2 Type II, ISO 27001, SOC 3 and BSI C5 on its security page. It also says "After a security incident in December 2022, the company has invested heavily in improving its systems and processes."

If you stay, do three things:

  1. Use a long master password you use nowhere else.
  2. Check your iteration count in account settings; older accounts may be lower.
  3. Turn on multifactor and set up account recovery.

Should you use LastPass?

It works the way a modern password manager should. The question is trust and price. Our LastPass review covers costs and the full incident history. If the free plan's one device type limit is the problem, Bitwarden's free plan covers every device. If you want nothing in anyone's cloud, see KeePass vs LastPass. And the LastPass alternatives page lines up the rest. If your company already pays for LastPass, you now know what it does with your data, and the three settings above are what make it safe.

Questions people ask

Can LastPass see my passwords?

Not by design. LastPass says your data is encrypted on your device before it reaches its servers and that your master password is never stored there. It keeps an encrypted vault and an authentication hash. Without your master password the vault is scrambled data. That is what LastPass means by zero knowledge.

What happens if LastPass gets hacked?

It happened in 2022. Attackers copied backups of customer vaults. Usernames, passwords and notes stayed encrypted, but website URLs then were not, along with names, emails and billing addresses. The encrypted part is only as safe as each user's master password, so a long unique one matters more than anything else you do.

Where does LastPass store my passwords?

On LastPass's servers, as an encrypted vault. LastPass says the data is encrypted and hashed on your device and sent to its servers in that form, never as plain text. When you log in, the encrypted data comes back and is decrypted on your device.

What if I forget my LastPass master password?

LastPass cannot reset it for you. Its blog says the only way is account recovery you set up in advance: biometrics in the mobile app, a one-time recovery password stored by the browser extension, or SMS recovery. If none of those were set up, you may have to start a new vault, so set one up today.

Does LastPass work offline?

The LastPass pages we read on 4 December 2026 do not describe offline access, so we will not promise it. What they do say is that decryption happens on your device, which is what makes local access possible in principle. Test it on your own phone and laptop in airplane mode before you depend on it on a trip.

Is LastPass free?

There is a free plan with unlimited passwords and autofill, but it works on one device type only: computer or mobile, not both. Premium and Families add every device, with a 30-day trial. On 4 December 2026 the pricing page did not render their prices; only Plus showed $42 at 50% off, billed annually.

Sources

Every fact above comes from these pages. Prices change, so each one carries the date we read it.

  1. LastPass: How LastPass works, checked 4 Dec 2026
  2. LastPass: Zero-knowledge security, checked 4 Dec 2026
  3. LastPass: Is LastPass secure?, checked 4 Dec 2026
  4. LastPass features, checked 4 Dec 2026
  5. LastPass pricing, checked 4 Dec 2026
  6. LastPass blog: LastPass is encrypting URLs, checked 4 Dec 2026
  7. LastPass blog: Guide to account recovery, checked 4 Dec 2026
  8. LastPass blog: Notice of recent security incident, checked 4 Dec 2026