A hardware security key is a small physical device you plug in or tap to prove it is really you.
This guide is for anyone who has heard of security keys, such as the YubiKey, and wants to know what they do and whether they need one. You do not need any technical background. If your business holds money, client files or email that others would like to read, a key for the people with the most access is worth a look.
In short
- A security key is a second sign-in step you hold in your hand, usually a USB stick or a tap-to-use card.
- It checks which website is asking, so a fake look-alike site gets nothing it can reuse.
- It suits people who are likely targets: admins, finance staff, public figures and anyone handling sensitive work.
- Always register a spare key and keep a backup way in, because a lost key can lock you out.
What you will learn
- Explain what a hardware security key does in one sentence.
- Explain why a key resists fake login pages better than a text code.
- Check whether your main accounts accept a key.
- Plan a spare key and a backup way in before you rely on one.
- Sign-in key (hardware security key)
- a small device that proves you are you by touch, not by typing a code.
- Second sign-in step (multi-factor authentication)
- an extra check after your password, such as a code, an app prompt or a key.
- Fake-page proof (phishing-resistant)
- a sign-in method that a fake look-alike website cannot easily trick.
What is a hardware security key?
Think of a car key that only starts your own car. Someone can build a car that looks just like yours, but your key will not start it, and they learn nothing useful from you trying.
A hardware security key works in a similar way. It is a small device, often on a key ring. You plug it into a USB port or tap it on your phone. When you sign in, the website asks the key to prove it belongs to you, and you touch the key to say yes.
The key holds a secret code, called a private key, that stays on the device. Each website gets its own pair of codes, and the website keeps only the public half.[3] The key also checks the web address it is talking to. So a look-alike site gets no answer it can reuse.[3]
Most keys today follow shared rules called FIDO2, written by an industry group, the FIDO Alliance. Our FIDO2 and WebAuthn for Beginners page explains those rules. This page is about the physical key itself.
Where the comparison stops working: a car key is the only thing you need to drive away. Many accounts still ask for your password as well, and some keys also ask for a PIN or a fingerprint.
Why does it matter?
Text codes and app codes can be typed into a fake page by mistake. A key gives nothing to type. A US government cyber defence agency calls this kind of sign-in the "gold standard" for multi-factor authentication.[1]
If you are a likely target
What could happen: a journalist, campaigner or public figure is sent a convincing fake login page aimed at them alone.
Check this: see whether your email provider offers a high-risk protection scheme. Google's scheme requires a passkey or a security key.[4]
If you run a small business
What could happen: the person who pays suppliers signs in on a fake page, and someone changes bank details.
Check this: start with keys for whoever controls email, banking and admin accounts.
If you are new to IT work
What could happen: you hand out keys, but nobody plans for the day someone loses one.
Check this: write down how a lost key is reported, removed and replaced.
Next: Passkey account recovery
What does it look like?
Here is a made-up security settings page for an email account, after a key has been added.
Example only. All values are made up.
Account: [email protected] 2-step verification: ON Security key "Blue key ring" added 03 Mar 2026 (1) Security key "Spare, home safe" added 03 Mar 2026 (2) Text message to ***0000 added 2019 (3) Backup codes: 10 left, printed 03 Mar 2026 (4)
- The key you carry each day. The name helps you spot it in the list.
- A second key, kept somewhere safe in case the first is lost.
- An old text code option. It is a weaker way in. A fake page could still trick you into using it.
- One-time backup codes, kept offline, for when no key is to hand.
Why this is risky: the account is only as strong as its weakest way in. While text codes stay switched on, a trickster can aim for those instead of the key.
The safer way: keep two keys and printed backup codes, then consider removing weaker options where the service allows it.
How does it work?
- You add the key. In your account's security settings you choose "add security key", plug it in or tap it, and touch it. The site saves the public half of a new code pair.
- You sign in later. You type your username, and maybe your password. The site then asks for your key.
- The key checks the site. Your browser tells the key which web address is asking. The key answers only for the site it was set up with.[3]
- You touch the key. The touch shows a person is present. The key then signs a fresh challenge, and the site checks it against the public half.
- You are in. Nothing reusable was typed, so a copy of the exchange does not help anyone sign in later.

Keys come in a few shapes. Some plug into a USB port. Some also work by tapping on a phone, using short-range radio called NFC. Phones and laptops can also act as a built-in key, which is what a passkey on your phone does.[1][2] A passkey can also be stored on a hardware key, where it stays on that one device rather than syncing to others.[3]

A worked example
Quinn Marlow runs Wren Joinery, a small firm with six staff. Quinn's office manager, Nadia Tanaka, pays the suppliers and looks after the company email.
One Monday, Nadia gets an email that looks like it is from the email provider. It says her mailbox is full and asks her to sign in. The page looks right, so she types her password. Up to now, the firm has used text codes, and she would normally type the code too.
But last month, Quinn bought two security keys for each of them. Nadia set hers up on her work email, with the spare locked in the office safe. This time the page asks for her key, and nothing happens when she touches it. The address in the bar is slightly wrong. The key had no code pair for that address, so it gave no answer.
Nadia closes the page and tells Quinn. Together they change her password from the real settings page, using a bookmark. They check the account's recent sign-in list and see no unfamiliar sign-ins in the records they can see. They also switch off text codes, so the key and printed backup codes are the only second steps left.
Real companies have seen the same thing. Cloudflare said that in July 2022 at least 76 staff were sent fake login texts and three entered their passwords. Its staff used security keys, so the attacker could not get past that step.[5]
Myths and mistakes
| What people think | What is true |
|---|---|
| A key is only for big companies or spies. | Many everyday email and social accounts accept keys, and they are bought for a few people at a time. |
| If I lose my key, someone can get into my accounts. | A finder usually still needs your password, and often a PIN. Remove the lost key from your accounts anyway. |
| One key is enough. | Register a spare at the same time. Without one, a lost key can mean a slow recovery process. |
| Adding a key makes the account safe on its own. | Weaker options, such as text codes, may still be switched on. Remove them where the service allows it. |
| A key works everywhere. | Not every service or app supports keys. Check each account's security settings. |
What can I do this week?
- List your three most important accounts, usually email, banking and any admin account.
- Check each one's security settings for a "security key" or "passkey" option.
- If you buy keys, buy two per person and look for a FIDO2 or FIDO certified label.
- Register both keys on the same accounts on the same day, then print backup codes.
- Store the spare and the codes somewhere safe that is not your bag or desk drawer.
Checklist
- I know which of my accounts accept a security key.
- Each person with a key has a registered spare.
- Backup codes are printed and stored offline.
- The spare key is kept apart from the main key.
- Weaker second steps, such as text codes, are removed where possible.
- We know how to remove a lost key from each account.
- Admin, finance and email owner accounts are covered first.
Common questions
Is a security key the same as a passkey?
Not quite. A passkey is a type of sign-in code. It can live on your phone, your laptop or a hardware key. A hardware security key is the physical device. A passkey stored on a key stays on that one key rather than syncing to your other devices.
Do I need a YubiKey specifically?
No. YubiKey is one well-known brand. Several makers sell keys that follow the same FIDO2 rules. Check the key works with your computer's ports and your phone, for example USB-C or tap-to-use NFC, and that it carries a FIDO certified label.
What happens if I lose my key?
Sign in with your spare key or a backup code, then remove the lost key from your account settings. If you have no other way in, you face the provider's account recovery process. Google warns this can take several working days.[2]
Can a security key be hacked?
Keys are designed so the secret code does not leave the device. The common weak point is elsewhere: a weaker backup sign-in method, a tricked help desk or a stolen device that is already signed in. Protect those routes as well.
Who should get a key first?
Start with the people a criminal would most like to fool. CISA suggests putting administrators and other high-value targets first, rather than everyone at once.[1] In a small firm, that usually means whoever controls email, money and admin settings.
Where next?
Ready for the detail? Read the practitioner guide: Hardware Security Keys Guide. It goes further into PINs and reset rules, how organisations check which key models are allowed, and how to issue and replace keys at scale.
Also useful:
- FIDO2 and WebAuthn for Beginners
- Passkeys for Beginners
- Authenticator Apps for Beginners
- Adversary-in-the-Middle Phishing for Beginners
Related NHI Mgmt Group resources: Passwordless vs Phishing-Resistant MFA · Certificate-Based Authentication vs FIDO2 · Account Recovery and Help Desk Security Guide
Key terms
- Hardware security key
- A small physical device that proves who you are when you sign in.
- Multi-factor authentication
- Signing in with more than one kind of proof, such as a password plus a key.
- Phishing-resistant MFA
- A second sign-in step that a fake website cannot easily trick or reuse.
- FIDO2
- Shared rules that let devices and keys sign you in without a typed code.
- Passkey
- A sign-in code built on FIDO2 that can replace a password.
- Authenticator
- The thing that proves you are you, such as a phone, an app or a key.
Sources and further reading
- Implementing Phishing-Resistant MFA (fact sheet). Cybersecurity and Infrastructure Security Agency (CISA), October 2022. https://www.cisa.gov/sites/default/files/publications/fact-sheet-implementing-phishing-resistant-mfa-508c.pdf, accessed 28 Nov 2026.
- Use a security key for 2-Step Verification. Google Account Help, Google. https://support.google.com/accounts/answer/6103523, accessed 28 Nov 2026.
- How passkeys work. Passkey Central, FIDO Alliance. https://www.passkeycentral.org/introduction-to-passkeys/how-passkeys-work, accessed 28 Nov 2026.
- Advanced Protection Program. Google. https://landing.google.com/advancedprotection/, accessed 28 Nov 2026.
- The mechanics of a sophisticated phishing scam and how we stopped it. Cloudflare blog, Cloudflare, 2022. https://blog.cloudflare.com/2022-07-sms-phishing-attacks/, accessed 28 Nov 2026.