Protocol & Mining
Multisig, and what several keys change
Protocol referenceSource: BIP 67 and the Bitcoin Developer GuideConfigurations described are conventions; the protocol permits any m-of-n up to its script limits.
m-of-n schemes
A multisig output is locked to a condition that names several public keys and a threshold. The condition is written as m-of-n: any m of the n named keys must sign before the output can be spent. A 2-of-3 output, for example, names three keys and requires two signatures. A single key, even one of the three, cannot move the coins on its own.
The mechanism is implemented in Bitcoin's script language, and the original form is a bare multisig output that lists the keys and the threshold directly. Modern wallets more often use a pay-to-script-hash or witness-script-hash construction, in which the output commits to the hash of the multisig script and the script itself is revealed only when the coins are spent. The effect is the same; the difference is that the spending condition is not published until it is used, which is better for privacy and cheaper for the sender.
BIP 67 addresses a practical problem with the original form. It specifies that the public keys in a multisig script must appear in the same order regardless of which wallet constructed it, so that two implementations given the same set of keys produce the same script and therefore the same address. Without that rule, a wallet that ordered the keys differently would derive a different address from the same keys, and a backup restored into different software could appear empty.
Configurations in common use
The threshold and the key count are chosen together, and the choice expresses a trade-off between convenience and resilience. A 2-of-2 scheme requires both keys for every spend, which means no single device is sufficient but also that losing either key loses the funds. It removes the single point of failure for theft without removing it for loss.
A 2-of-3 scheme is the most widely used configuration, and the reason is that it tolerates exactly one failure of either kind. Two keys are needed to spend, so one key alone cannot move the coins. Three keys exist, so one can be lost, destroyed or held offline without affecting the ability to spend. It is the smallest arrangement that provides both properties at once, which is why it appears so often in wallet defaults and in guidance for individual holders.
Higher thresholds follow the same logic with more margin. A 3-of-5 scheme tolerates two lost keys and still requires three to spend, which suits an organisation where several people hold keys and some turnover is expected. The cost is operational: every spend requires coordinating three signers, and the more keys involved the more places there are for the process to break down. A scheme that is secure in theory but too cumbersome to use correctly is not secure in practice.
How multisig changes custody and recovery
The most immediate change is to theft risk. In a single-key wallet, anyone who obtains the key can spend the coins, and the owner's only defence is to keep the key secret. In a multisig wallet, obtaining one key is not enough. An attacker must compromise enough keys to reach the threshold, and if those keys are held in different places and by different people, that is a substantially harder problem.
The change to loss risk is more subtle and cuts both ways. Multisig tolerates the loss of some keys, which a single-key wallet cannot. But it also introduces new ways to fail. The keys must be generated and stored such that the threshold remains reachable, the wallet must know the full set of keys and the threshold in order to reconstruct the script, and a backup that records only one key is not a backup of the wallet. A multisig setup whose participants do not understand which keys exist and where they are is more fragile than a single key kept carefully.
Recovery therefore depends on a different kind of record. A single-key wallet is recovered from one seed phrase. A multisig wallet is recovered from the seed phrases of enough keys to meet the threshold, together with the wallet descriptor or configuration that records the full key set and the threshold. Losing the descriptor while keeping the keys is a recoverable situation for a competent technician; losing the keys is not. The seed phrases and private keys page explains what each of those backups actually contains.
Where multisig fits
Multisig is not the right answer for every holder. It adds moving parts, and each moving part is a chance to make a mistake. For a small holding, a single well-protected key is simpler and the additional resilience is not worth the operational burden. For a large holding, or one where several people need to authorise a spend, the calculus changes and the redundancy becomes the point.
The arrangement also has a collaborative use that is distinct from personal security. A 2-of-3 scheme in which one key is held by a service and two by the owner can provide recovery assistance without giving the service the ability to spend alone. The service holds one key, the owner holds two, and neither party can move the coins unilaterally. This is a genuine middle ground between full self-custody and full custodial control, and it is the basis of most collaborative custody products.
The hardware and software wallets page covers the devices that hold each key, and the self-custody and exchange custody page sets out the counterparty question that multisig is designed to reduce.
Sources and references
- BIP 67, Deterministic Pay-to-script-hash multi-signature addresses — the key-ordering rule that makes multisig addresses reproducible.
- Bitcoin Developer Guide, Multisignature — how an m-of-n condition is expressed and satisfied.
- Bitcoin Core, descriptors — how a wallet records the full key set and threshold for recovery.
Related reading
- Protocol, Transactions & MiningThe supply schedule, transaction mechanics and mining economics behind the price.
- Proof of WorkThe hash puzzle, the target and nonce, and why accumulated work secures the chain.
- Difficulty AdjustmentThe 2,016-block retarget, its caps, and the ten-minute target it defends.
- HashrateWhat hashrate measures, why it is estimated, and how it differs from difficulty.
- Mining PoolsPooled hash rate, share accounting, payout schemes and centralisation.
- Miner RevenueThe block subsidy plus fees, and how the mix changes across subsidy epochs.