Glossary
What Is CoinJoin? How Collaborative Bitcoin Transactions Work
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
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
- A coordinator, or a peer-to-peer protocol, announces a round with a set denomination.
- Participants register inputs and, through a separate anonymous channel, the fresh addresses that should receive outputs.
- The coordinator builds one transaction containing everyone’s inputs and outputs.
- Each participant checks that their outputs are present and correct, then signs only their own inputs.
- 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.
Legal and practical status in 2026
| 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
- Learn your wallet’s coin-control features first.
- Check your exchange’s or card provider’s terms about mixed coins.
- Keep CoinJoined coins separate from coins headed for regulated services.
- Keep records of where coins came from for tax and compliance questions.
- Read the legal section of How to Pay with Crypto Privately, and compare with privacy coins.
Frequently asked questions
Is CoinJoin legal?
Do I lose control of my bitcoin during a CoinJoin?
Will an exchange accept bitcoin that went through a CoinJoin?
How is CoinJoin different from a privacy coin?
Sources
- Original CoinJoin proposal (bitcointalk, 2013)
- Bitcoin Wiki: CoinJoin
- US Department of Justice: Samourai Wallet founders plead guilty
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.