• Catalog
  • Blog
  • Tor Relay
  • Jabber
  • Secret Notes
  • Temp Mail
  • Get Tor Browser
  • Crypto
    Bitcoin CoinJoin privacy mixing guide with wallets and anonymity sets

    Bitcoin is a public ledger. Every transaction ever made is permanently recorded, and every UTXO, every unspent transaction output, sits on the blockchain for anyone to inspect. The privacy problem is not just that balances are visible; it is that links between inputs and outputs within each transaction are visible too. If you spend three coins from three different addresses in a single payment, every observer can assume those three addresses belonged to the same person. That assumption, the common-input heuristic, is the foundation of modern blockchain analysis, and it is also the exact weakness that CoinJoin is designed to exploit.

    CoinJoin is the best-known privacy technique for Bitcoin. It pools transactions from many independent participants into one on-chain transaction so that an outside observer cannot determine which input funded which output. This guide explains how CoinJoin works at the protocol level, surveys the major implementations available today, examines the privacy benefits honestly, including their limits, covers the legal landscape, and offers practical best practices. For the surrounding context, see our article on how blockchain analysis traces Bitcoin transactions and the deeper CoinJoin explainer.

    What CoinJoin actually is

    A normal Bitcoin transaction consumes one or more inputs (coins you control) and creates one or more outputs (payments and change). Each input carries its own signature, and those signatures are completely independent of each other, there is no requirement that all inputs belong to the same owner. CoinJoin turns that technical fact into a privacy feature: multiple strangers agree on a set of inputs and a set of outputs, each signs their own part of the transaction separately, and the signatures are merged into a single transaction broadcast to the network.

    The result is a transaction with, say, 100 inputs from 100 different people and 100 equal-value outputs. To an outside observer looking at the blockchain, any of those outputs could plausibly have come from any of those inputs. The link between a specific input and a specific output is broken, not by hiding the transaction, but by making every plausible pairing equally possible.

    CoinJoin is sometimes described as "mixing," but that term is misleading. A traditional mixer is a custodial service that takes your coins and returns different coins later. CoinJoin is non-custodial: every participant keeps control of their own coins throughout. There is no central vault holding funds to steal or freeze, and no point in time when the protocol can run off with anyone's bitcoin. The coordinator, where one exists, only assembles the transaction; it cannot steal, cannot redirect, and (in most designs) cannot even see which input belongs to which participant in a way that reveals the finished mapping.

    How a CoinJoin round works, step by step

    While implementations differ, the generic flow looks like this:

    1. Deposit/commit. Each participant sends their bitcoin into a CoinJoin round, often via a "Tx0" preparation transaction that isolates the coins to be mixed from their other funds, so that unmixed change does not leak into the round.
    2. Registration. Participants connect to a coordinator (or peer network, in JoinMarket) and register for the round. Privacy-focused tools route this communication over Tor by default.
    3. Transaction construction. The coordinator, or the taker in JoinMarket, builds a single transaction containing every participant's input and a set of outputs. In fixed-denomination protocols (Whirlpool), every output has the same value. In variable-amount protocols (WabiSabi), outputs can differ but are structured so amounts do not fingerprint individual participants.
    4. Signing. Each participant verifies the proposed transaction, critically, checking that their own output pays to their address and that no one else's inputs or outputs are tampered with, then signs only their own inputs. In Chaumian designs like Whirlpool, blind signatures add a layer where the coordinator cannot link a signature to the person who produced it.
    5. Broadcast. Once all signatures are collected, the transaction is complete and broadcast to the Bitcoin network. On-chain, it looks like one ordinary transaction with many inputs and outputs.
    6. Settlement. Participants receive their mixed outputs. Many wallets then encourage "remixing", spending a mixed output back into another round, to increase the anonymity set before the coins are used for real payments.

    Two properties matter most. First, trustlessness: because signatures are independent, a malicious coordinator cannot forge signatures or take custody of funds, worst case it can censor the round or attempt certain deanonymization tricks, which is why implementations use cryptographic tricks (blind signatures, zero-knowledge proofs in WabiSabi) to limit what the coordinator learns. Second, the anonymity set: the privacy you get is roughly the number of other participants whose coins could plausibly be yours. A 100-person round is meaningless if your output amount is unique; equal outputs are what create the plausible-deniability pool.

    The major implementations

    Wasabi Wallet and the WabiSabi protocol

    Wasabi Wallet is the most widely used CoinJoin implementation. It is open source, desktop-based (Windows, macOS, Linux), supports hardware wallets including Coldcard and Ledger, and routes coordinator traffic over Tor by default. Its signature feature is CoinJoin using the WabiSabi protocol, developed by the Tor Project's zkSNACKs team. Unlike older fixed-denomination designs, WabiSabi rounds support variable input and output amounts in a single transaction, a 0.3 BTC coin and a 0.02 BTC coin can mix together. It achieves this with zero-knowledge proofs that let participants prove their inputs are valid and unspent without revealing which inputs are theirs, and blind signatures that hide the link between a participant and their output.

    Important history: zkSNACKs operated Wasabi's own coordinator until 1 June 2024, when it shut down after the Samourai Wallet arrests. Wasabi survived by moving to a coordinator-independent model: since version 2.6 the wallet connects to third-party coordinators (examples include OpenCoordinator and SwissCoordinator, plus community instances), and version 2.2 removed the built-in coordination fee. The client only joins rounds where it pays mining fees, with user-settable maximum fee rate and minimum input count (defaults around 50 sat/vB and ~21 inputs). Current stable releases are in the 2.7.x range. The trade-off: WabiSabi's variable amounts mean your effective anonymity set per output is smaller than a clean fixed pool, independent analyses have estimated it in the single digits to low teens.

    Whirlpool via Ashigaru (formerly Samourai)

    Whirlpool, built by Samourai Wallet, remains the cleanest CoinJoin design in terms of anonymity-set quality: fixed pools (0.025 and 0.25 BTC), exactly five participants per round, identical outputs, and Chaumian blind signatures. The result is a guaranteed k=5 anonymity set with no amount leakage. Remixing is free after the one-time pool fee (~5% of the pool amount at entry).

    The original Samourai Wallet was shut down in April 2024 when US authorities arrested its founders and seized its servers on money-laundering conspiracy charges; both founders later pleaded guilty to the money-transmitting count. Mixing stopped that day. In June 2025 the anonymous Ashigaru Open Source Project released Ashigaru Whirlpool, a Tor-only revival built from Samourai's code with protocol updates, plus Ashigaru Terminal, a desktop client forked from Sparrow. Pool denominations carried over. Because it is Tor-only with an anonymous team, it has appeal (no company to subpoena) but also trust trade-offs, there is no accountable entity behind it. Treat it as experimental: verify software signatures, use a hardware wallet, and never run pre-seizure Samourai or old Whirlpool software, which is abandoned and a malware risk.

    One additional caution: Samourai mobile users who relied on its hosted Dojo server had their extended public keys sent to Samourai infrastructure, meaning some Whirlpool activity could potentially be traced by law enforcement. Anyone with historical Whirlpool history through hosted infrastructure should assume partial deanonymization risk. Users who ran their own node were not exposed.

    JoinMarket: the decentralized market

    JoinMarket removes the coordinator entirely. It is a maker-taker market: makers post offers to contribute their coins as mixing liquidity and earn fees; takers initiate CoinJoin transactions and pay makers for participation. Orders are listed on directory servers and transaction details are exchanged peer-to-peer over encrypted messages. There is no central company to shut down, which is precisely why it survived the Samourai seizures untouched.

    The cost is operational complexity. JoinMarket requires your own Bitcoin Core node (Tor strongly recommended), command-line comfort, and ongoing liquidity management. Takers get the better privacy position because they build the transaction; makers trade some privacy for fee income. Rounds are typically small (5-7 participants), so anonymity sets are modest unless you join larger coordinated sessions. The original joinmarket-clientserver repository was archived in April 2026 with warnings about unpatched vulnerabilities, including a PayJoin bug that could let a malicious receiver steal funds, and maintainers explicitly say not to use it for payments. Development continues as JoinMarket NG, a wire-compatible reimplementation, with a beta web interface called Jam that makes the market usable without the command line. Minimum mixes are around 27,300 sats; maker fees are typically ~0.001% of the mixed amount plus mining fees.

    Other approaches worth knowing

    PayJoin (BIP78) is not CoinJoin but a complementary technique: the payee adds their own input to the payment transaction, so an observer cannot tell which input paid which output. Ideal for merchant payments; supported by Sparrow, Nunchuk and others. Do not use PayJoin through the archived original JoinMarket client given its disclosed vulnerability.

    CoinSwap attempts an atomic swap of your coins for someone else's, breaking the on-chain link entirely rather than pooling it. Implementations exist (Wasabi has a CoinSwap feature; Samourai's original is dead with it), but they are less battle-tested, treat as advanced options.

    Silent payments (BIP352) and strict address hygiene reduce linkability of received payments without any mixing cost, and are best combined with CoinJoin rather than seen as alternatives. For smaller amounts, the Lightning Network moves value off-chain entirely, see our VPN vs Tor guide for the network layer that should accompany any of this.

    Privacy benefits: what CoinJoin does and does not give you

    What CoinJoin genuinely provides:

    • Breaks the input-to-output link within the mixed transaction. A post-mix output cannot be confidently traced back to your pre-mix coins.
    • Creates plausible deniability. An analyst cannot prove which of the ~equal outputs is yours.
    • Is non-custodial and trustless (with caveats per implementation). No one holds your keys or your coins.
    • Raises the cost of tracing substantially for ordinary users against ordinary analysis.

    What it does not provide, the honest limits:

    • Privacy is probabilistic, not absolute. If the coordinator colludes, is compromised, or you participate in too few rounds, the anonymity set shrinks toward zero. A single-party round is a doxxing event.
    • Behavioral leakage survives mixing. If you CoinJoin and then immediately pay an exchange from the mixed output, timing and amount patterns can re-link you. Analysts look at when coins move, not just how.
    • Amount fingerprints matter. Mixing an unusual amount (say 0.1437 BTC in a 0.025 BTC pool world) can isolate you. Stick to pool denominations or embrace WabiSabi's variable amounts with many participants.
    • Toxic change. Any output from the round that was not itself mixed, leftover change, fees paid from unmixed coins, remains traceable and can poison the cluster. Good tools isolate change in a separate "Tx0" before mixing; your wallet hygiene still matters afterward.
    • It does nothing for the past. Coins already linked on-chain stay linked. CoinJoin protects future transactions, it does not erase history. See Bitcoin vs Monero for how protocol-level privacy compares.

    The practical rule: CoinJoin multiplies the number of transactions an analyst must consider, but it does not make tracing impossible. It is a cost-raiser, not a guarantee.

    Legal risks and the regulatory landscape

    This is the section most articles gloss over, and it deserves direct treatment.

    CoinJoin itself is generally legal to use. It is a collaborative transaction-construction technique; there is nothing inherently unlawful about multiple people signing one transaction. Courts and regulators have not treated mere use of a privacy tool as a crime in most jurisdictions. Using CoinJoin for ordinary financial privacy, keeping your finances private from advertisers, employers, or opportunistic thieves, is legitimate and widely practiced.

    However, context matters enormously:

    • US: In April 2024 the US Department of Justice arrested Samourai Wallet's founders and charged conspiracy to commit money laundering; both later pleaded guilty to conspiracy to operate an unlicensed money-transmitting business. The indictment treated the wallet's coordinators and Whirlpool mixing as a money-transmission service. This was a case about a service run for profit, individual users were not charged, but it signaled that US authorities view centralized mixing infrastructure as money transmission under the Bank Secrecy Act. For individuals, the practical risk is lower, but anyone running or using a paid mixing service should understand they are in legally contested territory.
    • AML/KYC obligations: CoinJoin does not exempt you from tax reporting, exchange KYC, or suspicious-activity reporting obligations where they apply. Mixing coins that are themselves the proceeds of crime is money laundering regardless of the tool used. Privacy is not a defense to underlying illegal activity.
    • Exchange risk: Some exchanges flag, delay, or refuse deposits traced to known mixing protocols. Withdrawals to fresh addresses post-mix are safer; direct exchange deposits of freshly mixed coins can trigger compliance holds.
    • Jurisdiction: Some countries (notably parts of the EU under AMLD6, and various national regimes) treat privacy coins and mixing tools more harshly. Check your local law; this article is not legal advice.

    Bottom line: using CoinJoin for privacy is lawful in most places; using it to conceal crime, evade sanctions, or launder proceeds is a serious crime everywhere. If your funds have a clean origin and your intent is privacy, the legal exposure is modest but real, and it is your responsibility to know your jurisdiction's rules. Our guide to avoiding chain analysis covers the operational side of that boundary.

    Choosing the right implementation

    There is no single "best" CoinJoin tool, the right choice depends on your threat model, technical skill, and how much privacy you actually need:

    ToolArchitectureCoordinator trustTypical costEase of useStatus (late 2026)
    Wasabi WalletWabiSabi CoinJoin, variable amountsThird-party coordinators; no built-in feeMining fees only by defaultEasiest serious option; full GUI, hardware wallet supportActive, v2.7.x
    Ashigaru WhirlpoolFixed pools (0.025/0.25 BTC), 5 per roundAnonymous coordinator, Tor-only~5% one-time pool fee + miningModerate; desktop TUI forked from SparrowActive since June 2025
    JoinMarket NG (+Jam)Decentralized maker-taker marketNone, no coordinatorMarket fees ~0.001% + mining; needs own nodeHardest; CLI or beta web UI, Bitcoin Core requiredActive; original repo archived
    PayJoin (BIP78)Two-party collaborative txNone (peer-to-peer)Mining fees onlyEasy where supportedActive in Sparrow, Nunchuk, others
    CoinSwapAtomic swap with another userVaries by implementationVariesAdvancedLimited implementations

    For most users: Wasabi offers the best balance of privacy, usability, and active maintenance. Its coordinator-independent model survived the post-Samourai shakeout better than most alternatives.

    For maximum anonymity-set quality: Whirlpool's fixed five-party rounds give the cleanest guarantees, but Ashigaru is young and anonymous, proceed carefully.

    For the technically sophisticated: JoinMarket NG has no coordinator to trust or seize, but demands a full node and command-line fluency.

    Whichever you choose, pair it with good hygiene: a dedicated wallet for mixed coins, Tor for all wallet/coordinator traffic, a hardware signer, fresh addresses per receive, and patience, privacy improves with each remix round.

    Best practices for using CoinJoin safely

    1. Start clean. Only mix coins with a clear, legal origin. Do not mix coins that are already flagged, freshly withdrawn from a KYC exchange (wait for several hops or a few days), or connected to any tainted cluster.
    2. Use Tor. Route all wallet and coordinator traffic through Tor. Wasabi does this by default; JoinMarket requires your own node over Tor; Ashigaru is Tor-only. The VPN vs Tor guide explains why Tor specifically matters here.
    3. Remix before spending. After your first CoinJoin, spend the mixed output into 1-3 more rounds before making real payments. Each round grows the anonymity set multiplicatively.
    4. Mind the amounts. Use exact pool denominations where available. Avoid unique amounts that fingerprint you. Never mix an amount that matches a known exchange withdrawal pattern.
    5. Isolate change. Let the tool's Tx0-style preparation separate unmixed change before the round. Never let a mixed payment create unmixed change in the same transaction.
    6. Don't reuse addresses. Every CoinJoin output should go to a fresh address. Reuse destroys the anonymity set you just built.
    7. Separate your identities. Keep mixed coins in a dedicated wallet, separate from coins tied to your KYC identity. Never send mixed coins back to the same exchange account they came from without intermediate hops.
    8. Verify the software. Download from official sources, verify signatures where possible, and keep everything updated. The archived JoinMarket client is a live example of what abandoned privacy software becomes.
    9. Understand timing risk. An exchange withdrawal followed minutes later by a CoinJoin participation is a pattern analysts notice. Add delay and intermediate transactions.
    10. Accept the limits. CoinJoin protects against passive on-chain analysis; it does nothing against endpoint compromise, network-level observation without Tor, or legal process compelling you to reveal keys. Pair it with operational security, see our metadata protection guide for the broader picture.

    When CoinJoin is the wrong tool

    Honest assessment: for some threat models, CoinJoin is overkill or insufficient:

    • High-stakes privacy needs: If you need strong, default privacy for every transaction, Monero's protocol-level design (ring signatures, stealth addresses, RingCT) is fundamentally stronger than any Bitcoin add-on. See Monero's privacy cryptography deep dive.
    • Small everyday payments: Lightning offers off-chain privacy at near-zero cost for micropayments, often better than CoinJoin for daily use.
    • One-time large purchases: PayJoin or a simple fresh-address payment may suffice; a 5% Whirlpool fee for a single coffee purchase is poor economics.
    • Regulated businesses: Businesses subject to AML obligations should not use CoinJoin to obscure transactional records they are legally required to keep. Consult counsel.

    CoinJoin sits in a specific niche: non-custodial, on-chain Bitcoin privacy for users who accept probabilistic guarantees and operational complexity in exchange for keeping their coins on the most liquid, most accepted cryptocurrency network.

    External references

    Bottom line

    CoinJoin is the most practical privacy tool Bitcoin has: it exploits a genuine protocol property (independent input signatures) to break the most damaging heuristic in blockchain analysis (common-input ownership), without ever giving up custody of your coins. The ecosystem has consolidated around three viable paths, Wasabi's WabiSabi for usability, Ashigaru's Whirlpool for anonymity-set quality, and JoinMarket NG for trustlessness, each with real trade-offs in cost, complexity, and coordinator trust. Privacy is probabilistic, legal context matters, and no tool replaces good operational hygiene. Used correctly, CoinJoin makes Bitcoin meaningfully more private; used naively, it provides a false sense of security while leaking through timing, amounts, and change. Choose the implementation that matches your threat model, verify what you run, and treat every mixed output as the start of a process, not the end.

    Author OnionInfoDesk
    CoinJoin explained: the Bitcoin privacy technique
    How blockchain analysis traces Bitcoin transactions
    How to spend Bitcoin privately: tools and threat model
    How to avoid chain analysis: practical privacy guide

    Comments 0

    Add comment