---
title: "Address Clustering — definition | Nuri Glossary"
description: "Grouping addresses that probably share one owner, using transaction-graph heuristics. Useful for analytics, unwelcome for privacy."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/address-clustering"
---

# Address Clustering

Grouping addresses that probably share one owner, using transaction-graph heuristics. Useful for analytics, unwelcome for privacy.

## Basically

Address clustering groups Bitcoin addresses likely owned by the same person by looking at transaction patterns. It uses rules like common inputs in one transaction to link addresses together.

## Key Takeaways

- Clustering links addresses that share transaction inputs, change outputs, or similar spending habits. It helps trace funds but can be fooled by privacy tools.
- Chain analysis firms use clustering to screen deposits, track illicit flows, and verify tax compliance. It works across exchanges, law enforcement, and academic research.
- Privacy techniques like CoinJoin, PayJoin, and coin control break clustering links. Each has tradeoffs like fingerprints or requiring user action.

## What Is Address Clustering?

Address clustering groups Bitcoin addresses likely controlled by the same entity using on-chain transaction patterns. It collapses thousands of pseudonymous addresses into logical wallets representing a single user, service, or organization.
Bitcoin transactions are pseudonymous. Every transaction is recorded on the public blockchain, and while addresses are not directly tied to real identities, patterns reveal which ones belong together.
The technique was pioneered by Reid and Harrigan in 2011 and formalized by Meiklejohn et al. in their 2013 paper "A Fistful of Bitcoins," which won the ACM Internet Measurement Conference Test-of-Time Award in 2024.

## How It Works

Address clustering uses heuristics: rules of thumb from Bitcoin transaction structure. No single heuristic is perfect, but combined they produce useful clusters.

## Common-Input-Ownership Heuristic

The common-input-ownership heuristic is the most powerful clustering technique. If two or more addresses appear as inputs in the same transaction, they are presumed to belong to the same entity.
Bitcoin's UTXO model requires the signer to hold private keys for every input address. A transaction consuming UTXOs from addresses A, B, and C implies one party controls all three.
The implementation uses a union-find data structure. Each address starts in its own set. For every transaction with multiple inputs, the sets are merged.
A 2025 study found strong pairwise precision (1.00 on labeled addresses) but lower per-wallet precision (0.36). The heuristic's effectiveness varies by entity type.

## Change Address Detection

When a Bitcoin user spends a UTXO, the entire UTXO must be consumed. If the payment is less than the UTXO value, the difference is sent as change to a new address controlled by the sender. Identifying change outputs extends the cluster.
Several sub-heuristics help identify change outputs:

## Behavioral Pattern Analysis

Beyond structural heuristics, analysts examine behavioral signals that suggest shared ownership:

## How Chain Analysis Firms Use Clustering

Companies like Chainalysis, Elliptic, and TRM Labs build on these heuristics to create chain analysis platforms. Their workflow combines multiple evidence layers.
These firms maintain massive databases of labeled addresses (exchanges, darknet markets, ransomware groups) and run clustering continuously as new blocks arrive, updating union-find structures. Exchanges use these tools for KYC/AML compliance.
For more on tracing techniques, see the research article on Bitcoin transaction graph privacy defenses.

## Law Enforcement and Compliance

Address clustering is the primary tool for tracing illicit fund flows. Investigators follow UTXO chains through clustered wallets to trace ransomware payments, darknet market proceeds, and sanctioned entity activity, sometimes across 50 or more hops.

## Exchange Transaction Monitoring

Exchanges use clustering to screen deposits and withdrawals. When a user deposits Bitcoin, the exchange checks whether the sending addresses belong to clusters associated with illicit activity, a regulatory requirement under travel rule and anti-money-laundering frameworks.

## Tax and Audit

Tax authorities and auditors use clustering to verify that taxpayers have disclosed all their Bitcoin holdings. By clustering known addresses, they identify undisclosed wallets and unreported transactions, as explored in crypto payment tax reporting research.

## Network Research

Academic researchers use clustering to study Bitcoin's economic structure: how concentrated holdings are, how funds flow between entity types, and how the network evolves. Harrigan and Fretter (2016) found that 1,955 super-clusters accounted for 22% of all Bitcoin addresses.

## Countermeasures

Several techniques can break or limit clustering effectiveness. Each addresses different heuristics and comes with tradeoffs.

## CoinJoin

CoinJoin breaks the common-input-ownership heuristic. Multiple independent parties combine inputs and outputs into a single transaction, making it impossible to determine which inputs correspond to which outputs. Implementations like Wasabi Wallet's WabiSabi protocol and JoinMarket automate this.
The tradeoff: CoinJoin transactions have a distinctive fingerprint (multiple equal-denomination outputs), making them identifiable even if the internal mapping is opaque. Some exchanges flag or reject CoinJoin-associated funds.

## PayJoin

PayJoin (Pay-to-Endpoint) also breaks the common-input-ownership heuristic, but with an advantage: PayJoin transactions are indistinguishable from normal payments on-chain. Both sender and receiver contribute inputs, so the assumption that all inputs belong to one party is violated without a visible fingerprint.
For more details, see the PayJoin privacy research.

## Coin Control

Coin control lets users manually select which UTXOs to spend, preventing the wallet from automatically combining UTXOs with different histories in a single transaction. This does not break existing links but prevents creating new ones. It is important for users who receive Bitcoin from multiple sources and want to keep those sources unlinkable.

## Avoiding Address Reuse

Address reuse makes clustering trivially easy: every transaction involving a reused address is immediately linked. Modern HD wallets (BIP 32/44) generate a fresh address for every receive by default, but users must avoid manually sharing or reusing addresses.

## Silent Payments

Silent Payments (BIP 352) let a receiver publish a single static payment code from which senders derive unique one-time addresses using elliptic-curve Diffie-Hellman. Each payment arrives at a unique address with no on-chain link between them. BIP 352 support is available in Bitcoin Core 28.0+, Cake Wallet, and BitBox02 hardware wallets.
For more on Bitcoin's evolving privacy toolkit, see the Bitcoin privacy landscape research.

## False Positives and Cluster Collapse

A single false positive (incorrectly merging one address from wallet A into wallet B's cluster) propagates through the entire union-find structure. Every future transaction involving either cluster compounds the error. Researchers call this "cluster collapse": overly aggressive change heuristics cause unrelated wallets to merge into massive super-clusters containing millions of addresses.
Sound methodology favors false negatives over false positives: it is better to under-cluster (miss some links) than to over-cluster (wrongly merge unrelated wallets), especially for law enforcement applications where erroneous attribution has serious consequences.

## CoinJoin and Collaborative Transactions

Collaborative transactions like CoinJoin and PayJoin intentionally place inputs from multiple independent parties in one transaction, directly violating the common-input-ownership heuristic. Naive clustering that does not identify and exclude these transactions produces false groupings. Detecting and filtering CoinJoin transactions before clustering is now standard practice, but PayJoin transactions remain invisible to such filters.

## Privacy Implications

Address clustering enables powerful surveillance of financial activity. While it serves legitimate compliance and law enforcement purposes, it also reduces the privacy of ordinary users. The tension between financial transparency and individual privacy is a fundamental challenge in Bitcoin's design.
Layer 2 solutions like Spark move transactions off the base chain, reducing the on-chain footprint available for clustering analysis.

## Evolving Techniques

Both clustering and countermeasures continue to evolve. Graph neural networks (GCN, GraphSAGE, GAT) are being trained on Bitcoin transaction graphs for improved change address detection and address classification. Meanwhile, protocol-level privacy improvements like Silent Payments and Taproot adoption change the on-chain signals that clustering depends on.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
