What Is a Passkey? How Passkeys Work and Are They Safe

A passkey is a sign-in credential that replaces your password. Your device keeps a private key and unlocks it with your face, fingerprint or PIN. The site only stores a public key.

Gary · Published · Updated · 17 min read

Isometric illustration of a glowing emerald key cube on a dark slate phone slab, linked by a dashed light line to a server block with a glowing public key tile.
On this page
  1. What is a passkey?
  2. How do passkeys work?
  3. Passkey vs password: what's the difference?
  4. Are passkeys safe?
  5. The strong parts
  6. The limits
  7. How do I set up a passkey?
  8. Google Account
  9. iPhone, iPad and Mac
  10. Windows and Microsoft accounts
  11. GitHub and other sites
  12. Signing in on someone else's computer
  13. Where are my passkeys stored?
  14. What if I lose my phone?
  15. Do I need a security key?
  16. Why is everyone switching to passkeys now?
  17. Building an app? What passkeys don't protect
  18. FAQ

What is a passkey? A passkey is a way to sign in to a website or app without a password. Your phone, computer or security key holds a private key, and you unlock it the same way you unlock the device: your face, your fingerprint, a PIN or a pattern. The website only keeps a matching public key. There is nothing to type, nothing to remember and nothing a fake login page can trick you into handing over.

By Gary, Greenlight My App. Checked Nov 3, 2026. How we checked this: we read the passkey pages from the FIDO Alliance, Google, Apple, Microsoft and GitHub on Nov 3, 2026, and quote them below with links. We haven't run our own passkey tests for this post, so every step and claim here comes from those vendor docs. Drafted with AI tools and reviewed by a person before publishing.

What is a passkey?

The FIDO Alliance (external), the industry group behind the standard, defines it like this: "A passkey is an authentication credential based on FIDO standards, that can be stored on your phone or computer, or in a hardware security key allowing a user to sign in to apps and websites with the same process that they use to unlock their device (biometrics, PIN, or pattern)."

In plain words, a passkey replaces the password box. When a site supports passkeys, you pick your account, your phone or laptop asks for your face, fingerprint or PIN, and you're in.

So the passkey meaning is simple: it's a login key that lives on your device instead of in your head. You never see it, never type it and never reuse it. Each site gets its own passkey.

Microsoft's passkey page (external) puts it this way: "passkeys are unique to each website or application, so you don't have to worry about someone using your passkey to access other services."

That one feature fixes the biggest password problem. When people reuse one password on many sites, a leak from one site opens the others. If you've ever had an email show up in a breach list, our guide on what to do after Have I Been Pwned covers the clean-up. Passkeys stop that chain from starting.

How do passkeys work?

Every passkey is a pair of cryptographic keys. One is private and one is public. Apple's security page (external) explains the setup step: "During account registration, the operating system creates a unique cryptographic key pair to associate with an account for the app or website."

Then Apple explains who holds what: "One of these keys is public, and is stored on the server. This public key is not a secret. The other key is private, and is what is needed to actually sign in. The server never learns what the private key is."

Signing in is a small test. The website sends your device a random challenge. Your device signs that challenge with the private key, but only after you unlock it. The website checks the signature with your public key. If it matches, you're signed in.

Diagram of how a passkey works: when you create a passkey your device makes a key pair and sends only the public key to the website; at sign-in the website sends a challenge, your device signs it with the private key after you unlock it, and the website checks the signature with the public key.

Microsoft describes the same flow: "After you unlock your private key, your device digitally signs a challenge from the website or application. The website or application verifies the signature using the public key and grants you access."

What about your face or fingerprint? It never leaves your device. The FIDO Alliance says the biometric "is never sent to any remote server — the server only sees an assurance that the biometric check was successful." Google says the same thing for Google accounts: your biometric data "stays on your device and is never shared with Google."

GitHub's docs (external) sum up the whole idea: "When you sign in to GitHub using a passkey, your authenticator uses public key cryptography to prove your identity to GitHub without ever sending the passkey."

So how do passkeys work, in one line? The website asks for proof, and your device gives it without giving away the key.

Passkey vs password: what's the difference?

A password is a shared secret. You know it, and the website stores something it can check it against. Anyone who learns it can use it. A passkey is not shared. The site keeps only a public key, which can't be used to sign in.

PasswordPasskey
What you doType it (or let a manager fill it)Unlock your device: face, fingerprint, PIN
What the website storesSomething to check the password againstA public key, which is not a secret
Can you reuse it on other sites?Yes, and many people doNo, each passkey is for one site
Can a fake site trick you into giving it up?Yes, if you type it on a lookalike pageYour device won't offer it to the wrong domain
Can you share or write it down?YesNo, per Google it "can't be shared, copied, written down"
What leaks in a site breachPassword data that attackers may crackPublic keys, which don't let anyone sign in
Needs a separate 2FA code?OftenUsually not; Microsoft counts a passkey as multi-factor
StrengthDepends on youFIDO: "always strong"

Diagram comparing a password and a passkey: with a password you type a shared secret that can be reused, typed into a fake site and leaked as crackable data in a breach; with a passkey you unlock your device, each passkey is for one site, your device won't offer it to the wrong domain, and a breach leaks only public keys.

Google's passkey page (external) gives the plain version: "Unlike passwords, passkeys can't be shared, copied, written down, or accidentally given to someone else. This makes them more secure against phishing."

The FIDO Alliance lists three wins in one sentence: "Unlike passwords, passkeys are phishing-resistant, are always strong, and are designed so that there are no shared secrets."

Are passkeys a form of two-factor login on their own? Microsoft says yes: "Yes, passkeys are considered a form of multi-factor authentication." You need the device that holds the passkey (something you have) and you unlock it with your face, fingerprint or PIN (something you are or know).

Are passkeys safe?

Passkeys are a big step up from passwords, but no sign-in method is perfect. Here's what the vendors say, and where the limits are.

The strong parts

Phishing resistance. This is the headline feature. Microsoft explains it with an example: "When they are created, passkeys are associated with the specific domain that the website or app are registered with. For example, a passkey created for netflix.com can only be used with netflix.com. While you may be tricked into landing on a similar looking website, your device won't present your passkey to the malicious website."

GitHub adds that passkeys "require a secure connection, meaning that the web browser will refuse to authenticate to a lookalike phishing website." That's why GitHub calls them "much harder to attack than SMS or TOTP 2FA, which can be phished."

Diagram of why a passkey won't work on a fake site: your device holds a passkey for example.com; on the real example.com the domain matches and sign-in works, while on a lookalike domain the passkey isn't offered, so there is nothing to type or steal.

If you're not sure whether a site is real, our guide on how to tell if a website is legit walks through the checks. With a passkey, your device does part of that check for you.

Nothing useful to steal from the server. The website stores your public key. Apple is clear that "This public key is not a secret." A breach of the site's login table doesn't hand attackers a list of passwords to try elsewhere.

Stronger than a password plus a code. The FIDO Alliance says "Passkeys are a primary factor that — standing alone — are more secure than the combination of either "password + OTP" or "password + phone approval"."

The limits

Anyone who can unlock your device. Google warns: "Only create passkeys on devices you personally own and use. Even if you sign out of your Google Account, once you create a passkey, anyone who can unlock your device can access your Google Account." A weak phone PIN or a shared laptop is a weak spot.

Your password manager account. Synced passkeys are only as safe as the account they sync through. The FIDO Alliance says "Passkey syncing is end-to-end encrypted, and passkey providers have strong account security protections." It also notes that "Passkeys backed by passwords or synced across devices are vulnerable to theft." Protect that account well.

The old password is often still there. Many sites let you keep a password next to your passkey. Apple's iPhone guide says "You can have a passkey and password for the same website or app." If the password stays on the account, it can still be phished. Check whether your account lets you rely on the passkey alone.

Recovery is the weak door. If a site lets anyone reset an account with a text message, that path is only as strong as the text message.

So, are passkeys safe? They're much safer than passwords for most people. They're not unhackable, and nobody serious says they are.

How do I set up a passkey?

The steps differ a little by service, but the pattern is the same: sign in the normal way, open the security settings, choose to create a passkey, then confirm with your face, fingerprint or PIN.

Diagram of the four steps to set up a passkey: sign in the normal way, open the account's security or sign-in settings, choose Create a passkey or accept the pop-up, then confirm with your face, fingerprint or PIN. Google says a new passkey may take 7 days to be available at sign-in.

Google Account

Google's steps start at a single page. Go to myaccount.google.com/signinoptions/passkeys (external), sign in, and choose to create a passkey. Google lists these minimums: Windows 10, macOS Ventura, ChromeOS 109, Android 9 or iOS 16, and a browser such as Chrome or Edge 109, Safari 16 or Firefox 122.

One thing to know: Google says "You may need to wait 7 days before a newly created passkey is available at sign-in." Don't delete your other sign-in methods on day one.

iPhone, iPad and Mac

On Apple devices, passkeys save to iCloud Keychain. When a site offers to save a passkey, you tap Continue. Apple's iPhone guide (external) says: "When you see the option to save a passkey for the account, tap Continue. Your passkey is saved."

To sign in later, you tap your account name and use Face ID or Touch ID. Apple says "The passkey you saved completes the sign-in automatically."

Windows and Microsoft accounts

On Windows, you can use Windows Hello with a PIN, fingerprint or face. Microsoft says you can "add a passkey to your Microsoft personal or work/school account, or accept the "Create a passkey?" pop-up you may see whenever you sign in to any other website that offers it."

GitHub and other sites

Some sites, like GitHub, offer passkeys in their security settings. GitHub says that "If you use two-factor authentication (2FA), passkeys satisfy both password and 2FA requirements, so you can complete your sign in with a single step." Look for "Passkeys" or "Sign-in methods" in the account's security page.

Signing in on someone else's computer

You don't need to copy your passkey to a library computer. Apple and Google both support a QR code flow: the other computer shows a code, you scan it with your phone, and your phone completes the sign-in. Microsoft says "a proximity check takes place to ensure that the passkey is only being used for authentication on a device that's nearby."

Where are my passkeys stored?

That depends on where you saved them. There are two kinds.

Synced passkeys live in a password manager and show up on your other signed-in devices. The FIDO Alliance says "Passkeys can be securely synced across a user's devices, or bound to a particular device (device-bound passkeys)."

Device-bound passkeys stay on one device. GitHub explains that "These passkeys cannot be backed up or moved to another authenticator."

Diagram of where passkeys are stored: synced passkeys in iCloud Keychain, Google Password Manager, Microsoft Password Manager or third-party managers; device-bound passkeys kept on one device; and hardware security keys, which are device-bound but portable.

Here's where to find them on each platform, from each vendor's docs:

PlatformWhere passkeys are savedWhere to view or delete them
iPhone and iPadiCloud KeychainThe Passwords app
MaciCloud KeychainThe Passwords app
Android and ChromeGoogle Password ManagerGoogle Password Manager on Android, in Chrome, or passwords.google.com
Windows 11On the device (Windows Hello) or a synced managerSettings > Accounts > Passkeys
Microsoft accountDevice or Microsoft Password ManagerAccount security dashboard (Advanced Security Options)
Hardware security keyOn the key itselfThe key's own tools or the site's settings

Apple says "The passkeys you create are stored on your iPhone in the Passwords app." Google says you "can view and manage your saved passwords and passkeys in Google Password Manager on Android, in Chrome, or at passwords.google.com." Microsoft says to "Select Accounts > Passkeys" in the Windows Settings app.

What if I lose my phone?

This is the question most people ask first, and the answer is calmer than you might expect.

If your passkeys were synced, they're still in your password manager account. Sign in on another device, or set up a new phone with the same account, and they come back. Apple, for example, says passkeys "sync across a user's devices using iCloud Keychain."

Then clean up. Google's advice is direct: "If you lose a device with your passkey, or created a passkey on a shared device by mistake, remove the passkey on your Google Account." Do the same for any other account where you can see that device's passkey.

If your passkey was device-bound, it's gone with the device. You'll need another way in: a second passkey, a security key, or the site's account recovery.

That's why Microsoft suggests a spare: "If you want to save your passkey on your device, create passkeys on your other devices too (e.g., phone, tablet, laptop) to act as a digital spare key."

Diagram of what to do if you lose your phone: first get back in with a synced device, a backup passkey or account recovery; then remove the lost phone's passkey in account settings; then sign the lost device out; then add a spare passkey on a second device or a security key.

A thief who has your phone still needs to unlock it. A strong device passcode matters more than ever.

Do I need a security key?

No. Most people use the passkeys built into their phone, computer or password manager. A hardware security key is an extra you can add.

A security key is a small USB, NFC or Bluetooth device. GitHub notes that "Passkeys stored on FIDO2 hardware security keys are also "device-bound," but they have the advantage of being portable."

Security keys make sense if you protect high-value accounts, want a backup that isn't tied to your phone, or work somewhere that requires one. The FIDO Alliance says "Device-bound passkeys in modern hardware security keys offer the highest security assurance," and that "FIDO security keys can act as a recovery credential."

If you buy one, register it on each important account and store it somewhere safe. A spare key in a drawer is a recovery plan.

Why is everyone switching to passkeys now?

Because big platforms are moving their users. Two recent examples:

Microsoft Entra ID. BleepingComputer reported on Oct 28, 2026 (external) that Microsoft asked Entra ID admins to move workforce users to phishing-resistant sign-in before it retires SMS and voice codes. Microsoft's message, as quoted there: "Microsoft-provided SMS and voice authentication will retire starting February 1, 2027." It added: "SMS and voice are vulnerable to phishing and SIM-swap attacks. Microsoft recommends passkeys for stronger, phishing-resistant protection." This applies to Entra ID workforce tenants, not to every Microsoft account.

Payments. Fintech News Singapore reported on Oct 30, 2026 (external) that Adyen is rolling out Visa Payment Passkey for online checkout, starting in the UK. Per that report, cardholders can "authenticate eligible online purchases using their device's unlock method."

The reason is the same everywhere. Passwords and text codes can be phished. Passkeys are much harder to phish.

Building an app? What passkeys don't protect

If you build apps with Lovable, Bolt, Cursor or plain code, and your auth provider supports passkeys, they're a strong way to protect your users' logins. But a passkey only answers one question: is this the real user?

It doesn't answer the questions that sink a lot of new apps:

  • Is a secret key sitting in your public JavaScript? A passkey login doesn't stop a leaked API key from working. See what an API key is and why secret ones must stay on the server.
  • Can anyone read your database with the public key? That's a Row Level Security question, not a login question. Our Supabase anon key guide explains it.
  • Did a powerful key get shipped to the browser? If a Supabase service_role key ends up in your frontend, every user's data is at risk. Here's what to do if your Supabase service_role key is exposed.
  • Do your sessions expire? After a passkey sign-in, most apps hand the browser a session token, often a JWT. Our JWT guide explains what's inside one and why anyone can decode it.

Greenlight My App doesn't test passkeys or login flows. Its free scan looks at what anyone can see from outside: security headers, HTTPS, exposed files like /.env, and secret key patterns in your public code. It's a quick check you can run alongside your passkey setup, not instead of it.

FAQ

How do passkeys prevent phishing? Each passkey is tied to the real site's domain. On a lookalike site your device won't offer it, and there's no password to type or hand over.

What happens if I lose my phone? Synced passkeys stay in your password manager account. Sign in elsewhere, remove the lost phone's passkey, and add a spare. Device-bound ones are gone.

Do I need a security key? No. Phones, computers and password managers can hold passkeys. A hardware security key is an optional extra, useful as a backup or for high-value accounts.

What is a passkey for Microsoft Outlook? Outlook signs you in with your Microsoft account, so it's a passkey on that account. Microsoft says you can add one to a personal or work/school account.

Where do I find my passkeys on iPhone, Android or Windows? iPhone: the Passwords app. Android: Google Password Manager. Windows 11: Settings > Accounts > Passkeys. Other managers keep them in their own app.

Can a passkey be stolen? The site only holds a public key, so a server breach doesn't expose it. But anyone who unlocks your device or your synced account may use it.

Are passkeys safer than passwords plus 2FA? The FIDO Alliance says yes: passkeys alone beat password plus a one-time code or a phone approval, mainly because they resist phishing.

What is a passkey in simple terms? A login key stored on your device. You unlock it with your face, fingerprint or PIN instead of typing a password.

Can I still use my password after creating a passkey? Often yes. Many sites keep both. If the password stays on the account it can still be phished, so check your options.


Passkeys protect your login. They don't hide a leaked key in your app. Run a free scan with Greenlight My App before launch to check your live site's public code for exposed API keys and missing security headers.

Sources

On this site

Related posts

Apple, iPhone, iCloud and Face ID are trademarks of Apple; Google, Android and Chrome of Google; Microsoft, Windows and Entra of Microsoft; FIDO of the FIDO Alliance; GitHub, Visa and Adyen belong to their owners. None is affiliated with Greenlight My App. This page is general information, not professional security advice, legal advice, a security audit or a guarantee. Check your own setup against the vendor's current docs.