CoinJoin is a privacy-enhancing technique for Bitcoin that combines multiple users’ transactions into a single joint transaction, making it difficult for blockchain analysts to determine which input addresses sent funds to which output addresses. Proposed by Bitcoin developer Gregory Maxwell in 2013, CoinJoin preserves privacy without requiring changes to the Bitcoin protocol – it works using standard Bitcoin transactions where multiple participants agree to mix their inputs and outputs together. CoinJoin is implemented in privacy-focused wallets like Wasabi Wallet and JoinMarket.
Definition
CoinJoin combines multiple transactions to enhance privacy:
| Aspect | Description |
| Mechanism | Multiple users create a single transaction with many inputs and equal-value outputs |
| Privacy benefit | Obscures the link between senders and recipients |
| Trust model | Trustless – no central mixer holds funds; users sign jointly |
| Protocol change | None required – uses standard Bitcoin transaction format |
| Participants | Multiple users coordinating (typically via software) |
How CoinJoin Differs from Mixers
| Feature | CoinJoin | Centralized Mixer |
| Custody | Non-custodial – no one holds your funds | Custodial – mixer holds funds temporarily |
| Trust | Trustless – cryptographic guarantees | Trust required – mixer could steal funds |
| On-chain footprint | Single multi-party transaction | Multiple transactions through mixer addresses |
| Regulatory status | Generally legal (privacy tool) | Often flagged as suspicious |
Origin & History
| Date | Event |
| 2013 | Gregory Maxwell proposed CoinJoin on the Bitcoin Forum |
| 2014 | Early CoinJoin implementations appeared but required manual coordination |
| 2015 | JoinMarket launched – decentralized CoinJoin marketplace |
| 2018 | Wasabi Wallet launched – first user-friendly CoinJoin implementation with Chaumian coinjoin (ZeroLink protocol) |
| 2019 | Samourai Wallet’s Whirlpool launched – mobile CoinJoin implementation |
| 2022 | Tornado Cash (Ethereum mixer, not CoinJoin) sanctioned by US Treasury – privacy tools faced regulatory pressure |
| 2024 | Wasabi Wallet and Samourai Wallet faced regulatory challenges; privacy tool usage continued but with greater scrutiny |
“CoinJoin allows Bitcoin users to combine their transactions for privacy without trusting anyone else with their money.”
How It Works

| Step | Process |
| 1 | Multiple users want to make Bitcoin transactions |
| 2 | A coordinator (or peer-to-peer protocol) matches participants |
| 3 | Each participant provides their input (UTXO) and desired output address |
| 4 | All inputs and outputs are combined into a single transaction |
| 5 | Each participant verifies the transaction includes their output |
| 6 | Each participant signs only their input (no one controls others’ funds) |
| 7 | The combined transaction is broadcast to the Bitcoin network |
| Standard Transaction | CoinJoin Transaction |
| Alice: 0.5 BTC → Bob | Combined: Alice (0.1), Bob (0.1), Carol (0.1) → three 0.1 BTC outputs |
| Easy to trace sender → receiver | Cannot determine which input funded which output |
| Implementation | Platform | Method |
| Wasabi Wallet | Desktop (Windows, Mac, Linux) | Chaumian CoinJoin (WabiSabi protocol) |
| JoinMarket | Desktop/Server | Peer-to-peer marketplace for CoinJoins |
| Samourai Whirlpool | Mobile (Android) | Zerolink-based mixing cycles |
In Simple Terms
- CoinJoin is a privacy tool for Bitcoin– it mixes your transaction with other people’s transactions so no one can easily tell who sent money to whom.
- It works by combining transactions– instead of each person making a separate transaction, multiple people combine their transactions into one big transaction with many inputs and outputs.
- Your money is never held by anyone else– unlike mixers, CoinJoin is non-custodial. You sign your part of the transaction, and no one else can take your Bitcoin.
- It’s used by privacy-conscious Bitcoin users who don’t want their financial transactions to be publicly trackable on the blockchain.
Important: CoinJoin is a legitimate privacy tool, but it has attracted regulatory scrutiny. Some exchanges flag or reject coins that have been through CoinJoin transactions. The legal status varies by jurisdiction – in most places, using privacy tools is legal, but regulators are increasingly focused on anti-money laundering enforcement. Users should understand the regulatory market in their jurisdiction before using CoinJoin.
Real-World Examples
Example 1: Wasabi Wallet
- Scenario: A privacy-conscious Bitcoin user wanted to break the link between their identity and their Bitcoin transactions.
- Implementation: Using Wasabi Wallet, the user participated in automated CoinJoin rounds. The wallet coordinated with other users to create joint transactions with equal-denomination outputs (0.1 BTC, 0.01 BTC, etc.).
- Outcome: After several CoinJoin rounds, the user’s Bitcoin history was thoroughly obscured. Blockchain analysts could no longer reliably trace the coins back to their origin.
Example 2: JoinMarket
- Scenario: A Bitcoin holder wanted to earn fees while providing liquidity for CoinJoin transactions.
- Implementation: JoinMarket operates as a marketplace where “makers” offer their coins for CoinJoin mixing and earn small fees, while “takers” initiate CoinJoins and pay those fees.
- Outcome: JoinMarket created a self-sustaining privacy market where both parties benefit – makers earn yield on their Bitcoin, and takers gain transaction privacy.
Example 3: Regulatory Pressure
- Scenario: Following the Tornado Cash sanctions in August 2022, privacy tools across the crypto ecosystem faced increased scrutiny.
- Implementation: Some exchanges began flagging or rejecting Bitcoin that had been through CoinJoin transactions, and developers of privacy tools faced legal challenges.
- Outcome: The situation highlighted the tension between financial privacy and regulatory compliance. CoinJoin usage continued but with greater awareness of the regulatory risks.
Advantages
| Advantage | Description |
| Privacy | Obscures transaction links on the public blockchain |
| Non-custodial | No third party holds your funds at any point |
| Trustless | Cryptographic guarantees prevent theft by coordinators |
| No protocol changes | Works with standard Bitcoin transactions |
| Fungibility | Improves Bitcoin’s fungibility by breaking transaction history |
Disadvantages & Risks
| Disadvantage | Description |
| Regulatory risk | Some jurisdictions may restrict privacy tool usage |
| Exchange rejection | Some exchanges flag CoinJoin-processed Bitcoin |
| Coordination | Requires enough participants for effective mixing |
| Fees | CoinJoin transactions are larger and cost more in mining fees |
| Complexity | Using CoinJoin correctly requires understanding its limitations |
FAQ
Is CoinJoin legal?
CoinJoin itself is legal in most jurisdictions – it uses standard Bitcoin transactions. However, using it to launder money is illegal. Some regulators are increasing scrutiny of privacy tools. Check your local laws before using CoinJoin.
Does CoinJoin make Bitcoin anonymous?
CoinJoin significantly improves privacy by breaking the link between inputs and outputs, but it doesn’t make Bitcoin fully anonymous. Transaction amounts, timing analysis, and other techniques can still provide some information. Multiple CoinJoin rounds increase privacy.
Can CoinJoined Bitcoin be rejected by exchanges?
Some exchanges have policies of flagging or rejecting Bitcoin that has been through CoinJoin transactions. This has sparked debate about Bitcoin’s fungibility – whether all Bitcoin should be treated equally regardless of history.









