How to Set Up a Hardware Security Key on Your Accounts
You already use two-factor codes, yet you keep reading about people who typed a perfectly valid code into a convincing fake login page and lost the account anyway.

You already use two-factor codes, yet you keep reading about people who typed a perfectly valid code into a convincing fake login page and lost the account anyway. A hardware security key closes that gap, because it simply refuses to sign in to a site that is not the real one, no matter how good the copy looks.
I recommend keys to small business owners and family members alike, and the hesitation is always the same: it sounds technical and a bit scary to lock yourself out. It is neither, if you set it up in the right order. Here is how.
What a hardware security key actually does
A security key is a small USB or NFC device, about the size of a house key, that stores a cryptographic secret which never leaves it. When you sign in, the website sends a challenge. The key signs that challenge, but only after checking the web address the request came from. If the address does not match the site you registered with, the key does nothing.
That is the core advantage over codes. A six-digit code from an app or a text message can be read off your screen and typed into a phishing site by an attacker in real time. A key cannot be tricked that way, because the check happens in hardware rather than in your judgement on a busy afternoon.
If two-factor authentication itself is new to you, start with two-factor authentication explained without the jargon, then come back here.
Choosing a hardware security key
Most keys today follow the FIDO2 standard, which means one key works across thousands of services. The main choices are about connectors and features, not brands.
| Feature | What to look for |
|---|---|
| Connector | USB-C for most modern laptops and phones, USB-A for older desktops |
| NFC | Lets you tap the key on a phone instead of plugging it in |
| FIDO2 support | Needed for passkeys and passwordless sign-in |
| Price | Basic FIDO2 keys from about 25 to 30, full-featured models around 50 to 75 |
Buy directly from the manufacturer or an authorised retailer, never second-hand from a marketplace listing. A tampered key defeats the whole point.
Most importantly, buy two. One for daily use and one as a backup kept somewhere safe at home. This is not an upsell. It is the single step that prevents lockouts.
How to set up a hardware security key, step by step
The menus differ slightly between services, but the process is nearly identical everywhere.
- Start with your email account. Your email is the reset point for almost everything else, so protect it first. Sign in on a computer and open the account's security settings.
- Find the two-step or two-factor section and look for an option called "security key", "passkey" or "hardware key".
- Add your first key. Insert it or hold it to your phone when prompted, then touch the metal contact or button. If the key supports a PIN, you may be asked to set one of 4 to 8 digits. Choose something you will remember.
- Name the key clearly, for example "Blue key, keyring" or "Backup key, drawer". You will thank yourself later.
- Immediately add your second key in the same session, following the same steps.
- Save fresh backup codes. Most services will offer a list of one-time recovery codes. Print them or write them down. Our guide on where to keep 2FA backup codes covers good storage options.
- Sign out and sign back in using the key, to confirm it works before you rely on it.
Then repeat for your next most important accounts: your password manager, your cloud storage, your bank if it supports keys, your domain registrar if you run a business website, and your main social media accounts.
Budget about 10 minutes per account the first time, less once you know the pattern. For a small team, set aside one hour on a quiet afternoon and do it together, with each person bringing both of their keys. Keep a simple list of which accounts each key is registered on, because when a key goes missing you will need to remove it everywhere, and nobody remembers that list from memory.
The common advice I disagree with: remove every other method
Some security guides say that once you have a key, you should delete all your other second factors, especially text messages, so that attackers have no weaker path into the account. For high-risk people such as journalists or executives, that is good advice, and some providers offer an advanced protection mode built around it.
For most people and small teams, going straight to keys-only causes more harm than it prevents. The most common way people lose access to an account is not hacking. It is losing a phone or a key and having no way back in. I have helped more people recover from lockouts than from breaches.
A sensible middle path looks like this: two registered keys, printed backup codes stored safely, and an authenticator app as a fallback. Remove text message codes once the rest is working, because SIM swapping makes them the weakest link. That combination is strong enough for almost everyone and forgiving enough that one lost item is a minor annoyance rather than a crisis.
Using a key day to day
- Keep the main key on your keyring. If you always have your house keys, you will always have it.
- Keep the backup at home, not in the same bag. A drawer, a small safe or with important documents works well.
- Expect fewer prompts than you fear. Most services remember a trusted device for weeks, so you will touch the key mainly on new computers or after clearing cookies.
- On phones, a USB-C key plugs straight into most Android phones and recent iPhones, and NFC keys work with a tap.
- If you lose a key, sign in with the backup straight away and remove the lost one from every account. Then order a replacement.
Keys also work as passkeys on many services, letting you skip the password entirely. If that interests you, read passkeys explained and when to replace your passwords.
Frequently asked questions
What happens if I lose my hardware security key?
If you registered a backup key or saved recovery codes, you sign in with those and remove the lost key from your accounts. Without any backup, you may face a slow account recovery process that can take days. That is why you should always register two keys from the start.
Is a hardware security key better than an authenticator app?
For phishing protection, yes. An authenticator app code can be typed into a fake site, while a key checks the real web address before it responds. Apps remain a useful backup method, and both are much stronger than text message codes.
Do I need a separate security key for each account?
No. One FIDO2 key can be registered with dozens of accounts, and each service gets its own unique credential stored securely on the key. You only need a second key as a backup, not one per account.
More in Passwords and Accounts
Passwords and Accounts
How to Leave Emergency Access to Your Password Vault
A reader wrote to us in October about her father. He had done everything we usually recommend: a password manager with about...
Passwords and Accounts
How to Share Passwords With Family Without Texting Them
Scroll back through a family group chat and you will often find a password in it.
Passwords and Accounts
How to Move an Authenticator App to a New Phone Safely
A new phone arrives, you wipe the old one and trade it in, and the next morning your email asks for a six-digit code from an...