How Do Crypto Mixers Work? Tornado Cash, CoinJoin and Custodial Mixers Explained

A crypto mixer breaks the visible link between the wallet that sends funds and the wallet that receives them. It pools many users' coins and pays them out to new addresses. Custodial mixers do it on their own servers, Tornado Cash does it inside a smart contract, and CoinJoin does it inside one shared transaction.
Mixers are not a niche tool. When the US Treasury sanctioned Tornado Cash in August 2022, it said the service had been used to launder more than $7 billion since 2019. The Bitcoin Fog mixer moved well over 1.2 million bitcoin in ten years of operation. And in December 2025, Europol said the Cryptomixer service it shut down had laundered 1.3 billion euros in bitcoin since 2016.
Every investigator meets mixers sooner or later. This guide explains how the three main designs work, so you know what each one hides and what it leaves on the record.
What is a crypto mixer?
A crypto mixer is a service or protocol that combines funds from many users so that no single output can be tied back to a single input on the public ledger. Blockchains record every transfer, so the mixer's only job is to make the record ambiguous.
There are three main designs, and they hide the link in different places:
| Design | Where the mixing happens | Who controls the funds | Bitcoin or Ethereum |
|---|---|---|---|
| Custodial mixer | On the operator's servers | The operator, during the mix | Mostly Bitcoin |
| Smart-contract mixer (Tornado Cash) | Inside a smart contract pool | Nobody, the code releases funds | Ethereum and EVM chains |
| CoinJoin | Inside one shared transaction | Each user signs for their own coins | Bitcoin |
How does a custodial mixer work?
A custodial mixer works like a laundromat with a back office. Users send coins to addresses the operator controls, the operator pools them with other users' coins, waits, and pays out the same value, minus a fee, to addresses the user chose.
Europol described the pattern when it took down Cryptomixer: deposits were pooled "for a long and randomised period" and then paid out at random times. Bitcoin Fog advertised the same model, mixing users' coins in its own pool and paying them back from it.
The weakness is the operator. A custodial mixer holds the funds, the deposit and payout records and the server logs. When authorities seize it, those records can reconnect deposits to payouts. Europol reported seizing three servers and 12 terabytes of data with Cryptomixer.
How does Tornado Cash work?
Tornado Cash works without an operator. It is a set of smart contracts on Ethereum, called pools, each accepting one fixed amount. A user deposits into a pool, receives a secret note, and later uses that note to withdraw the same amount to a different wallet, with nothing on-chain linking the two.
Step by step:
- Deposit a fixed amount. Each pool takes one denomination, such as 100 ETH. Because every deposit in a pool is identical, amounts cannot be matched.
- Keep the secret note. At deposit, the user's wallet creates a secret and records a cryptographic fingerprint of it, a commitment, in the pool. The secret itself never touches the chain.
- Prove, don't reveal. To withdraw, the user submits a zero-knowledge proof. It shows that they know the secret behind one of the commitments in the pool, without revealing which one.
- Block double withdrawals. Each withdrawal publishes a one-time value derived from the secret, so the same deposit cannot be withdrawn twice.
- Use a relayer for gas. A brand-new withdrawal wallet has no ETH for fees. Funding it from the deposit wallet would recreate the link, so third-party relayers pay the gas and take their fee from the withdrawal.
The US Court of Appeals for the Fifth Circuit walked through this design in Van Loon v. Department of the Treasury in November 2024. It described how the developers gave up control of the pool contracts in 2020, after a setup ceremony with more than 1,100 participants, making the pools immutable. Nobody can freeze, change or switch off the core contracts, which is why enforcement has focused on people rather than on the code.
Withdrawals often land in brand-new addresses. We cover how to work those in Fresh Wallet Investigations.
How does CoinJoin work?
CoinJoin works by combining several users' payments into one Bitcoin transaction. Each user contributes inputs and receives outputs of the same standard size, so an observer sees many equal outputs and cannot tell which belongs to whom. Each participant signs only for their own coins, so nobody takes custody.
A coordinator usually organises the rounds, matches participants and builds the transaction. That coordinator is the legal pressure point. The founders of Samourai Wallet, whose Whirlpool feature coordinated CoinJoin rounds, pleaded guilty to operating an unlicensed money transmitting business and were sentenced to five and four years in prison in November 2025.
CoinJoin matters more to investigators now that Bitcoin cases are getting deeper. We explain what changes when a Bitcoin trail stops in Spectra Now Supports Bitcoin.
What is an anonymity set, and why does it matter?
An anonymity set is the group of deposits that a given withdrawal could have come from. The larger it is, the weaker any single guess. It is the one number that decides how much protection a mixer really gives.
The Fifth Circuit used a simple example. If only one person used the 100 ETH pool, their transfer would be easy to trace. With even five users, any one withdrawal could belong to any of the five depositors. With thousands, a single guess is close to worthless.
The set is not fixed. It shrinks when deposits and withdrawals happen close together, when few people use a pool at a given time, or when a user withdraws an unusual pattern of amounts. That is why the same mixer can protect one user well and another user poorly.
Where do crypto mixers leak?
Crypto mixers leak where people and services touch them. The cryptography in a smart-contract pool can hold while the behaviour around it gives the case away.

- Custodial mixers leak through the operator: servers, logs and payout records that authorities can seize.
- Tornado Cash leaks through behaviour: tight timing, unusual amounts, and wallets funded for gas from a known source.
- CoinJoin leaks through what happens next: outputs merged back together, or spent alongside coins that were never mixed.
These are probabilities, not proof, and a disciplined user avoids most of them. We go through each technique, and its limits, in the Tornado Cash investigation playbook.
Are crypto mixers legal in 2026?
Using a mixer is not in itself a crime in most countries, but running one that serves criminals has led to prosecutions on both sides of the Atlantic. The position for Tornado Cash has changed more than once, so date-check anything you read. As of November 2026:
- Sanctions: Treasury sanctioned Tornado Cash in August 2022. After the Fifth Circuit ruled in November 2024 that its immutable contracts are not property that can be sanctioned, Treasury removed it from the sanctions list in March 2025.
- Developers: In August 2025, a New York jury convicted Tornado Cash co-founder Roman Storm of conspiring to operate an unlicensed money transmitting business and deadlocked on the other charges. A retrial on those counts is scheduled for April 2027.
- Operators: Bitcoin Fog's operator was sentenced to more than 12 years in prison in November 2024. Samourai Wallet's founders were sentenced in November 2025. Europol and its partners shut down Cryptomixer in December 2025.
- EU rules: The EU Anti-Money Laundering Regulation bars crypto-asset service providers from keeping accounts that allow transactions to be anonymised, from July 2027.
For compliance teams, mixer exposure remains a high-risk signal whatever the sanctions status. This section is general information, not legal advice.
What happens to an investigation after the mixer?
After the mixer, the on-chain trail usually resumes at the withdrawal side with no visible link to the deposit side. The case continues by establishing, from outside the blockchain, whether the same entity controls wallets on both sides.
That is the layer Addressable Investigations built Spectra around. Off-chain attribution does not depend on any on-chain connection between wallets, so a mixer that cuts the on-chain link does not cut it. It persists as actors change wallets, and it produces leads and digital evidence: a starting point when the chain goes quiet, region-level attribution that narrows the jurisdiction, and time-stamped records structured for legal proceedings.
Mixers are one of the four walls we mapped in When Crypto Tracing Hits a Wall. How the two layers divide the work is covered in On-Chain vs Off-Chain Analysis.
FAQ
Can crypto mixers be traced?
Sometimes. Custodial mixers can be reconnected when authorities seize the operator's records. Smart-contract mixers and CoinJoin can leak through timing, amounts, gas funding and what users do after mixing. Against a careful user these give probabilities, not proof, which is why investigators add off-chain attribution to continue the case.
What is the difference between Tornado Cash and CoinJoin?
Tornado Cash is a set of Ethereum smart contracts. Users deposit into a pool and later withdraw to a new wallet using a zero-knowledge proof. CoinJoin is a Bitcoin technique where several users combine their payments into one transaction with equal outputs. Tornado Cash separates deposit and withdrawal in time; CoinJoin hides them in one transaction.
What is a relayer in Tornado Cash?
A relayer is a third party that submits a Tornado Cash withdrawal and pays the network fee on the user's behalf, taking its fee from the withdrawn amount. Relayers exist because a fresh withdrawal wallet holds no ETH for gas, and funding it from a known wallet would recreate the link the pool was meant to break.
Is using a crypto mixer illegal?
In most countries, using a mixer is not itself a crime, but laundering criminal proceeds through one is. Operators and developers have been prosecuted in the United States and Europe for running mixers used by criminals. Rules are tightening in the EU from July 2027. Check current local law, as this is not legal advice.
What happens to mixed funds after they leave the mixer?
Mixed funds usually arrive in new addresses with no history, then move to swap services, bridges or exchanges to be converted or cashed out. That second stage is often where cases pick back up, through on-chain patterns, exchange records obtained by legal process and off-chain attribution linking the new wallets to an entity.



