How Do Passkeys Work?
A 10-minute read
A passkey keeps a private key on your device and a public key on the server. Sign-in is a signed challenge, so there is no password to phish or leak.
In June 2022, on the stage of WWDC, Apple announced passkeys, a sign-in system the company said would replace passwords. Google followed four months later with Android and Chrome in October 2022, and Microsoft brought it to Windows 11 in September 2023. Three companies that spend enormous amounts of engineering effort competing with each other all arrived at the same conclusion, which is the strongest signal in the security industry that something real had changed.
The word was easy. The mechanics were harder, and they still are. By October 2026 the FIDO Alliance was counting roughly seven billion passkeys in active use, and its Passkey Index found that 36 percent of successful sign-ins now use one, up from 26 percent a year earlier. But the interesting question for a curious reader is where the private key lives, because the answer turned out to be stranger than the standard assumed.
The short answer
A passkey is a pair of cryptographic keys where the private half stays on your device and the public half sits on the server. When you sign in, the server sends a random challenge, your device signs it with the private key, and the server checks the signature against the public key it already has. Because the private key never travels, there is nothing for a phishing page to steal, and a breached server leaks only public keys, which are worthless to an attacker.
The full picture
Registration: the key pair is born on your device
The flow begins when you set up a passkey for a site. The site asks your browser to create a credential, and the browser hands the request to an authenticator, which is the thing that actually holds keys. On a modern phone or laptop that is the operating system itself, backed by a hardware secure element or a Trusted Platform Module. On a USB stick it is a small FIDO2 security key.
The authenticator generates the key pair locally. It signs a copy of the public key with an attestation key, a separate key that identifies the make and model of the authenticator, and hands both back. The site stores the public key and, optionally, the attestation certificate. This is the registration ceremony in the WebAuthn specification, which became a W3C Recommendation on 25 August 2026 at Level 3.
Attestation is optional, and for most people it is switched off. It exists so that a site can verify it is talking to a genuine hardware key rather than a software emulator, which matters for enterprise and government use cases. The WebAuthn specification is explicit that relying parties decide independently whether to require it, and that users can decide whether an attestation statement is sent at all.
Authentication: a challenge, a signature, and a domain check
Signing in is the mirror image. The server generates a random challenge and sends it to the browser, which passes it to the authenticator. The authenticator signs it with the private key, and the browser returns the signature plus the challenge to the server, which verifies it with the public key it has been holding since registration. The server learns nothing it did not already know, and the private key stays put.
Two details in that exchange do the real work. First, the challenge is cryptographically bound to the site that requested it. The challenge data includes the site’s domain, so a signature produced for evil.com cannot be replayed at yourbank.com. This is why a phishing site cannot use a passkey captured on one domain to log into another, which is the entire point of the technology.
Second, the authenticator can attach a flag recording whether it verified the user physically. If you unlocked with Touch ID, Face ID, a fingerprint or a PIN, the flag says so. That flag lets a site treat a passkey as a genuine multi-factor credential: something you have (the device), something you are (the biometric), and in the case of a PIN, something you know. This is the mechanism that lets two-factor authentication be replaced by a single tap, rather than layered on top of a password.
The authenticator: where the key actually lives
There are three kinds of authenticator, and each one has a different security profile.
A platform authenticator is built into the operating system. It is the default on iPhone, Android, Mac and Windows, and it uses the phone’s own secure hardware, a Trusted Execution Environment or a TPM, to hold the key. These credentials can be synced, which is what lets you sign in on a new laptop from a phone you already own. The WebAuthn standard also handles this cross-device case over Bluetooth Low Energy, with a proximity check to confirm the phone is physically nearby.
A roaming authenticator is a separate piece of hardware, typically a USB key or an NFC fob. The key never leaves that device, cannot be copied, and cannot be synced. For people who want the strongest possible guarantee, this is the option. It is also the option that breaks first when the hardware is lost.
A password manager such as 1Password or Bitwarden can also hold passkeys, which keeps the credential next to the rest of your credentials and is worth knowing about if you already use one.
The distinction that matters to users is synced versus device-bound. A synced passkey is copied, encrypted, between your devices through a cloud keychain. Apple’s documentation on the security of passkeys is unusually clear that iCloud Keychain is end-to-end encrypted with keys Apple does not know, rate-limited against brute force, and recoverable even if you lose every device. That last property comes from an escrow system that requires your account password, an SMS code to your registered phone number, and your device passcode, with ten failed attempts allowed before the escrow record is destroyed.
Syncing: the trade you are making
Syncing is the reason passkeys work at all for ordinary people. A password is portable by construction, so a password replacement has to be portable too, or people fall back to passwords the first time they buy a new phone.
The cost of portability is that a synced passkey is no longer physically bound to one device. It lives in a cloud service, protected by that service’s own authentication. Most of the time that service is your operating system vendor, whose entire business model is securing the device and the account behind it. Sometimes it is a third-party password manager. Either way, you have moved the trust from the website you are logging into to the platform you already trust with everything else.
What the attacks look like in 2026
In the last two years researchers went looking for the holes. In August 2026, Palo Alto Networks’ Unit 42 published a study of new attack classes against passwordless authentication, focused on Google’s synced passkey ecosystem, and named them Pass-ta-key attacks.
The first variant showed that malware running on a compromised endpoint with ordinary user privileges could impersonate Chrome’s request to the cloud authenticator and authenticate as the victim, with no device unlock, no biometrics and no user interaction. The second, called Silver, forced the browser into a re-onboarding state and then registered an attacker-controlled key as the user-verification key, because the cloud authenticator does not check whether a newly registered user-verification key is backed by real hardware. The third, Golden, extracted the encryption key protecting synced credentials out of browser memory and used it to recover the actual passkey private keys in a form that could be sold on the credential market.
None of these break the cryptography. All of them exploit the fact that passkeys assume the endpoint is honest, which is the same assumption that biometric phone unlock makes. The researchers disclosed the issues responsibly, and the attacks require malware already running on the device.
There is also a mundane failure mode. The site whynopasskeys.com, launched in June 2026 by the security researcher Scott Helme, tracks major services that still refuse to offer passkeys at all. As of this writing its own counter puts the figure at 38 percent of the most popular sites with a login but no passkey support. TechCrunch reported that one in four major apps and services still lacks the option, including Instagram, Netflix and Spotify. A list, Helme wrote, is a surprisingly effective motivator. Nobody wants to be on the list.
Why it matters
The number that should stick with you is the gap between eligibility and enrollment. The 2026 Passkey Index, published in October, found that 90 percent of active accounts are eligible for passkeys but only 42 percent of eligible accounts have one enrolled. Plenty of people have the option and have not taken it, and the reason is usually that a leftover password fallback still exists, so a passkey feels optional rather than load-bearing.
That gap matters because the fallback is the attack surface. A site that offers a passkey and still accepts the password is still phishable, since the phisher just asks for the password instead. The FIDO Alliance has been explicit that removing weaker fallbacks such as passwords and SMS one-time codes is the next phase, and that the 2026 numbers show organizations planning for it. Until that happens, the security benefit of a passkey is capped by the fact that the old door is still open.
For individual users the payoff is already measurable and it is not mainly about hackers. Passkey sign-ins succeed 93 percent of the time against 78 percent for traditional multi-factor sign-ins, and they are nearly three times faster, saving an average of 27 seconds per sign-in. The FIDO Alliance’s Passkey Index also found that every participating organization that measured phishing reported fewer successful attacks after deploying passkeys, and every one that provided savings data reported lower SMS one-time-code costs. For a business, that last number is the argument that actually gets budgets approved.
There is a broader change too. Microsoft made passkeys the default authentication method in Entra ID in July 2026, which pushes them into the enterprise world, and the FIDO Alliance has started work on digital credentials and agentic commerce, which suggests credentials that are not tied to a human login at all. The password was designed for a world where a person sat at a desktop and typed a secret they had memorized. Passkeys work better the further you get from that world, because the thing they rely on, a local cryptographic operation gated by a local biometric check, is something every device already knows how to do.
Common misconceptions
“A passkey is just a really long password stored somewhere fancy.” It is the opposite of a password. A password is a shared secret that both sides hold, which is exactly why it can be guessed, reused, leaked, or handed over by a convincing fake login page. A passkey splits the credential into two halves: the public key, which the server can publish, and the private key, which never leaves your device and is never transmitted in any form. There is no secret for a phishing site to collect, because the thing a phishing site would need to collect is not the credential.
“Passkeys send my fingerprint or face scan to the website.” No. Biometric matching happens on your device, inside the hardware that stores the key. The website receives a signature and a flag saying that a local check was performed, and nothing else about you. This is the same division of labor that two-factor authentication uses, and it is why the answer to whether a passkey leaks biometric data is a clean no.
“If the key syncs to the cloud, it is just as stealable as a password.” It is a different risk, not the same one. A stolen password is immediately usable from anywhere, forever. A synced passkey is end-to-end encrypted in transit and at rest, and the private key is only released by a device that has itself been unlocked by its owner. The realistic attacks found in 2026 do not decrypt the cloud keychain at all. They exploit malware already running on the endpoint, which is a compromise of the device, not of the cloud.
“Two-factor authentication is already good enough.” Password plus SMS code is meaningfully better than a password, but it is still two pieces of shared knowledge or shared reachability. An SMS code can be redirected by a SIM swap, and a one-time code can be phished in real time by a proxy page that relays it to the attacker while the victim types. A passkey replaces both factors with a local cryptographic proof that a phishing site has no way to relay, because the signature it would need is bound to the domain being authenticated.
Key terms
Passkey: A saved sign-in credential built on the FIDO2 and WebAuthn standards, consisting of a key pair where the private half never leaves the authenticator.
WebAuthn: The W3C web standard defining the browser API for creating and using public-key credentials. It became a W3C Recommendation at Level 3 on 25 August 2026.
Authenticator: The hardware or software component that stores the private key and performs the signing operation. Can be the operating system, a password manager, or a physical security key.
Attestation: A signed statement, produced at registration, describing the make and model of the authenticator so a site can verify it is talking to real hardware rather than an emulator.
Discoverable credential: A credential that stores enough information about which account it belongs to that the authenticator can offer it to the user without being told which one to use.
Synced passkey: A passkey that is encrypted and copied between a user’s devices through a cloud keychain, so it survives losing a device. The counterpart is a device-bound passkey, which never leaves its hardware.
CTAP2: The Client to Authenticator Protocol, the layer that lets a browser or app talk to a physical key over USB, NFC or Bluetooth Low Energy.
Pass-ta-key: A family of 2026 attacks that abuse passkey onboarding, recovery and device-trust workflows on a compromised endpoint rather than breaking the cryptography itself.
Common questions
Are passkeys more secure than passwords?
Yes. A password is a shared secret that both the user and the server hold, so it can be guessed, reused, phished, or leaked from a breach. A passkey splits that into a private key that never leaves your device and a public key the server can hold freely, so a stolen database reveals nothing usable and a fake login page cannot capture anything. The FIDO Alliance reports that passkey sign-ins succeed 93 percent of the time against 78 percent for traditional multi-factor sign-ins.
What happens if I lose my phone and all my devices?
It depends on whether your passkey was synced or device-bound. A synced passkey lives in an end-to-end encrypted cloud keychain such as iCloud Keychain or Google Password Manager, so signing in on a new device restores it automatically. A device-bound passkey, the kind stored on a hardware security key, cannot be transferred and is simply gone. Apple's escrow system allows recovery even after every device is lost, but it requires the account password, an SMS code to the registered number, and the device passcode, with only ten attempts allowed before the record is destroyed.
Does a passkey send my fingerprint or face to the website?
No. Biometric matching happens entirely on your device inside secure hardware, and the website never receives the biometric data or even a biometric template. The site receives only a cryptographic signature plus a flag saying that user verification was performed. The biometric check is local, so a compromised device can be a problem: local gates can be bypassed by malware that already runs on your machine.
Why can I still sign in with a password after I have a passkey?
Because almost every site still keeps the password as a fallback, and the fallback is the weakest link. The FIDO Alliance's own Passkey Index found that 90 percent of active accounts are eligible for passkeys but only 42 percent of eligible accounts have one enrolled, and removing weaker fallbacks such as passwords and SMS is the explicit next phase of the rollout. As long as a password works, a phishing page can still be used to steal one.
Can a passkey be used to sign in on a completely different device?
Yes. The protocol uses a Bluetooth Low Energy proximity check to confirm the phone is physically near the computer asking for the signature, and then transfers the challenge over that connection. This is why signing in on a new laptop with a phone you already own is a one-tap operation rather than a password reset.
That's the distilled version.