Cybersecurity 6 min read

Passkeys Explained: How They Work and Why They Beat Passwords

Passkeys replace passwords with a key pair that never leaves your device. Here is how they work, why phishing cannot steal them, and how to switch safely.

A
AsaanWeb Editorial Team
AsaanWeb Editorial

Passwords have two problems that no amount of "use a strong password" advice has fixed: people reuse them, and people type them into fake login pages. Passkeys fix both by removing the thing that gets stolen. There is no secret for you to remember, and nothing you could type into a phishing site even if you wanted to.

This guide explains what a passkey actually is, why it resists phishing, what happens if you lose your phone, and how to move your important accounts over without locking yourself out.

What a passkey actually is

A passkey is a pair of cryptographic keys created for one website or app:

  • A private key, stored on your device (or in your password manager) and never sent anywhere.
  • A public key, given to the website when you register.

When you sign in, the site sends a random challenge. Your device signs it with the private key, after you unlock it with your fingerprint, face or device PIN. The site checks the signature with the public key it already has. If it matches, you are in.

The important detail: the server only ever stores the public key. If that website is breached, attackers get a list of public keys, which are useless for logging in anywhere. Compare that with a password database, where a leak can expose credentials that people reused on their email and bank accounts.

Passkeys are built on open standards — FIDO2 and the W3C WebAuthn API — which is why the same passkey approach works across Apple, Google, Microsoft and independent password managers.

Why phishing can't steal a passkey

Phishing works because a human decides whether a login page is real, and humans are easy to fool. A page at rnicrosoft-login.com looks close enough at a glance.

A passkey is bound to the exact domain it was created for. Your browser will only offer the passkey for microsoft.com to microsoft.com. On a look-alike domain there is simply no passkey to use, so there is nothing to hand over. The check is done by software, not by your eyes.

That is the core reason security teams push passkeys: they remove the human judgement call from the most attacked step of logging in.

Passkeys vs passwords vs SMS codes

| | Password | Password + SMS code | Passkey | |---|---|---|---| | Can be reused across sites | Yes | Yes | No — unique per site | | Leaks in a server breach | Hash can be cracked | Hash can be cracked | Only a public key | | Phishing-resistant | No | No — codes can be relayed | Yes | | SIM-swap risk | — | Yes | No | | Something to remember | Yes | Yes | No |

SMS codes deserve a special mention for readers in Pakistan and the Gulf, where SIM-swap and "OTP-sharing" scams are common. A passkey has no code to read out over the phone, which closes the door on the "please tell me the code we just sent you" call.

Where your passkeys live: synced vs device-bound

There are two kinds:

Synced passkeys are stored in a credential manager and back up to the cloud, end-to-end encrypted: iCloud Keychain on Apple devices, Google Password Manager on Android and Chrome, or a third-party manager such as 1Password, Bitwarden or Dashlane. If you replace your phone, your passkeys come with you when you sign in to that account.

Device-bound passkeys live on one piece of hardware, typically a security key like a YubiKey. They never leave it. This is the strongest option and suits administrator accounts, finance staff and journalists, but if you lose the key you need a backup method.

For most people, synced passkeys in the manager they already use are the right default.

What happens if you lose your phone?

This is the question that stops most people, so it is worth being precise:

  • With synced passkeys, getting a new phone and signing back into your Apple, Google or password-manager account restores them. Protect that account well — it is now your master key.
  • Most sites still let you keep a password or recovery codes alongside a passkey. Do not delete those until you have a second way in.
  • For important accounts, register two passkeys: one on your phone and one on a laptop or hardware key.

How to switch your accounts, step by step

Do it in order of importance, not all at once.

  1. Secure the account that stores your passkeys — your Apple ID, Google account or password manager. Turn on the strongest sign-in it offers and save its recovery codes somewhere offline.
  2. Email next. Your email can reset every other password, so it is the most valuable account you have. Add a passkey in its security settings.
  3. Banking, payment and work accounts that support passkeys.
  4. Social media and shopping accounts last.

On each site, look for "Passkeys", "Passwordless sign-in" or "Security keys" in the account security settings. After adding a passkey, sign out and sign back in once to confirm it works before you change anything else.

For website owners: should you offer passkeys?

If your site has user accounts, yes — as an option alongside existing sign-in at first. Practical points:

  • Use a maintained WebAuthn library or your identity provider's built-in support rather than implementing the cryptography yourself.
  • Keep account recovery strong. A passkey login is only as safe as the "forgot my passkey" flow behind it.
  • Prompt users to create a passkey right after a successful password login, when they are already engaged.
  • Make sure your site is served over HTTPS everywhere; WebAuthn requires a secure context. A quick way to check your setup is the free SEO health checker, which flags mixed-content and HTTPS problems.

If you share sensitive documents with customers, passkeys protect the account but not files that leave it — for those, password-protect the PDF itself before sending.

Key takeaways

  • A passkey is a key pair: the private half stays on your device, the site only keeps a public key that is useless to attackers.
  • Passkeys are bound to the real domain, so phishing pages cannot receive them — this is their biggest advantage.
  • Synced passkeys survive a lost phone if your Apple, Google or password-manager account is well protected.
  • Switch email first, then money and work accounts, and keep a backup sign-in method until you have two passkeys.

FAQ

Is a passkey the same as a fingerprint login?

No. Your fingerprint or face only unlocks the passkey on your device; the biometric never leaves the phone and is not sent to the website. The website only sees a cryptographic signature.

Can I use a passkey on a computer that isn't mine?

Yes. Choose "use a phone or tablet" at the login prompt, scan the QR code with your phone, and approve on the phone. The passkey stays on your phone and is not copied to the other computer.

Should I delete my passwords after adding passkeys?

Not immediately. Keep the password or recovery codes until you have registered a passkey on at least two devices and confirmed you can sign in with each. Some services also still require the password for certain actions.

Sources

passkeys authentication passwords phishing fido2

Share this article

37 free PDF, SEO & AI tools

Run them in your browser — no sign-up, no watermarks.

Open free tools

Keep reading

How to use this page

  1. 1

    Start with the table of contents to jump straight to the section that matches your problem.

    Browse all AsaanWeb guides
  2. 2

    Use the linked free tools as you read — audit your site, research keywords or check what the project should cost.

    Open the free tools
  3. 3

    When you want the work handled for you, send the article and your website to AsaanWeb for a fixed-price scope.

    Request a free quote

AsaanWeb Guide — How to Use This Article

Related AsaanWeb pages

Continue with these pages for more information, tools, pricing, or help from the AsaanWeb team.