How to Trace a Bitcoin Transaction (Step by Step)
Tracing a Bitcoin transaction means following each output to the transaction that spent it, hop after hop. The five-step workflow investigators use, the clustering heuristics and where they break, and the point where on-chain data stops and identity begins.
By the BitcoinDatabase team
July 2026 · 9 min read
Hit Run to query the fully-indexed Bitcoin blockchain.
BTC
30-day trend
informational on-chain data · not financial advice
The short answer
To trace a Bitcoin transaction, start from its transaction ID, look at where each output went, then find the transaction that spent that output and repeat. Every hop is public and permanent. What the chain never shows is identity: a trace tells you where value moved, and only an off-chain record at a regulated service ties an address to a person.
Bitcoin is often described as anonymous. It is closer to the opposite. Every transaction since the 2009 genesis block sits in a public ledger that anyone can read, and every output carries a permanent record of which later transaction spent it. That single property is what makes tracing possible at all: the chain is not a pile of disconnected payments, it is a graph, and following it is a mechanical exercise once you know the rules.
What follows is the workflow investigators, exchange compliance teams and forensic accountants actually use, plus an honest account of where it stops working. None of this is legal advice, and none of it identifies people.
How do you trace a Bitcoin transaction?
Tracing works in five steps, repeated until the trail reaches somewhere useful or goes cold.
1. Start from a known point. That is usually a transaction ID (a 64-character hash) or an address you already have from a payment record, a ransom note, an exchange statement or a report. Confirm it exists on-chain and note the block height, because everything downstream is dated relative to it.
2. Read the outputs. A Bitcoin transaction consumes inputs and creates outputs. List each output, its value and its destination address. Bitcoin does not have account balances the way a bank does; it has unspent transaction outputs, and understanding that distinction is the difference between reading a trace correctly and misreading it.
3. Identify the change. Most payments create two outputs: one to the recipient and one back to the sender as change. Mistaking the change output for the payment sends your entire trace down the wrong branch, so this is the step where traces most often go wrong. Change is usually the output whose address has never appeared before, or the one whose value has an odd, unrounded amount.
4. Follow the spend. Find the transaction that later spent the output you care about, and go back to step two. This is the hop. A serious fund flow runs dozens to hundreds of hops, which is why doing it by hand in a block explorer stops scaling almost immediately.
5. Check every hop against labels. The moment a hop lands on an address attributed to an exchange, a payment processor, a mining pool or a custodian, the investigation changes character. On-chain work has done its job; the next step is a records request to that service. This is where a Bitcoin address labeling dataset earns its keep, because an unlabeled hash tells you nothing about whether you have reached a chokepoint.
What can a Bitcoin trace actually tell you?
It helps to be precise about which questions the chain answers and which it does not. Confusing the two is the most common error in this field, and it is the reason some tracing claims fall apart under scrutiny.
| Question | Can the chain answer it? | Why |
|---|---|---|
| Where did this value go next? | Yes, exactly | Every output records the transaction that spent it |
| How much moved, and when? | Yes, exactly | Amounts are recorded to the satoshi with a block timestamp |
| Do these addresses share one owner? | Probably, not certainly | Clustering is a heuristic, and heuristics have exceptions |
| Which service is this address? | Sometimes | Only where the address has been attributed to a known entity |
| Who is the person behind it? | No | Identity is never written to the blockchain |
What heuristics do investigators use to group addresses?
A wallet is not one address. Modern wallets generate a fresh address for nearly every receive, so a single user can control thousands. Grouping those addresses back together, called clustering, is what turns a scattered set of hops into a picture of one entity's activity. The grouping rules are inferences, not facts recorded on the chain, and they should always be reported that way.
| Heuristic | The inference | Where it breaks |
|---|---|---|
| Common input ownership | Addresses spent together as inputs to one transaction share an owner | CoinJoin and other collaborative transactions combine inputs from many owners on purpose |
| Change detection | The fresh, unrounded output returning value to the sender is change | Wallets that reuse addresses, or send round amounts, invert the signal |
| Peel chain | A large sum peeling off small amounts step after step is one entity moving funds | Exchange hot wallet batching produces a visually similar pattern |
| Behavioral and timing patterns | Repeated fee choices, address types or hours of activity suggest one operator | Weakest of the four; suggestive at best, never conclusive on its own |
A peel chain deserves its own note because it is the pattern you will meet most often when following stolen or laundered funds. The holder starts with a large output, sends a small slice somewhere (often to a service), and keeps the large remainder as change. Then they do it again, and again. Visually it is a long thin tail, sometimes hundreds of links, and each link is a chance to lose the thread by picking the wrong output.
Can Bitcoin transactions be traced by police?
Yes. US federal agencies including the FBI and IRS Criminal Investigation routinely follow Bitcoin flows, and they do it with the same public ledger and the same clustering techniques available to everyone, usually through commercial blockchain intelligence tooling. The step that converts a trace into a name is not on-chain: it is a subpoena or similar legal process served on the exchange or service where the funds landed, which returns the identity documents and login records collected at signup. That is why the endpoint of a trace matters far more than its length.
Can stolen Bitcoin be traced and recovered?
Traced, almost always. Recovered, much less often. The coins remain visible forever, so a competent trace can usually show where they went, and if they reach a compliant exchange there is a realistic chance of a freeze while law enforcement acts. But recovery depends entirely on the funds reaching a cooperative, regulated counterparty before they are cashed out or moved into privacy tooling, and on speed. Anyone promising guaranteed recovery of stolen crypto for an upfront fee should be treated as a second scam. We provide on-chain data only and do not recover funds.
Can a Bitcoin address be traced to a person?
Not from the blockchain by itself. On-chain data connects addresses to other addresses. It contains no names, emails, IP addresses or documents. Attribution comes from the edges of the system: an exchange that verified a customer, a merchant with an order record, a public donation address someone posted themselves, or an operational mistake that ties an address to an identity. Analysts who claim a trace alone identifies an individual are overstating what the data supports, and treating a probabilistic cluster as proof of a person is exactly the kind of claim that gets challenged in court.
How far back can you trace a Bitcoin transaction?
All the way to where the coins were mined. There is no expiry and no pruning of history at the protocol level, so a coin created in 2011 can be traced forward across every hop it has ever taken, and any current output can be traced backward toward its origin. The practical limit is not the data, it is fan-out: trace backward far enough and each hop branches into more parent transactions, until you are following thousands of paths that no longer say anything meaningful about the case.
Does a mixer or CoinJoin stop tracing?
It stops clean linkage, which is the point of it. A CoinJoin builds one transaction with inputs and outputs from many participants, deliberately breaking the common input ownership assumption so that no observer can say which output belongs to which input. You can still see funds enter the service and see equivalent value leave it, and the entry itself is a meaningful compliance signal, but asserting that a specific outgoing output is the same money as a specific incoming one is usually unsupportable. Honest tracing marks that boundary rather than papering over it, which is also how any downstream Bitcoin address screening result should be read: a signal for review, not a verdict.
How do you trace Bitcoin at scale instead of by hand?
Manual tracing in a block explorer works for three or four hops and then collapses. Each hop is a page load, branches multiply, and there is no way to ask a question about the whole path at once. Teams that trace regularly move to data access instead: pull the spending transaction for any output programmatically, expand inputs and outputs with amounts and block heights, and check every hop against entity labels in the same request. That is what our Bitcoin transaction tracing API is built for, and for graph-shaped questions such as every path under ten hops between two addresses, a single recursive SQL query against the indexed chain replaces thousands of round trips.
Two habits separate a defensible trace from a story. Pin the work to a block height so the same query returns the same result later, and export the underlying rows rather than screenshots, so every claim in a report can be walked back to the specific transaction that supports it. Legal teams building a matter on top of that evidence will pair it with the relevant statutes and precedent, and looking up how courts have treated similar records is generally a better use of their time than re-deriving the chain analysis. If you need the trail watched going forward rather than reconstructed after the fact, crypto transaction monitoring covers the ongoing case.
The one thing to get right
Bitcoin tracing is powerful precisely because the ledger is public and permanent, and it is limited precisely because that ledger records value, never people. Keep those two facts side by side and the discipline stays honest: follow the money accurately, label what can be labeled, mark clearly where inference begins, and hand off to the off-chain record when the trail reaches a regulated door. If you want the background on why the ledger is this transparent in the first place, our explainer on whether crypto transactions are traceable covers the underlying design, and the walkthrough on screening a Bitcoin address for sanctions exposure covers the compliance side of the same data.
Query the Bitcoin blockchain yourself
Pull balances, UTXOs, transactions, on-chain metrics and fund flows from the fully indexed Bitcoin blockchain by REST API, SQL and dashboards. Indexed since 2009, new blocks within seconds, no node to run.