A YubiKey is a hardware security key made by Yubico that you plug into a computer or tap against a phone to prove your identity. With FIDO2 and WebAuthn, it creates a key pair for each website: the private key never leaves the key, and the public key is stored by the site. Because the key only signs in to the real site, a fake login page cannot trick it.
Key takeaways
- A YubiKey is a hardware security key: with FIDO2, the private key never leaves the device, so phishing pages cannot steal or reuse your login.
- The YubiKey 5 Series ($58) covers the most protocols; the Security Key Series ($29) covers FIDO only; the Bio ($98) adds a fingerprint.
- Buy two keys — one to use daily and one as a backup — and register both on every important account before you rely on one.
Passwords get stolen. Text-message codes get intercepted. Authenticator-app codes get phished. A YubiKey fixes the problem at the root: it is a physical key that proves who you are, and it cannot be tricked into signing in to a fake website.
What is a YubiKey?
A YubiKey is a small hardware security key made by Yubico. You plug it into a computer's USB port or tap it against a phone, touch it when asked, and it proves your identity to the website or app you are signing in to.
It is the physical version of "something you have" in multi-factor authentication. Instead of a code that can be copied, intercepted or phished, you carry a small device that takes part in the login itself. It needs no battery, no internet connection and no separate software to work.
A YubiKey is not a password manager and not a storage device. It does not hold your passwords. It holds cryptographic keys — one unique key pair per service — locked inside a secure chip that is designed so the private key can never be extracted or copied.
Yubico makes several families of key. The Security Key Series covers FIDO2 and U2F only and costs $29. The YubiKey 5 Series is the multi-protocol flagship at $58. The YubiKey Bio adds fingerprint unlock and costs $98. FIPS-validated models for government use cost $88 to $115.
How does a YubiKey work?
A YubiKey works with public-key cryptography. When you register it with a service, the key generates a brand-new key pair for that service alone: the private key stays locked inside the key's secure chip, and the public key is sent to the service.
When you sign in later, the service sends the key a random challenge. The key checks that the challenge really comes from the site it was registered with, signs it with the private key, and sends back the signature. The private key never leaves the device, and there is no shared secret for an attacker to steal.
The crucial detail is the origin check. A YubiKey will only sign a challenge for the exact website it was registered with. If you are on a fake login page — even a perfect copy — the key refuses, because the domain does not match. That is why FIDO2 authentication with a security key is called phishing-resistant, and why US agencies recommend it in their joint phishing guidance.
What protocols does a YubiKey support?
A YubiKey speaks several authentication languages, and the model you buy decides which ones you get. The Security Key Series speaks FIDO only; the 5 Series speaks all of them.
- FIDO2 and WebAuthn: the modern standard for passwordless sign-in and phishing-resistant second factors. This is the protocol that matters most today.
- FIDO U2F: the older second-factor standard. Still widely supported, but FIDO2 has superseded it.
- One-time passwords: the 5 Series can generate OATH-TOTP codes (like an authenticator app) and Yubico OTP for older systems.
- Smart card (PIV): the 5 Series works as a smart card for corporate and government systems that require it.
- OpenPGP: the 5 Series can store encryption and signing keys for email and code signing.
For most people, FIDO2 is the only protocol that matters. But if you work somewhere with smart-card logins or you need one-time codes from a hardware device, the 5 Series is the model that covers everything.
Which YubiKey model should you buy?
Pick the connector first, then the model. The most common mistake is buying a USB-A key for a laptop that only has USB-C, or a key without NFC when your phone is where you sign in most.
| Model | Price | Protocols | Connector | Best for |
|---|---|---|---|---|
| Security Key Series | $29 | FIDO2, U2F | USB-A or USB-C, NFC on some models | Cheapest phishing-resistant second factor |
| YubiKey 5 Series | $58 | FIDO2, U2F, OTP, OATH, PIV, OpenPGP | USB-A, USB-C, Nano, NFC, Lightning | Most people — the best all-rounder |
| YubiKey Bio — FIDO Edition | $98 | FIDO2, U2F | USB-A or USB-C, no NFC | Fingerprint unlock, no PIN to remember |
| YubiKey 5 FIPS Series | $88–$115 | FIDO2, U2F, OTP, OATH, PIV, OpenPGP | USB-A, USB-C, Nano, Lightning | Government and regulated work |
Prices are from Yubico's own store comparison in November 2026. The general-purpose recommendation is the YubiKey 5C NFC if your devices use USB-C, or the YubiKey 5 NFC if they use USB-A — both cover phones over NFC and computers over USB. Buy two: one for daily use and one as a backup kept somewhere safe.
The Bio is a specialist choice. Its fingerprint is stored on the key and replaces the PIN, which helps in workplaces where people forget PINs. But it has no NFC and does not support the full 5 Series protocol set, so check the trade-offs before choosing it for personal use.
YubiKey vs authenticator app vs passkey: what is the difference?
These three get confused constantly, because they overlap. A YubiKey is a piece of hardware. An authenticator app is software on your phone. A passkey is a type of credential — and a YubiKey can hold passkeys.
| YubiKey (FIDO2) | Authenticator app | SMS code | |
|---|---|---|---|
| Phishing resistant | Yes | No | No |
| Needs phone or battery | No | Yes | Yes |
| Can be copied or stolen remotely | No — key stays in hardware | Yes, if the phone is compromised | Yes — SIM swap, interception |
| Works offline | Yes | Yes | No |
| Cost | $29–$98 per key | Free | Free |
A passkey stored in your phone or password manager is convenient and phishing-resistant, but it can be synced and copied between devices. A passkey stored on a YubiKey is device-bound: it cannot be copied to another key. That is stronger, but it means losing the key without a backup locks you out — which is why two keys are the standard advice.
The practical ranking is simple: a YubiKey beats an authenticator app, and an authenticator app beats SMS. If a service only offers SMS, take it — it is still far better than a password alone.
How do you set up a YubiKey?
Setup takes a few minutes per account. Do your most important accounts first: email, your password manager, your bank, and any admin or cloud accounts.
- Buy two keys with the right connector for your devices, and pick the NFC model if you use a phone.
- Start with your email account. Open its security settings, choose "passkey", "security key", "FIDO2" or "two-step verification", then insert or tap the key and touch it when prompted.
- Set a PIN if asked. FIDO2 passkeys use a PIN as a local unlock. Yubico documents eight PIN attempts, with reinsertion required after three consecutive incorrect attempts — so choose a PIN you will remember, and store it in your password manager.
- Register the second key on the same account, and save the recovery codes the service offers.
- Repeat for your password manager, then banking, social media and work accounts.
- Store the backup key separately — a drawer at home, or a safe — not on the same keyring as the first.
If a site only offers authenticator-app codes, you can still use a YubiKey 5 Series for that: open the Yubico Authenticator app, add the account, and the key generates the codes. Keep the codes as a fallback, not as your first choice.
What happens if you lose your YubiKey?
Losing a YubiKey is inconvenient, not catastrophic — as long as you prepared. Sign in with your backup key, or use the recovery codes you saved during setup, then remove the lost key from your accounts.
If you have no backup key and no recovery codes, you will need each account's recovery process, which usually means identity verification and a waiting period. Some services cannot recover an account at all without a registered second factor. This is the real risk of hardware keys, and the reason the standard advice is two keys from day one.
A lost key is not a security emergency by itself. The finder cannot use it without your PIN, and cannot extract the private keys from the hardware. Still, remove it from your accounts as soon as you can.
What can a YubiKey not protect you from?
A YubiKey is the strongest login defense widely available, but it is not a complete security system. Knowing its limits keeps you from over-trusting it.
- Account recovery attacks: if an attacker can talk a support agent into resetting your account, the key does not help. Use a strong, unique email password and guard your recovery options.
- Malware on your computer: a key cannot stop malware that is already running, or an attacker with a live session on your unlocked device. If you suspect your phone is compromised, see our guide on how to know if your phone is hacked.
- Weak email security: your email account is the reset mechanism for everything else. If your email is protected only by a password, the key on your other accounts matters less.
- Services that do not support FIDO2: some sites still offer only SMS or authenticator codes. Use the strongest option each service offers, and prefer services that support security keys.
- Physical theft with your PIN: if someone steals the key and knows your PIN, they can use it. Keep the PIN separate from the key.
Pair the key with the basics: a password manager with unique passwords for every site, software updates, and suspicion of unexpected messages. If you want to check whether your existing passwords have already been exposed, try our pwned password checker.
Is a YubiKey worth it?
For most people, yes — starting with one high-value account. Email is the account that unlocks all the others through password resets, so a $29 Security Key on your email alone is a meaningful upgrade. A pair of YubiKey 5 Series keys, at $58 each, covers a whole digital life for about $116.
It is most worth it if you are a likely target: an executive, an IT administrator, a journalist, a finance worker, or anyone whose accounts hold money or sensitive data. Phishing is the most-reported internet crime in the US — the FBI counted 191,561 phishing and spoofing complaints in 2025 — and a security key is the one control that makes the most common phishing attacks fail outright.
It is less urgent if you already use passkeys stored in your phone or password manager, which are also phishing-resistant. The YubiKey adds hardware-bound credentials and a physical second factor, which matters most when the account is high value or the device itself might be compromised.
The bottom line
A YubiKey is a small piece of hardware that makes phishing nearly impossible on the accounts you protect with it. The private key never leaves the device, the key only signs in to the real website, and there is no code for an attacker to steal or relay.
Buy two — a YubiKey 5 Series with NFC is the best choice for most people — register both on your email and password manager first, and save your recovery codes. Then check your existing passwords for exposure with our free pwned password checker while you are at it.
Frequently asked questions
What is a YubiKey used for?
A YubiKey is used to sign in to accounts, apps and computers securely. It works as a second factor alongside a password, or as a passwordless sign-in with a passkey. It is most valuable on high-risk accounts: email, password managers, banking, cloud admin consoles and social media.
Do I still need a password if I use a YubiKey?
It depends on the setup. As a second factor, you still type your password and then touch the key. As a passwordless passkey, the key plus a PIN replaces the password entirely on services that support it. Either way, the key stops an attacker who only has your password.
What happens if I lose my YubiKey?
You use your backup key or a backup sign-in method, such as recovery codes or a second registered key. That is why you should always register at least two keys on important accounts and store recovery codes somewhere safe. If you have no backup, you will need the account's recovery process, which can be slow.
Does a YubiKey work with iPhone and Android?
Yes. YubiKeys with NFC work by tapping them against a phone, and USB-C models plug directly into modern phones. The YubiKey 5Ci also has a Lightning connector for older iPhones. NFC models are the most flexible choice if you switch between phone and computer.
Is a YubiKey better than an authenticator app?
For phishing resistance, yes. An authenticator app shows a six-digit code that you can be tricked into typing into a fake site, and modern phishing kits relay codes in real time. A YubiKey with FIDO2 only authenticates to the real site, so a fake page gets nothing useful. Authenticator apps are still far better than SMS codes.
How much does a YubiKey cost?
As of November 2026 on Yubico's store, the Security Key Series costs $29, the YubiKey 5 Series costs $58, and the YubiKey Bio costs $98. FIPS-validated models for government use cost $88 to $115. Buying two keys is the recommended minimum, so budget roughly $58 to $116 for a pair.
Can a YubiKey be hacked?
No authentication method is perfect. In September 2024 Yubico disclosed a moderate side-channel vulnerability in a cryptographic library used by keys with firmware before 5.7.0, which required physical access and specialist equipment to exploit. The practical lesson is to keep firmware current and to treat a lost key as compromised until you remove it from your accounts.
Does a YubiKey need batteries or charging?
No. A YubiKey draws power from the USB port or from the phone's NFC field when you tap it. It has no battery, no moving parts and no screen, which is why it is water and crush resistant.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Yubico's own store and product pages and US government phishing guidance recommending phishing-resistant authentication.
How we write and fact-check →