Foundations · Wallets & Security

Hot & Cold Wallets

A hot wallet keeps private keys on an internet-connected device, and a cold wallet keeps them offline. The trade-off is convenience against exposure to remote attacks.

  • Beginner
  • 5 min read
  • Updated

Why it matters

A private key has to be stored somewhere. If that place is a phone or computer connected to the internet, anything that compromises the device may reach the key. If it is kept offline, an attacker far away has much less to work with.

“Hot” and “cold” are the everyday words for that difference. They describe where the keys live. They say nothing about which coins are held, how much they are worth or who owns them.

How it works

Hot wallet vs cold wallet

HOT WALLET

Keys live on an internet-connected device.

  • Convenient for frequent use
  • Larger attack surface: malware, phishing
  • Typical: phone or browser wallets

COLD WALLET

Keys are kept offline.

  • Less convenient
  • Much smaller remote attack surface
  • Typical: hardware wallets

A hot wallet keeps its keys on a device that is routinely online: a browser extension, a desktop program or a mobile app. Signing a transaction takes a tap or a click, which is what makes hot wallets practical for frequent use.

A cold wallet keeps its keys on something that does not connect to the internet. The most common form is a hardware wallet. A transaction is prepared on an online device, passed to the offline one for signing, and the finished signature is passed back for broadcast. The key never leaves the offline side.

In plain words

Compare the cash in a pocket with the cash in a safe at home. Pocket money is ready at any moment and is the first thing a pickpocket reaches. The safe is slow to open and far harder for a stranger to get to. A safe still does not help if the owner hands over the combination.

A range, not two boxes

From most connected to least connected
Browser walletKeys on a computer that also browses the web all day.
Mobile walletKeys on a phone that is nearly always online.
Hardware walletKeys inside a separate device. Only signatures leave it.
Fully offline setupKeys on a device or medium that never touches a network.
Hot and cold are the two ends of a range. Each step down trades some convenience for less exposure.

Real setups sit somewhere along a range. A browser wallet on a computer used for everything is at the hot end. A phone wallet is still hot, though mobile operating systems often isolate apps from each other more strictly than most desktops do. A hardware wallet plugged into an online computer is commonly called cold, because the keys stay inside the device. A device that never touches any network, sometimes called air-gapped, sits at the far end.

Custody is a separate question. An exchange account is neither hot nor cold from the customer’s point of view, because the company holds the keys and decides how to store them. See custodial and non-custodial wallets.

What cold storage changes

Which threats change, and which do not
AspectHot walletCold wallet
Malware on the computer or phoneCan reach the keysKeys are not on that device
Remote break-in over the internetPossibleVery limited
Owner types the seed phrase into a fake siteWallet is lostWallet is lost
Owner approves a malicious transactionFunds can be takenFunds can be taken
Fire, theft or loss of the backupExposedExposed
Cold storage narrows the remote threats. It does nothing about mistakes the owner makes or about the written backup.

Cold storage is aimed at one family of threats: an attacker reaching the keys remotely through the device that holds them. It is generally considered far less exposed to malware, malicious browser extensions and remote break-ins than a hot wallet, for the simple reason that the keys are not on the device under attack.

It does not change three things. A seed phrase typed into a fake website is lost whether the wallet was hot or cold. A malicious request that the owner approves is carried out either way, as described in signing transactions. And the written backup is as exposed to fire, theft and loss as before.

Going deeper

Cold can turn hot. Typing a cold wallet’s seed phrase into a phone or computer, even once, places a copy of the master secret on an online device. From then on the wallet is hot, whatever hardware it started on.

Paper wallets. An older approach was to print a private key or seed phrase on paper and hold nothing else. It is cold, and it is easy to get wrong: the key has to be created on a clean device and typed into software again when the funds are spent.

Several wallets. Because each kind has different strengths, some people keep more than one wallet for different purposes. This page describes the trade-off and makes no suggestion about amounts or arrangements. A short table of the differences is in hot wallet vs cold wallet.

One hypothetical piece of malware, two walletsHypothetical illustration

Sam installs a free program that secretly contains malware. It searches the computer for wallet files and records everything typed on the keyboard.

Hot wallet. Sam’s browser wallet stores its encrypted keys on that computer. The malware copies the wallet file and captures the password the next time Sam unlocks it. The attacker now has the keys and sends the funds out.

Cold wallet. Sam’s other wallet is a hardware device. The malware finds no keys on the computer, because none are there.

The second wallet is not immune. If the malware shows Sam a convincing page asking for the hardware wallet’s seed phrase “to restore a connection”, and Sam types it, the result is the same as in the first case.

What it does NOT mean

  • Cold does not mean unhackable. It means the keys are offline. The owner can still be deceived.
  • Hot does not mean careless. A hot wallet is a reasonable tool for frequent use. It carries more remote exposure by design.
  • Cold storage does not protect the seed phrase. The backup is a separate object with its own risks.
  • Offline does not mean out of the network’s reach. A cold wallet’s balance is public on the blockchain, and funds can be received while the device is in a drawer.
  • A cold wallet does not check what it signs for you. It signs what the owner approves.

Common mistakes

  1. Entering a cold wallet’s seed phrase into an app. One entry on an online device removes the reason for having the cold wallet.
  2. Calling an exchange balance “cold storage”. The company may store keys offline, but the customer holds a claim and not the keys.
  3. Relaxing because the keys are offline. Phishing and malicious approvals work against cold wallets as well.
  4. Forgetting the backup. A cold device with a lost seed phrase is one hardware failure away from permanent loss.

Risks and limitations

  • Cold storage adds steps, and extra steps create their own errors: misplaced devices, forgotten PINs and backups that were never checked (see the backup-check rule in the security checklist).
  • Offline devices and paper can be stolen, damaged or destroyed.
  • Hot wallets depend on the security of the whole device, including every other program installed on it.
  • The labels are informal. Two products described as “cold” can differ a great deal in how isolated the keys really are.

Key takeaway

Hot and cold describe whether a wallet’s keys sit on an internet-connected device or offline. Cold storage reduces remote attacks on the keys and leaves phishing, bad signatures and backup loss exactly where they were.

Sources and further reading

  • Mastering Bitcoin, Andreas M. Antonopoulos. Chapters on wallets and on security practices, including offline storage of keys
  • Mastering Ethereum, Andreas M. Antonopoulos and Gavin Wood (2018). Chapter on wallets and key management
  • Trezor Learn: What is a hardware wallet? (opens in a new tab). A hardware wallet signs inside the device, and the private key never leaves it