CoinJoin
CoinJoin is a privacy technique where multiple users combine their Bitcoin transactions into a single transaction, making it difficult for blockchain observers to determine which inputs correspond to which outputs. It breaks the transaction graph that chain analysis companies use to trace funds.
How It Works
In a standard Bitcoin transaction, it is often straightforward to trace which inputs funded which outputs. CoinJoin disrupts this by having multiple participants combine their inputs and outputs into a single transaction. If five users each contribute one input and receive one output of equal size, an observer sees a transaction with five inputs and five outputs but cannot determine which input paid which output. The combinatorial possibilities make definitive tracing impractical.
The concept was proposed by Gregory Maxwell in 2013. Modern implementations include Whirlpool (used in Sparrow Wallet and Samourai Wallet) and JoinMarket. Each uses different coordination mechanisms, but the core principle is the same: mix your UTXOs with other users' UTXOs to break the deterministic links that chain analysis relies on. Equal-output CoinJoins are the most effective because they create perfect ambiguity — every output is the same size, so linking any specific input to any specific output is purely guesswork.
CoinJoin is not a silver bullet. Post-mix behavior matters enormously. If you CoinJoin your funds and then consolidate all outputs into a single address, you've undone the privacy gains. Effective use requires understanding coin control, maintaining separation between mixed and unmixed UTXOs, and being intentional about how you spend post-mix coins. CoinJoin is a tool that must be used correctly within a broader privacy practice, not a magic button that makes surveillance go away.
Key Points
- Combines multiple users' transactions to break the deterministic links chain analysis depends on
- Equal-output CoinJoins provide the strongest privacy by making all outputs indistinguishable
- Post-mix spending behavior is critical — poor coin control after mixing can undo privacy gains
- Does not require trusting a central party — participants retain control of their keys throughout
- Most effective when combined with coin control, address discipline, and overall privacy practices