Guide library PENGER Academy

Multisignature (Multisig)

Several independent keys can share spending authority. The threshold only helps when the keys and recovery paths survive separately.

What you’ll learnConnect script policy and descriptors to correlated failures, then test the independence of a 2-of-3 setup.

Before you startUnderstand single-key recovery and what a signature authorizes.

Bitcoin Script and Multisig Transactions

Multisig in Bitcoin is enforced at the protocol level through Bitcoin Script — a stack-based programming language embedded in every transaction. The spending conditions are not enforced by wallet software; they are enforced by every node on the network.

OP_CHECKMULTISIG

The original multisig mechanism uses the OP_CHECKMULTISIG opcode. A 2-of-3 redeem script looks like:

2-of-3 Multisig Redeem Script
OP_2 <pubkey_1> <pubkey_2> <pubkey_3> OP_3 OP_CHECKMULTISIG

When spending, the witness/scriptSig must provide exactly M valid signatures corresponding to M of the N listed public keys.

Script Wrapping (P2SH, P2WSH)

  • P2SH (Pay-to-Script-Hash) — the redeem script is hashed; only the hash appears in the output. The full script is revealed at spending time. Addresses start with 3.
  • P2WSH (Pay-to-Witness-Script-Hash) — SegWit version. Moves the witness data outside the base transaction, reducing effective size and fees. Addresses start with bc1q (longer than single-sig bc1q addresses).
  • P2SH-P2WSH — nested SegWit for backward compatibility. The outer P2SH wraps an inner P2WSH. Addresses start with 3.

Spending reveals the traditional multisig script. For these P2SH and P2WSH arrangements, spending a UTXO exposes the quorum and the public keys in that script. Taproot can conceal the signer arrangement when its key path is used, as explained below.

TRY IT · SIGNING

How many keys can go missing?

Tap a key to make it unavailable. Watch whether the wallet can still sign.

3 of 3 keys available

Ready to sign

2 signatures required

Output Descriptors and Wallet Recovery

Output descriptors (defined in BIPs 380-386) are a standardized way to describe the spending conditions for a set of addresses. For multisig wallets, the descriptor encodes everything needed to reconstruct the wallet:

Output Descriptor (2-of-3)
wsh(sortedmulti(2, [fingerprint_1/48h/0h/0h/2h]xpub_1/0/*, [fingerprint_2/48h/0h/0h/2h]xpub_2/0/*, [fingerprint_3/48h/0h/0h/2h]xpub_3/0/* ))#checksum

Descriptor Components

  • wsh() — wrapping type (Witness Script Hash = native SegWit)
  • sortedmulti(2, ...) — quorum of 2, with keys sorted lexicographically (BIP67)
  • [fingerprint/path]xpub — each cosigner's extended public key with its derivation path and master fingerprint
  • /0/* — receive addresses (change uses /1/*)
  • #checksum — descriptor checksum for integrity verification

Recovery Requirements

To fully recover a multisig wallet, you need:

  1. M seed phrases (for signing capability)
  2. All N xpubs (to reconstruct the address set)
  3. The quorum policy (M-of-N)
  4. The derivation paths for each cosigner
  5. The script type (P2SH, P2WSH, P2TR)

Keep the full wallet descriptor with every seed backup. Without that policy information, M seed phrases alone may not tell you which addresses to derive or which script template to use. Each backup location should contain one seed phrase and the complete descriptor file.

Keep descriptors for both receive and change branches. The example above is explanatory notation, not an importable descriptor: its fingerprints, xpubs and checksum are placeholders. Public descriptors cannot sign by themselves, but they reveal the wallet’s address set and policy.

Source: BIP380: output descriptors.

Taproot Multisig and MuSig2

Bitcoin's Taproot upgrade (activated November 2021) introduced Schnorr signatures and MAST (Merkelized Abstract Syntax Trees), which fundamentally improve multisig privacy and efficiency.

Key Path Spending with MuSig2

MuSig2 is a Schnorr-based multi-signature scheme where all N participants cooperatively produce a single aggregate signature. On-chain, this is indistinguishable from a regular single-signature Taproot transaction:

  • A key-path spend normally carries a 64-byte Schnorr signature (65 bytes with an explicit non-default sighash type)
  • The output looks identical to a single-key P2TR output
  • The output key is public, but individual participant keys and the internal signing policy are not disclosed by the key-path witness
  • The signing witness can have the same size as a single-signer key-path spend; total fees also depend on the rest of the transaction and the fee rate

Script Path Fallback

If not all N signers are available, a spend can use a Tapscript leaf encoding a threshold policy, provided that fallback was committed into this output when it was created. Only the specific branch used is revealed on-chain; unused branches remain hidden in the Merkle tree.

Taproot Output Structure
Taproot Output
Key Path
MuSig2(all N keys)
cooperative · most private
Script Path (MAST)
Leaf 1
2-of-3 threshold
Leaf 2
timelock + key D
Leaf 3
3-of-5 threshold

Source: BIP327: MuSig2.

Source: BIP341: Taproot spending rules.

Key Management and Vendor Diversity

The security of a multisig setup depends not just on the quorum policy but on the independence and diversity of the keys.

Vendor Diversity Principle

Inspect model and vendor diversity where it reduces a named common dependency. Test that each signer can verify the full wallet policy and transactions, and that the coordinator supports the combination. Diversity is useful only if the complete workflow remains recoverable.

  • Firmware vulnerabilities — model diversity can reduce common exposure, but vendors may share libraries, components or coordinator dependencies
  • Supply chain attacks — separate procurement paths can reduce shared exposure; different logos alone do not prove independent supply chains
  • Correlated failures — a hardware defect specific to one model doesn't affect other brands

Geographic Distribution

Store keys in physically separate locations to protect against:

  • Natural disasters (fire, flood, earthquake) destroying multiple keys
  • Burglary or physical attack at a single location
  • Legal seizure or government confiscation at one jurisdiction

Operational Independence

For organizational multisig, each key holder should:

  • Generate and store their key independently, without sharing the seed with others
  • Use their own hardware and secure storage infrastructure
  • Not have access to more than one key (violating this defeats the purpose of multisig)

Separate the dependencies that could compromise several keys at once. Generating all keys on one device, storing all seeds in one location or letting one person hold every key creates a shared point of failure. Additional keys provide less protection when the same incident can reach them all.

Same threshold, different outcome

Both arrangements are 2-of-3. With one key at each of three locations, one location failure leaves two. With two keys at home, the same home failure leaves only one. The arithmetic did not change; the dependency map did.

TRY IT · SHARED FAILURES

How one failure can disable several keys

This wallet needs two keys. Put two in the same place, then take that place offline.

Home
Key 1Available
Office
Key 2Available
Vault
Key 3Available

2 keys required

Ready to sign · 3 keys available

One key at each location.

Arrange keys
Key 1
Key 2
Key 3

One usable copy per key is modeled. Vendor failure means all its assigned devices become unusable, not just its website going offline. Independent backups may restore access; shared software and people can add other dependencies.

Collaborative Custody Services

Collaborative custody is a model where a third-party service holds one key in a multisig setup, providing recovery assistance and additional security without taking custodial control of your funds.

Typical 2-of-3 Collaborative Model

  • Key 1 — held by you (hardware wallet)
  • Key 2 — held by the collaborative custody service
  • Key 3 — held by you in cold storage (emergency recovery)

Normal transactions require your key (Key 1) and the service's co-signature (Key 2). If the service disappears or becomes unresponsive, you recover using Keys 1 + 3. If you lose your primary device, you recover using Keys 2 + 3 (after identity verification with the service).

Evaluating Collaborative Custody

  • Does the service hold a minority of keys? — they should never be able to unilaterally move funds
  • Can you recover without the service? — you must be able to access funds independently using your own keys
  • Is the service open-source? — can you verify the key management and signing protocols?
  • What identity verification does the service require? — understand the trade-off between convenience and privacy

Rehearse the service being absent

Test your independent access: recover the public policy with independent software, identify the two keys you control and complete a small test spend without service assistance. Check all fees, privacy and recovery conditions separately. A service that controls fewer than M keys can still learn transaction data or withhold its own signature.

Questions that remain

Is multisig only for Bitcoin?

Networks enforce multisignature policies in different ways: Bitcoin uses its script rules; account-based systems may use contract wallets or native account policies. Review the actual implementation, upgrade authority, recovery path and signer tooling rather than assuming one label proves safety.

Are multisig transactions more expensive?

Fees depend on transaction weight, input/output counts and fee rate. Traditional multisig inputs usually need more witness or script data than comparable single-key inputs. A Taproot key-path spend can have the same signing witness size regardless of its internal cooperative signer arrangement; script-path fallbacks have their own weight.

What happens if I lose one key in a 2-of-3 setup?

You can still access your funds using the remaining two keys. However, you should immediately migrate to a new multisig setup: create a new 2-of-3 wallet with a fresh third key, then transfer all funds from the old wallet to the new one. Operating with only two keys means you have zero redundancy — losing a second key would be catastrophic.

Can I use multisig with a passphrase (25th word)?

Yes. Each cosigner's seed phrase can independently have its own passphrase. This adds another layer of protection: an attacker who obtains a seed phrase backup still needs the corresponding passphrase to derive the correct key. However, this also increases backup complexity — you must track which passphrase belongs to which seed and ensure both are recoverable.

Do I need special software for multisig?

You need a wallet that supports multisig coordination. Popular options include Sparrow Wallet (desktop, open-source), Nunchuk (mobile + desktop), Electrum (desktop), and Caravan (web-based, by Unchained). These tools handle the PSBT workflow: creating unsigned transactions, collecting signatures from each cosigner device, and broadcasting the fully signed transaction. Your hardware wallets handle the signing part.

[ CHECK YOURSELF ]

Test Your Knowledge

Take a quick quiz to check your understanding of this guide.

Take the Quiz

5 questions per level · ~2 min