Definition
Chain analysis is the discipline — and the industry — of mining Bitcoin's public, permanent ledger to link addresses, build wallet clusters, and follow the flow of funds. Because every transaction is visible forever, surveillance firms such as Chainalysis and Elliptic can apply statistical heuristics at scale to convert millions of pseudonymous addresses into a map of who-paid-whom, then sell that intelligence to exchanges, law enforcement, and regulators. Bitcoin's transparency is what lets you verify the money supply from your own node; chain analysis is what happens when that same transparency is pointed back at you.
The core heuristics
Two assumptions do most of the work. The common-input-ownership heuristic treats all inputs of a transaction as belonging to one entity, enabling broad address clustering — spend two coins together once, and they are welded together in the surveillance database. Change-detection heuristics — fresh-address, round-number, script-type, and cluster-growth rules — guess which output is the spender's change output, so a wallet can be followed hop after hop across the transaction graph. Behavioural fingerprints refine the picture: fee patterns, input-ordering quirks, locktime habits, and timing all leak which software built a transaction, and knowing the wallet narrows every other guess. Temporal analysis adds another layer — spending hours reveal time zones, and regular payment intervals betray salaries, subscriptions, and pool payouts to anyone patient enough to chart them. External data is the force multiplier: a single KYC record, a reused donation address tied to a name, or a leaked shipping detail anchors an entire cluster to a real identity — on-chain heuristics draw the map, off-chain data writes the names on it.
Where it fails
None of this is certainty, and the industry's confidence routinely outruns its accuracy. Naive clustering has been measured with error rates above 60% in academic studies; heuristics compound their mistakes silently, welding strangers into one "entity" with no mechanism to detect the error. Collaborative and privacy-preserving constructions deliberately violate the core assumptions — a CoinJoin makes common-input-ownership false by design, PayJoin makes it false invisibly, and BIP352 silent payments remove the reused-address anchor entirely. Chain analysis is probabilistic pattern-matching sold with courtroom confidence, and understanding that gap matters both for defending yourself and for contesting its claims.
Defending your footprint
For the sovereign Bitcoiner, understanding chain analysis is the first step to defeating it, because every defense maps to a heuristic. Fresh addresses for every receipt deny the reuse anchor. Coin control keeps KYC coins, mining income, and private trades in separate contexts so no consolidation ever links them. Running your own node keeps your wallet from broadcasting its addresses to third-party servers — surveillance begins at the network layer, not just the ledger, and a light wallet that queries someone else's server has already handed over its address list before a single heuristic runs. The same logic covers block explorers: look up your own transactions on a public explorer and you have voluntarily told its operator which addresses interest you, from which IP. A self-hosted node and explorer close that side channel completely. Growing the anonymity set through collaborative transactions blunts what remains. None of this is exotic; it is hygiene, and it composes.
The stakes
This is ultimately a decentralization question. A Bitcoin where every coin's history is confidently (if often wrongly) attributed is a Bitcoin where coins get blacklisted, merchants get pressured, and fungibility erodes — money that needs permission is not sovereign money. The ledger will always be public; whether your economic life is legible on it is substantially within your control, one habit at a time — and every user who adopts those habits makes the heuristics weaker for everyone else.
In Simple Terms
Chain analysis is the discipline — and the industry — of mining Bitcoin’s public, permanent ledger to link addresses, build wallet clusters, and follow the…
