Hardware Wallet
A hardware wallet is a small physical device that generates and stores cryptocurrency private keys offline and signs transactions internally, so the keys never touch an internet-connected computer or phone.
A hardware wallet keeps private keys inside the device, often in a dedicated secure chip. To make a transaction, wallet software on a computer or phone prepares it and sends it to the device. The device shows the details on its own screen, the user confirms with a physical button press, and the transaction is signed inside the device. Only the signed transaction goes back to be broadcast, so the private key never leaves. Most devices derive their keys from a seed phrase using standards such as BIP-44.
Because the keys stay offline, malware on a compromised laptop cannot simply copy them. This is why hardware wallets are a common form of cold storage for self-custody. For example, someone sending bitcoin checks the recipient address and amount on the device's screen. If malware had swapped the address on the computer, the mismatch would show on the device before anything is signed.
A common misconception is that coins are stored on the device. They remain on the blockchain, and the device holds only the keys. A lost or broken device can be replaced and funds restored from the seed phrase backup, but anyone who obtains that phrase can take the funds. The device also cannot stop a user from approving a harmful transaction, such as a phishing approval or a blind-signed contract call. Devices bought from untrusted resellers may have been tampered with.