Deciphr Academy
Track 2 · Module 8 · Lesson 2 of 6 · 6 min read

How does a hardware wallet keep crypto safe?

Short answer

A hardware wallet is a small device built to be a wallet and nothing else. It keeps your private keys offline, which greatly cuts the risk of being hacked, even if someone takes over your computer.1,2 It can still be lost, broken or stolen, so it needs a backup.3,1

ComputeronlineHardware walletkey stays insideunsigned paymentsigned paymentto the networkshows the paymentyou check, then approveThe private key never leaves the device
Fig. 2. The computer prepares a payment. The device shows it on its own screen, you approve it, and the device signs it. The computer then sends it to the network. The private key stays on the device.

Hot and cold wallets

The SEC sorts wallets into two kinds. A hot wallet is connected to the internet, such as a phone, desktop or web app. It is convenient, but it exposes your crypto to online attacks.3

A cold wallet is not connected to the internet. It is usually a physical device, or even a piece of paper.3 It is less convenient, but generally safer from online attacks.3 Cold wallet devices usually cost money, while hot wallets may start out free.3

What a hardware wallet is

Bitcoin.org describes hardware wallets as little devices designed from the start to be a wallet and nothing else. No other software can be installed on them, which makes them very secure against computer weaknesses and online thieves.1

The device stores your private keys offline. According to ethereum.org, the key never touches the internet and stays on the device.2 Keeping keys offline greatly cuts the risk of being hacked, even if a hacker controls your computer.2

Approving a payment

Your computer or phone still does the online part. Bitcoin.org explains the idea: an offline device approves, or signs, a transaction, and an online device sends it to the network.1 In that setup, a hacked online computer can't be used to take funds, because it can't sign.1

There is a catch. A hacked computer could show a changed address on its screen. So one maker tells users to check the receiving address on the device's own screen.4 It also suggests confirming a payee's address another way, such as a phone call.4 Another maker says its device's screen is run by its secure chip, so it shows the real transaction details.5

Even with a hardware wallet, you decide what to sign. ethereum.org suggests reading a transaction message before signing it, and not giving apps unlimited spending limits.2

The PIN

One maker says a PIN stops someone who picks up your device from using it.6 That maker's devices reset themselves after 16 wrong PINs on most models, and after 10 on one model.6 Another maker's reset after 3.5

A reset erases the wallet from the device. Both makers say you can then restore it using your recovery phrase.5,6

If the device is lost

The SEC warns that cold wallet devices can be lost, damaged or stolen, which may mean losing the crypto for good.3 Bitcoin.org notes that a backup lets you recover your funds if you lose the device.1 Lesson 3 covers backups.

Buying one

Attackers also target devices before they reach you. In a trick called pre-seeding, a crook creates a recovery phrase, loads it onto a device or its backup card, and keeps a copy. Once you add funds, they can take them.7

What the makers' own guides say:7,8

  • Buy from the maker or one of its authorised resellers.7,8
  • Check that the packaging hasn't been opened, and that tamper-evident seals are in place.8,4
  • One maker says a genuine device never arrives with a recovery phrase or PIN already set.7
  • You create the recovery phrase yourself, on the device, during setup.8,7
  • One maker ships devices with no firmware. If firmware is already installed, it says not to use the device.8
Naming makers

This lesson cites two hardware-wallet makers' own guides, only to show how such devices work. That is not a recommendation of either brand, or of hardware wallets in general.

Our viewA hardware wallet guards well against a hacked computer. It doesn't guard against you approving the wrong thing, or losing the only backup.
Sources
  1. Securing your wallet. Bitcoin.org, checked 22 October 2026.
  2. Ethereum security and scam prevention. ethereum.org, page updated 6 June 2026.
  3. Crypto Asset Custody Basics for Retail Investors – Investor Bulletin. US Securities and Exchange Commission, Office of Investor Education and Assistance (Investor.gov), 12 December 2025.
  4. Security threats to crypto wallets and how Trezor defends against them. Trezor (hardware-wallet maker's documentation), checked 22 October 2026.
  5. Ledger PIN Code: What You Need To Know. Ledger Academy (hardware-wallet maker's documentation), updated 1 December 2025.
  6. PIN protection on Trezor devices. Trezor (hardware-wallet maker's documentation), checked 22 October 2026.
  7. Best Practices To Securely Buy Your Ledger Signer. Ledger Academy (hardware-wallet maker's documentation), updated 18 September 2026.
  8. Is my device safe to use?. Trezor (hardware-wallet maker's documentation), checked 22 October 2026.

General education built from the publicly available sources listed above. Not financial, legal, tax or investment advice. Naming a company, project or regulator is not an endorsement either way. Last checked 2026-10-22. Terms and disclaimer.