A hardware wallet is a small dedicated device that stores your private keys and signs transactions inside itself, so the keys never touch your internet-connected computer or phone. You probably need one if you hold crypto yourself in amounts you couldn't afford to lose. It won't save you from a lost recovery phrase, a fake device or approving a transaction you didn't read.
What does a hardware wallet actually store?
A hardware wallet stores keys, not coins. Your coins are entries on a blockchain, and whoever controls the private key can move them.
Most devices create a recovery phrase of 12 or 24 words during setup, and every key in the wallet is derived from it. So the device is replaceable: if it breaks, you can rebuild the wallet on a new one from the phrase. So can anyone else who gets the phrase. Our guide to seed phrases covers that backup in depth.
This puts a hardware wallet on the self-custody side of the custodial versus self-custody choice. No support desk can reset your access.
How does signing offline work?
The device keeps the key separate from the machine that talks to the internet. Here's what happens when you send coins:
- Your computer or phone builds the transaction. Wallet software on your computer or phone looks up your balance and drafts a transaction: amount, recipient address and fee.
- The unsigned transaction goes to the device. It travels over USB, Bluetooth, a QR code or a memory card, depending on the model.
- The device shows you the details. A good device displays the recipient, the amount and the fee on its own screen, which malware on your computer can't alter.
- You approve with a button or touch. The device signs the transaction internally with your private key.
- Only the signature comes out. The signed transaction goes back to the computer, which broadcasts it. The key never leaves the device.
Step 3 matters most. Malware on your laptop could show you one address and send a different one to the device. The device's screen is the display you can trust, but only if you read it.
What is a secure element?
A secure element is a tamper-resistant chip of the same kind used in bank cards and passports. Trezor's documentation describes it as a chip "designed to securely store secrets and enforce access controls." Many hardware wallets use one to resist an attacker who has the device in hand.
The chip's main jobs are to enforce your PIN and to make physical attacks expensive. In one manufacturer's design, the secure element erases its secret and the device resets after 16 wrong PIN attempts, so a thief can't guess forever. Certified chips are tested against fault injection, or glitching a chip to make it skip a check, and side-channel analysis, which reads secrets from tiny changes in power use or timing.
Designs differ, and each choice is a trade-off:
| Design choice | What it does | Trade-off |
|---|---|---|
| Secure element chip | Resists physical extraction of keys | Its internals are often less open to public review |
| General-purpose chip only | Fully open design that anyone can review | Easier to attack with physical access |
| USB or Bluetooth connection | Convenient, works with phone and desktop apps | A cable or radio link to an online device |
| Air-gapped (QR codes or memory card) | No data connection to an online device | Slower, and you still must check what you sign |
| Touchscreen or large display | Easier to read full addresses and details | Larger and usually more expensive |
No design helps if you type your recovery phrase into a website or never check what the screen says.
What a hardware wallet protects against, and what it doesn't
A hardware wallet solves one specific problem: keeping keys away from malware.
| Threat | Does a hardware wallet help? |
|---|---|
| Malware on your computer stealing keys | Yes. The key never reaches the computer. |
| An exchange collapsing or freezing withdrawals | Yes, if your coins are on the device's addresses and not on the exchange |
| A thief stealing the device | Mostly. They also need your PIN, and secure elements limit guessing. |
| Losing the device | Yes, if you have a working recovery phrase. No, if you don't. |
| Someone finding your written recovery phrase | No. The phrase rebuilds the wallet anywhere. |
| Typing your phrase into a fake app or website | No. That hands over the whole wallet. |
| Signing a malicious approval on a scam site | No. Wallet drainers get you to sign, and the device signs what you approve. |
| Pasting a lookalike address | No, unless you check the full address on the device screen |
The last three rows cause most losses. A hardware wallet signs exactly what you approve, so it protects you only as far as you read what you approve.
Supply-chain and fake-device attacks
A supply-chain attack targets the device or software before it reaches you. These attacks are rare but well documented.
A counterfeit device from a classifieds site. In May 2023, Kaspersky published its analysis of a fake Trezor Model T that a victim bought through a classifieds website. The box and seals looked intact. Inside, the chip had been swapped and the firmware altered so the "random" recovery phrase was one of 20 the attackers had chosen in advance. They waited about a month after the first deposit, then took the funds.
A fake replacement in the mail. A 2020 breach of Ledger's e-commerce and marketing database exposed more than 1 million email addresses, and Ledger later confirmed that about 272,000 detailed customer records with names, postal addresses and phone numbers were posted online in December 2020. In 2021, some owners received packages containing a tampered Nano X with a flash drive wired to its USB connector. A letter claimed it was a security replacement. Its instructions asked victims to run software from the device and enter their recovery phrase, which sent the phrase to the attackers.
Poisoned software around the device. On December 14, 2023, an attacker phished a former Ledger employee and published malicious versions of Ledger's Connect Kit, a code library that many apps loaded. According to Ledger's incident report, the code ran a drainer that tricked users of affected apps into signing approvals and transfers. The device hardware wasn't compromised. The report says the active draining window lasted under two hours. In its response, Ledger said it would push to remove blind signing as an option.
The lesson from all three is the same. Buy only from the manufacturer or an authorized reseller, never use a device that arrives with a recovery phrase already set up, and never type your phrase into a computer or phone.
Why blind signing is the weak point
Blind signing means approving a transaction the device can't show in readable form. The screen shows a hash or raw data instead of "send 1 ETH to this address." Smart-contract calls on Ethereum and similar chains often look like this, especially on older devices.
The largest example is the February 21, 2025 theft from the exchange Bybit, which the FBI attributed to North Korea and put at about $1.5 billion. Attackers tampered with the web interface the exchange's signers used for a multisignature wallet. An analysis by NCC Group concluded the signers blind-signed messages without carefully checking their contents, trusting what the compromised interface displayed. NCC Group also notes that the underlying data was not human-readable, and that a hardware wallet able to clear-sign the message can mitigate this kind of attack.
Clear signing is the opposite: the device decodes the transaction and shows what it does in plain terms. Prefer it, and treat any request you can't read on the device as a reason to stop.
How should you back up and test your recovery phrase?
A few backup practices matter more than which device you buy:
- Write the phrase down offline. Use paper or a metal backup. Don't photograph it, store it in cloud notes or email it to yourself.
- Test the backup before you rely on it. With a small amount in the wallet, reset the device or use a second one and restore from your written words. Many devices also have a built-in check. A phrase you've never tested is a guess.
- Consider a passphrase, with care. BIP-39, the standard behind most recovery phrases, allows an optional extra passphrase. Every passphrase opens a valid wallet, so a typo opens an empty one rather than an error. Forget it and the funds are gone.
- Store copies against fire, flood and theft. Think about who could find the phrase, and who would need it if something happened to you. We'll cover passing on crypto when you die separately.
- Understand any recovery service before you use it. In May 2023, Ledger launched Recover, an opt-in paid service that encrypts the phrase into three shards held by three companies. Security experts criticized it because the firmware could now send the secret off the device, even in encrypted form, while Ledger argued the trust model hadn't changed. Services like this trade some self-custody for an identity-based backup. Decide whether that trade fits you, rather than enabling it by default.
Do you need one?
It depends on how much you hold, where you hold it and how you use it. A rough guide:
| Your situation | A hardware wallet is |
|---|---|
| You hold small amounts on an exchange and don't withdraw | Probably unnecessary. Focus on account security first. |
| You're buying crypto for the first time | Optional at first, worth it once balances grow |
| You hold a meaningful amount for the long term | Strongly worth it |
| You use DeFi apps often | Useful, but only with careful reading of every request |
| You'd struggle to keep a recovery phrase safe | Risky. Weigh a reputable custodian or a wallet with other recovery options. |
Moving coins off an exchange removes one risk, the exchange failing, and adds another, your own mistakes. If losing your holdings would change your life, ask whether you're ready to own the backup as well as the device. For more on protecting accounts and devices, see our wallets hub.
Key takeaways
- A hardware wallet keeps private keys on a dedicated device and signs inside it, so malware on your computer can't copy the keys.
- The device protects keys, not judgment. It signs whatever you approve, so read the details on its own screen.
- Secure elements make physical attacks and PIN guessing much harder, but no design protects a recovery phrase you type into a computer.
- Real fake-device and supply-chain attacks exist. Buy direct or from authorized resellers, and reject any device with a preset phrase.
- Blind signing played a part in the roughly $1.5 billion Bybit theft. Prefer clear signing, and stop when you can't read a request.
- Your recovery phrase backup matters more than the device. Write it offline, test a restore and plan who could ever need it.
Sources
- Trezor: secure elements in Trezor Safe devices
- Kaspersky: case study of a fake hardware crypto wallet
- Ledger: update on the 2020 data breach
- Ledger: Connect Kit security incident report
- FBI: North Korea responsible for $1.5 billion Bybit hack
- NCC Group: technical analysis of the Bybit hack
- BIP-39: mnemonic code for generating deterministic keys
Get the weekly commit
New blockchain deep dives every week.

