A hardware wallet is a small dedicated device that creates and keeps your Bitcoin private keys and uses them only inside itself. Software wallets keep keys on internet-connected phones and computers; a hardware wallet keeps them in a device built for one job, which makes remote theft very hard. In the earlier lessons on what a Bitcoin wallet is and how seed phrases work, you saw that controlling your keys means controlling your bitcoin. A hardware wallet, also called a cold wallet, is the most tested way to keep that control without exposing the keys to the internet.
This lesson explains how these devices work, what makes them secure, what they can’t protect you from, and when to get one.
What Is a Hardware Wallet?
It’s a small electronic device, about the size of a USB stick or a small phone, whose job is to generate, store and use your private keys without exposing them to a networked computer.
Think of it as a signing machine. It doesn’t store bitcoin (bitcoin lives on the blockchain). It holds the keys that prove you own your bitcoin and signs your payments: a vault for keys, not for coins.
Why Keeping Keys Off Your Computer Is the Whole Point
The idea is simple: if your private keys never sit on an internet-connected device, they can’t be copied remotely. Malware on your laptop, a hacked email account or a fake website can’t reach keys that exist only inside the hardware wallet.
- The seed is created on the device, by its own random number generator (some devices also mix in randomness from your computer), and your computer never sees it.
- Private keys never leave it: signing happens inside.
- It has its own screen, where you check the address and amount you’re approving. Malware on your computer can’t change what that screen shows.
- Every payment needs a physical confirmation: a button press or a tap on the device.
So even if an attacker fully controls your computer, the worst they can do is show false information on your monitor. As long as you check the details on the device’s own screen, they can’t redirect your payment.
How Hardware Wallets Work
Step 1: Key Generation
When you set up a new device, it generates a random seed and shows it as your seed phrase: 24 words on a Ledger, 12 or 24 on a Coldcard, 24 by default on a BitBox02 (saved to a microSD card unless you choose to write the words), and on Trezor Safe devices 20 words by default (a different standard, SLIP-39, explained in Seed Phrases Explained). This happens inside the device, and your computer never sees the words (Trezor and BitBox02 do mix in extra randomness from your computer or phone).
You write the words down (and later perhaps stamp them in metal: see seed phrase storage best practices). They’re the master backup of all your keys. The device then keeps the seed internally.
Advisory, July 2026 (checked 5 November 2026): a device’s generator can fail. A firmware flaw made some Coldcard devices create seeds with far less randomness than intended, and wallets were emptied. Current Coldcard firmware makes you add your own randomness (key presses, dice or coin flips) before it creates a seed. On other devices, adding dice is optional and the normal setup is fine; careless rolls can make a seed weaker (the FAQ of Seed Phrases Explained says when dice help). If a Coldcard made your seed, read our Coldcard advisory; How to Set Up a Hardware Wallet shows where dice fit in setup.
Step 2: Secure Key Storage
The keys live inside the device. Many modern devices use a secure element, a tamper-resistant chip built to protect secrets (more below). Your keys now exist in two places: the words you wrote down and the device. Not on your computer, your phone or any server.
Step 3: Transaction Signing
- The companion app on your computer or phone (Ledger Wallet, formerly Ledger Live; Trezor Suite; Sparrow; Electrum) builds an unsigned transaction: “send X bitcoin to address Y”, but with no signature yet, like a cheque nobody has signed.
- It’s sent to the hardware wallet by USB, Bluetooth, QR code or microSD card, depending on the device.
- The device shows the destination address and amount on its own screen. You check them.
- You confirm on the device, which signs inside.
- The signed transaction goes back to the app, which broadcasts it to the Bitcoin network.
The private key never left the device; only the signature did. With honest firmware, recovering the key from signatures is computationally infeasible. That “honest firmware” matters: in 2024 researchers showed an attack called Dark Skippy in which malicious firmware leaks the whole seed hidden inside as few as two of its signatures. The leak rides inside the signed transaction, so neither a USB cable nor an air gap stops it. It hasn’t been seen in the wild. The defences: install firmware only through the maker’s official app or verified download, buy the device new from the maker, and, if you want extra assurance, use a device with “anti-exfil” signing, in which your computer adds its own randomness to each signature so the device can’t hide data in it (the BitBox02 and Blockstream Jade offer it, with two limits: it works only when the wallet app runs the check, as BitBox’s and Blockstream’s own apps do, and not yet for Taproot addresses, which start with bc1p).
The Companion App Is a Window, Not a Vault
The app can’t spend without the device, but it does see your addresses, balance and history, and the maker’s servers that the app talks to may see them too. That’s a privacy trade-off, not a theft risk. The Electrum lesson shows how to pair a hardware wallet with Electrum and your own server for more privacy, and Course 5 covers network privacy.
Cold Wallet vs Hot Wallet: Why Cold Storage Matters
If you’ve used a phone wallet or a desktop wallet like Electrum on its own, you’ve used a hot wallet: the keys sit on an internet-connected device. A cold wallet keeps them off it.
The Risks Hot Wallets Face
- Malware that copies keys from a wallet’s memory or files
- Clipboard hijacking: malware swaps a copied address for the attacker’s
- Remote access: someone controlling your device controls your keys
- Operating-system flaws that compromise even well-maintained systems
What Cold Storage Changes
With the keys on a hardware wallet, malware has nothing to copy and remote access doesn’t reach the keys. What it can’t change is you: if you type your words into a fake app or website, the hardware wallet can’t help (see below). For more scenarios, read Bitcoin cold vs hot wallet security.
The Practical Rule of Thumb
Hot wallets are fine for small amounts you spend, like cash in a pocket. Cold storage is for savings: whatever you’d be genuinely upset to lose. Many people use both. Where to draw the line is personal; some move to cold storage at $500, others at $1,000 or $5,000. The principle is the same: don’t keep significant value on internet-connected devices.
Air-Gapped Hardware Wallets
A standard hardware wallet connects to your computer by USB (some also by Bluetooth). An air-gapped wallet never makes a direct electronic connection to another device: there’s a literal gap of air between it and anything networked.
How Air-Gapped Communication Works
- QR codes: your computer shows the unsigned transaction as a QR code; the device scans it with its camera, signs, and shows the signed transaction as a QR code for your computer’s webcam.
- microSD card: you save the unsigned transaction to a card, put it in the device, sign, and carry the card back.
Air-Gapped Devices (Checked November 2026)
| Device | Air Gap Method | Notes |
|---|---|---|
| Coldcard Mk5 (replaced the Mk4) | microSD (NFC optional) | Bitcoin-only; see the July 2026 advisory above |
| Coldcard Q | microSD + QR | QWERTY keyboard, larger screen |
| Keystone 3 Pro | QR codes (USB with some wallets) | Large touchscreen, multi-chain, with Bitcoin-only firmware available |
| Blockstream Jade | QR codes (Jade Classic and Jade Plus); SD card or USB drive (Jade Plus) | Most affordable air-gapped option; can also use USB or Bluetooth. The Jade Core has no camera, so it connects only by USB or Bluetooth |
| Foundation Passport Core (discontinued) | QR + microSD | Foundation now sells the Passport Prime, which we have not reviewed |
What an Air Gap Adds, and What It Doesn’t
Removing the USB and Bluetooth link removes a channel that can carry far more data than you see, and with it a class of attacks on that connection. With QR codes or microSD, what passes between the devices is a single transaction you can inspect. But an air gap doesn’t stop a device with malicious firmware from leaking secrets inside its signatures (Dark Skippy, above), so it complements genuine firmware rather than replacing it.
Is an air gap necessary? No. USB hardware wallets like Ledger and Trezor have strong track records. It’s an extra layer of isolation for people who want to minimise every channel, especially for large amounts.
Secure Element Chips
What Is a Secure Element?
A secure element (SE) is a chip designed to store secrets and do cryptography in a way that resists physical attack. You already carry them: in bank cards, passports and SIM cards. They’re engineered to resist opening the chip, voltage glitching (power spikes that cause errors), side-channel analysis (reading power use or radio emissions to infer a key) and microprobing. Chips are rated by independent labs under the Common Criteria scheme; “EAL5+” and “EAL6+” are assurance levels, and higher means more rigorous evaluation.
Secure Elements in Hardware Wallets
| Device | Secure Element | Notes |
|---|---|---|
| Ledger Nano S Plus, Nano Gen5, Flex, Stax | STMicroelectronics ST33K1M5 | CC EAL6+ |
| Ledger Nano X | STMicroelectronics ST33J2M0 | CC EAL5+ |
| Trezor Safe 3 / Safe 5 | Infineon OPTIGA Trust M (V3) | CC EAL6+ |
| Trezor Safe 7 | OPTIGA Trust M plus Tropic Square TROPIC01 | Trezor calls TROPIC01 an independently auditable secure element |
| Coldcard Mk4 / Mk5 / Q | Microchip ATECC608 + Maxim DS28C36B | Two secure elements from different vendors |
| Keystone 3 Pro | Microchip ATECC608B, Maxim DS28S60, Maxim MAX32520 | Three chips, per Keystone |
| BitBox02 | Microchip ATECC608B | The BitBox02 Nova uses Infineon OPTIGA Trust M V3 |
| Blockstream Jade | None | Uses a “virtual secure element”: a Blockstream server helps unlock the device without learning the key |
The Open-Source Trade-Off
Most secure elements are proprietary: their internal design can’t be independently audited. That splits the Bitcoin community:
- For SEs: they resist physical attacks better than general-purpose chips, are certified by independent labs, and the wallet firmware that uses them can still be open source.
- Against SEs: you’re trusting a black box from a chip maker. If it were flawed or backdoored, you couldn’t tell. Some prefer hardware and firmware where everything can be audited.
Makers answer this differently. Coldcard uses two chips from different vendors so neither alone holds the full secret. Trezor’s Safe 7 adds TROPIC01, presented as auditable. Blockstream Jade skips the SE and uses an encrypted connection to a “blind oracle” server that helps check the PIN without learning the key; it’s fully open source but normally needs that server to unlock (more in our Jade review). See also open-source hardware wallets: why they matter.
What Hardware Wallets Protect Against (and What They Don’t)
What a Hardware Wallet DOES Protect Against
- Malware and keyloggers: the keys aren’t on your computer, and you never type them there.
- Remote hacking: an attacker across the world has no direct route to keys in a device in your drawer; remote theft needs a faulty or tampered device, as with the Coldcard seed flaw and Dark Skippy above.
- Address swapping: if malware changes the address on your monitor, you’ll catch it by checking the address on the device’s screen.
- A malicious companion app can’t extract keys from the device; it can only ask you to approve something, which you check on the device.
- Some supply-chain tampering, if you run the check: during setup, the maker’s check confirms the device is genuine (Ledger Wallet’s Genuine Check; Trezor Suite’s check of the secure chip; on a Coldcard, which has no app, the serial number on screen at first start-up must match its sealed bag). You have to run it and stop if it fails. It can’t catch everything, as the next list shows.
- SIM swaps, where a thief takes over your phone number: hardware wallets don’t rely on it.
What a Hardware Wallet Does NOT Protect Against
- Typing your words into anything else. A hardware wallet can’t stop you entering your seed phrase into a fake app, a fake website, a form or a “support” chat. Type your words only on the device itself. Fake companion apps, fake firmware-update prompts and fake support are among the most common ways hardware-wallet owners lose funds; The Scams That Empty Self-Custody Wallets shows how each one works.
- Losing your seed phrase: if the device breaks and you have no backup, the bitcoin is gone. The device is replaceable; the words aren’t.
- Physical coercion (“$5 wrench attack”): someone who forces you to unlock and send will get what they want. Some devices offer duress PINs and decoy wallets, but the first defence is not letting people know what you hold (Course 5: physical security and coercion).
- Approving the wrong address: the device signs what you approve. Check the address on its screen, character by character.
- A device tampered with before it reached you. A used or “discounted” device may come with a seed the seller knows, or modified hardware. In October 2026 Ledger confirmed a hidden implant that copied the recovery words during setup in a device sold by CryptoBilis, an authorised reseller in Southeast Asia; such implants aren’t necessarily caught by the authenticity check. Buy new, directly from the maker’s own store (our advisory).
The Golden Rule
Check the address and amount on the hardware wallet’s own screen before you approve, and type your words only on the device. The device screen is your source of truth, never your monitor.
When to Get a Hardware Wallet
You don’t need one to learn with a few dollars; a reputable phone wallet is fine for that (see custodial vs non-custodial wallets). Get one when:
- You hold more than you’d be comfortable losing. Be honest about the number.
- You plan to hold for years.
- Before your first significant purchase, so you can withdraw straight to it.
Ledger vs Trezor and Beyond compares the main brands so you can choose, How to Set Up a Hardware Wallet walks you through setup, and Your First Withdrawal shows how to move your bitcoin from an exchange onto it.
Frequently Asked Questions
What happens if my hardware wallet breaks or is stolen?
Your bitcoin isn’t lost if you have your backup: restore it on a new device. A 12- or 24-word BIP39 backup restores on another device of the same brand or on most other brands. A Trezor Safe’s default 20-word backup restores on Trezor devices and on wallets that support SLIP-39 (Trezor lists Keystone among hardware wallets, plus Sparrow, Electrum and others), not on every brand. A thief would also need your PIN, and most devices wipe themselves after a set number of wrong attempts.
Can a hardware wallet be hacked?
Not easily, and almost never remotely. Physical attacks on older models are real, not just lab demos: in 2022 the hardware hacker Joe Grand used voltage glitching on an old Trezor One running outdated firmware to recover its PIN and seed, unlocking about $2 million for its owner. The weakness he used had been fixed by Trezor in 2017. Defences: keep firmware current, prefer a device with a secure element, consider a passphrase (which isn’t stored on the device), and rely on the PIN limits. The other real failure didn’t need the device at all: the Coldcard flaw of July 2026 made seeds that could be guessed (see the advisory above). And the most common losses come from people typing their words into fake apps or sites, buying tampered devices or approving addresses without checking them.
Do I need an air-gapped wallet, or is USB fine?
For most people, a USB hardware wallet from a reputable maker is excellent. An air gap removes the USB link as an attack channel, which appeals for large holdings. The gap between any hardware wallet and a software wallet is much bigger than the gap between USB and air-gapped.
Can I use a hardware wallet with any Bitcoin software?
Most work with several apps. Ledger: Ledger Wallet, Sparrow, Electrum and others. Trezor: Trezor Suite, Sparrow, Electrum. Coldcard has no app of its own: Sparrow, Electrum and others. Check that the app lists your exact model. Our Electrum guide covers pairing.
How much does a hardware wallet cost?
On the makers’ own stores, from $59 (Trezor Safe 3) to $399 (Ledger Stax), as of November 2026. This course’s pick for beginners, the Trezor Safe 5, costs $129. Every model’s price is in the comparison table of Ledger vs Trezor and Beyond; our buying guide and comparison chart help you choose.
Check Your Understanding
1. Your computer is infected with malware. What can it still do to you if you use a hardware wallet, and how do you stop it?
Answer
It can show you false information, for example swap the address on your monitor or prompt you to type your words into a fake window. It can’t copy the keys from the device. You stop it by checking the address and amount on the device’s own screen and by never typing your words anywhere but the device.
2. Why isn’t an air gap a complete defence against a device with malicious firmware?
Answer
Malicious firmware can hide your seed inside the signatures it produces (as Dark Skippy showed), and the signed transaction has to leave the device by whatever route you use, QR code included. The defences are genuine firmware from the maker, a device bought new from the maker, and anti-exfil signing where available.
3. Your Trezor Safe broke and you’d like to switch to a Ledger. What do you need to know first?
Answer
Which backup you have. A 12- or 24-word BIP39 backup restores on a Ledger. A 20-word Trezor backup (the default since June 2024) uses SLIP-39 and won’t restore on a Ledger; restore it on another Trezor or a wallet that supports SLIP-39, then move the funds if you want to change brand.
