Skip to content
PayableWithCrypto

Glossary

What Is CoinJoin? How Collaborative Bitcoin Transactions Work

Editorial teamFact-checked against official sources Last updated 3 min read

Definition

CoinJoin: CoinJoin is a Bitcoin privacy technique where several users combine their coins into one transaction with equal-sized outputs, making it hard to tell whose coins went where.

On this page
  1. 1Why it is needed on Bitcoin
  2. 2How a round works
  3. 3Legal and practical status in 2026
  4. 4What it means when you spend crypto
  5. 5Ways people undo their own privacy
  6. 6CoinJoin compared with other privacy approaches
  7. 7Checklist
  8. 8Common questions

CoinJoin is a way for several Bitcoin users to combine their coins into a single transaction that pays out to equal-sized outputs. An outside observer sees, say, ten inputs and ten identical outputs, but cannot tell which input paid which output. It was proposed by Bitcoin developer Gregory Maxwell in a 2013 forum post and uses Bitcoin’s normal transaction rules, not a separate coin.

Why it is needed on Bitcoin

Bitcoin is transparent. Every UTXO (unspent output) carries a visible history, and blockchain analytics firms use heuristics to link addresses to the same owner. One of the strongest is the common-input assumption: if several inputs are spent in one transaction, they probably belong to one person. CoinJoin deliberately breaks that assumption by putting several people’s inputs into one transaction.

How a round works

  1. A coordinator, or a peer-to-peer protocol, announces a round with a set denomination.
  2. Participants register inputs and, through a separate anonymous channel, the fresh addresses that should receive outputs.
  3. The coordinator builds one transaction containing everyone’s inputs and outputs.
  4. Each participant checks that their outputs are present and correct, then signs only their own inputs.
  5. Once all signatures are in, the transaction is broadcast.

Because each person signs only after verifying their outputs, the process is non-custodial. That is what distinguishes CoinJoin from a custodial “mixer”, where you hand coins to a service and trust it to send different ones back.

Development What it means
Samourai Wallet case Its founders pleaded guilty in the US in 2025 to conspiring to operate an unlicensed money transmitting business; its Whirlpool CoinJoin service was central to the case
Wasabi Wallet Its main coordinator (run by zkSNACKs) stopped in 2024; the software can connect to other coordinators
Tornado Cash (Ethereum mixer) US sanctions were lifted by the Treasury in March 2025, showing that policy on mixing tools has shifted over time
Exchange policies Many regulated platforms flag or reject deposits with CoinJoin history under their AML procedures

None of this makes owning bitcoin with CoinJoin history illegal in itself in most countries, but it can make it harder to deposit at regulated exchanges or card providers.

What it means when you spend crypto

Most crypto cards are custodial and run compliance screening on deposits. Topping up a card such as Coinbase Card or Crypto.com Visa Card with recently CoinJoined coins could trigger questions or a freeze. Paying a merchant directly from your own wallet, for example a VPN provider or a Lightning-enabled shop, avoids the deposit check but still leaves your payment visible on-chain.

Ways people undo their own privacy

  • Merging outputs. Spending several CoinJoin outputs together re-links them.
  • Spending change from before and after the CoinJoin in one transaction.
  • Sending straight to a KYC account that already knows your identity.
  • Address reuse on the receiving side.

CoinJoin compared with other privacy approaches

Approach Custody Where privacy comes from
CoinJoin You keep keys throughout Many users in one transaction
Custodial mixer Service holds coins temporarily Trusting the operator
Lightning payments You keep keys (non-custodial wallets) Payments mostly off-chain
Privacy coin You keep keys Protocol-level hiding

Checklist

  1. Learn your wallet’s coin-control features first.
  2. Check your exchange’s or card provider’s terms about mixed coins.
  3. Keep CoinJoined coins separate from coins headed for regulated services.
  4. Keep records of where coins came from for tax and compliance questions.
  5. Read the legal section of How to Pay with Crypto Privately, and compare with privacy coins.

Frequently asked questions

Is CoinJoin legal?
Using CoinJoin is not illegal in most countries, but authorities have prosecuted operators of coordinating services. In 2025 the founders of Samourai Wallet pleaded guilty in the US to conspiring to operate an unlicensed money transmitting business. Exchanges may also question or reject coins with CoinJoin history.
Do I lose control of my bitcoin during a CoinJoin?
No. In a proper CoinJoin each participant signs only after checking that their own outputs are included, so the coordinator cannot steal funds. Custodial 'mixers' are different: you send coins to a company and trust it to send other coins back.
Will an exchange accept bitcoin that went through a CoinJoin?
Some will, some ask questions and some refuse or freeze deposits. Exchanges use blockchain analytics that can flag CoinJoin patterns. Read your exchange's terms before depositing.
How is CoinJoin different from a privacy coin?
CoinJoin is an optional technique on a transparent chain; you have to opt in and later coin handling can undo it. Privacy coins like Monero build privacy into every transaction at the protocol level.

Sources

Facts were checked against these pages on the date shown above. Terms change; confirm on the official page before acting. General information, not financial, tax or legal advice. See our methodology.

Related terms

Compare cards Find a store