All articles
Blockchain Tracing & Forensics

Change Address Detection: A Key Bitcoin Forensic Technique

Identifying change addresses is essential for following the right trail in Bitcoin investigations. Learn the heuristics investigators use and the mistakes criminals make.

NexusCore Investigations Team2026-08-109 min read
Change Address Detection: A Key Bitcoin Forensic Technique

In Bitcoin forensics, every transaction with multiple outputs presents a question: which output is the payment (going to the recipient) and which is the change (returning to the sender)? Getting this wrong means following the wrong trail. Change address detection is therefore one of the most important skills in Bitcoin investigation. This article explains the heuristics investigators use and the mistakes criminals make.

Why Change Addresses Exist

Bitcoin uses a UTXO (Unspent Transaction Output) model. When you spend bitcoin, you must spend an entire UTXO — you cannot spend part of it. If you have a 1 BTC UTXO and want to send 0.3 BTC to someone, you create a transaction with the 1 BTC UTXO as input and two outputs: 0.3 BTC to the recipient and 0.7 BTC back to yourself (minus the fee). The 0.7 BTC output is the change.

Modern wallets generate a new address for each change output, so the change address is a fresh address that the sender controls. Identifying which output is change (and therefore controlled by the sender) and which is the payment (controlled by the recipient) is the core challenge.

Heuristic 1: Address Reuse

The strongest single heuristic. Modern wallets generate a new address for every transaction — both for receiving payments and for change. Therefore:

  • If an output address has never been used before (appears for the first time in this transaction), it could be either change or payment
  • If an output address has been used before, it is more likely the payment (the recipient reused their address) — change addresses are almost always fresh

This heuristic is strong because address reuse for change is a wallet bug or a very old wallet behavior. Most modern wallets never reuse change addresses.

Heuristic 2: Script Type Matching

Bitcoin supports multiple address formats (script types): Legacy (P2PKH), Nested SegWit (P2SH-P2WPKH), Native SegWit (P2WPKH/bech32), and Taproot (P2TR). A wallet typically uses one script type consistently.

If all inputs are Native SegWit and one output is Native SegWit while the other is Legacy, the Native SegWit output is likely the change (the wallet generates change in the same type as the inputs). The Legacy output is likely the payment (sent to a recipient using a different wallet type).

Heuristic 3: Round Number Heuristic

Payments are often round numbers — a user sends 1.0 BTC or 0.5 BTC. Change is rarely a round number because it is the remainder after the payment and the fee. If one output is 1.0 BTC and the other is 0.98765432 BTC, the 1.0 BTC output is likely the payment.

This heuristic is weaker than the others because not all payments are round numbers, but it is useful in combination.

Heuristic 4: Largest Output Heuristic

In many transactions, the payment is the larger output and the change is smaller. If one output is significantly larger than the other, the larger one is more likely to be the payment.

Important caveat: This heuristic is reversed in peel chains, where the largest output is the continuation (change) and the small output is the peel (payment). Context matters — the investigator must understand the transaction pattern.

Heuristic 5: Fee and Change Relationship

The change output is the input amount minus the payment minus the fee. If you know the input amount and the fee (which can be calculated from the transaction), you can determine which output is consistent with being the change. The change = input - payment - fee. If one output fits this calculation and the other doesn't, the fitting one is the change.

Heuristic 6: Wallet Fingerprinting

Different wallet software has different behaviors in how they construct transactions, choose inputs, and generate change. Over time, an investigator can recognize wallet fingerprints — patterns that identify the wallet software used. If the wallet is known, its change-generation behavior is known, which helps identify the change output.

Mistakes Criminals Make

Criminals are not always sophisticated. Common mistakes that reveal change addresses:

Reusing Change Addresses

If a criminal's wallet reuses a change address (due to old wallet software or misconfiguration), the change is identifiable by address reuse. Worse, all transactions using that change address are linked to the same entity.

Sending Change to an Exchange

If a criminal accidentally sends change to an exchange deposit address (because they used the exchange address as a change address in their wallet setup), the change is identified as the exchange's address.

Inconsistent Script Types

If a criminal uses a wallet that generates change in a different script type than the inputs, the change is identifiable by the script type mismatch.

Round Number Change

If a criminal crafts a transaction where the change is a round number (e.g., sending exactly 0.5 BTC and keeping exactly 0.5 BTC), the round number heuristic is weakened, but the transaction stands out as unusual.

Not Using New Change Addresses

Some criminals manually construct transactions and reuse their own addresses for change, making the change trivially identifiable.

The Impact of Change Detection on Tracing

Correct change detection is the difference between following the right trail and the wrong one. If an investigator follows the payment output thinking it is the change, they follow the recipient's subsequent activity — which may be unrelated to the criminal. If they correctly follow the change, they follow the criminal's continued activity.

In peel chains, correct change detection (following the largest output, which is the change/continuation) allows the investigator to follow the bulk of the funds through the entire chain.

Tools for Change Detection

Professional tools automate change detection using the heuristics above. For manual investigation, a block explorer that shows the full transaction details (inputs, outputs, script types, fee) is sufficient. The investigator applies the heuristics manually.

Conclusion

Change address detection is a fundamental skill in Bitcoin forensics. By applying heuristics — address reuse, script type matching, round number, largest output, fee-change relationship, and wallet fingerprinting — an investigator can identify the change output in most transactions and follow the right trail. Criminals who make mistakes (reusing change addresses, inconsistent script types, round number change) make the investigator's job easier. Mastering this technique is essential for anyone tracing Bitcoin transactions.

Share this article