Change Output

The leftover from a spend that returns to the sender, and the main reason address reuse leaks privacy.

Basically

When you make a Bitcoin payment, your wallet often returns the leftover funds to you as a change output. It works like getting change after paying with cash.

Key Takeaways

  • A change output is the UTXO returned to you when a Bitcoin transaction uses more value than the payment requires, like change after paying with a larger banknote.
  • Change outputs are a major privacy concern. Chain analysts use heuristics such as round amount detection and address type matching to identify the payment and the change, which lets them trace spending patterns across transactions.
  • Coin control, matching address types, and avoiding round payment amounts are practical ways to reduce the information your change outputs reveal about your wallet.

What Is a Change Output?

A change output is the part of a Bitcoin transaction that sends unspent funds back to you. Bitcoin uses the UTXO model, so you cannot spend only part of an individual UTXO. When a transaction consumes a UTXO, its entire value must be accounted for: part goes to the recipient, part goes to the miner as a fee, and any remainder returns to you as a new UTXO called the change output.

The concept works like physical cash. If you hold a $20 banknote and owe someone $12, you hand over the entire $20 and receive $8 back; UTXOs work the same way, with the full UTXO consumed as an input and the difference, minus transaction fees, returned as change. Unlike cash, every change output is permanently recorded on the blockchain, creating a traceable link between transactions.

How It Works

Every Bitcoin transaction follows a simple accounting rule: the total value of inputs must equal the total value of outputs plus the transaction fee. Change outputs satisfy this rule whenever the selected inputs exceed the payment amount.

A Concrete Example

Suppose your wallet holds two UTXOs: one worth 0.6 BTC and another worth 0.5 BTC. You want to pay someone 0.7 BTC, and together your UTXOs provide 1.1 BTC.

Your wallet consumes both UTXOs entirely and creates two new UTXOs: one for the recipient and one returning the surplus to you. The original UTXOs no longer exist in the UTXO set.

Changeless Transactions

No change output is needed if the selected inputs exactly match the payment amount plus fees. Modern wallet software like Bitcoin Core uses a coin selection algorithm called Branch and Bound (BnB) that specifically searches for input combinations that avoid creating change. Removing the change output saves transaction fees because fewer bytes need to be written and improves privacy by removing a data point analysts can use.

Change Address Derivation

Wallets built on the HD wallet standard derive change addresses from a dedicated internal keychain. The BIP 44 family of derivation paths separates receiving and change addresses using an index in the path.

A fresh change address is generated for every transaction. This prevents address reuse, which would make it trivial for anyone to track your entire spending history by watching a single address.

Change Detection Heuristics

Change addresses are separate from receiving addresses, but the blockchain records every output publicly. Chain analysis firms use several heuristics to determine which output in a transaction is the payment and which is the change.

Round Amount Heuristic

A transaction producing outputs of 0.8 BTC and 0.31838477 BTC suggests that the round amount is the payment and the irregular amount is the change. This also applies to fiat-round amounts: an output that converts to exactly $500 USD at the current exchange rate is probably a deliberate payment, not leftover change.

Address Type Matching

Wallets typically use a consistent address format. If all inputs and one output share the same type, for example P2WPKH, but the other output uses a different format like P2PKH, the matching output is likely change; the mismatched output is assumed to be the payment because recipients often use different wallet software.

Fresh Address Heuristic

An output is likely to be change if it goes to an address that has never appeared on the blockchain before. Wallets generate fresh change addresses for each transaction, while payment addresses often have prior history because they have been shared or published.

Common Input Ownership

All inputs in a standard transaction are assumed to belong to the same entity. Combined with change detection, this assumption lets analysts cluster addresses into wallet profiles and map an entity's full transaction graph across the blockchain.

Wallet Fingerprinting

Wallet software leaves identifiable traces in transactions beyond the outputs: input/output ordering conventions, fee estimation strategies, version fields, locktime values, and whether replace-by-fee is signalled. These fingerprints narrow down which software created the transaction and further aid change identification.

Privacy Best Practices

Change outputs are one of the biggest privacy leaks in Bitcoin. Each heuristic on its own may be unreliable, but together they can give analysts high confidence when tracing funds. Several techniques can reduce the information your change outputs reveal.

Coin Control

Coin control lets you manually select which UTXOs to include as transaction inputs. It stops your wallet from automatically combining UTXOs from different sources, such as mixing a UTXO received from a KYC exchange with one from a private sale. Bitcoin Core, Sparrow, and Electrum all support coin control.

Match Address Types

Use the same address format for all outputs in a transaction to defeat the script type heuristic. If your wallet uses P2TR (Taproot) addresses, make sure the change address is also P2TR. As Taproot adoption grows, the uniform bc1p address format makes all outputs look identical regardless of the underlying spending conditions.

Avoid Round Amounts

Avoid amounts that are round numbers in BTC or their fiat equivalent when sending payments. A payment of 0.04817293 BTC is harder to distinguish from the change output than a payment of exactly 0.05 BTC.

Eliminate Change Entirely

The most effective privacy technique is to avoid creating change at all. Select UTXOs whose combined value closely matches the payment plus fees; Bitcoin Core's Branch and Bound algorithm attempts this automatically. When it succeeds, the transaction has only payment outputs and no change to analyse.

PayJoin

PayJoin transactions include inputs from both the sender and the receiver. They break the common input ownership assumption because the inputs no longer belong to a single entity. PayJoin transactions look identical to normal transactions on the blockchain, so they remain effective even when used only occasionally.

Standard Payments

Nearly every Bitcoin transaction creates a change output. When you buy goods, send funds to another wallet, or pay for services, your wallet automatically handles change creation and returns the surplus to a fresh address you control.

UTXO Consolidation

UTXO consolidation deliberately combines many small UTXOs into a single larger one during low-fee periods. The resulting transaction has many inputs and a single output, which is all change with no payment. It reduces future transaction costs because spending fewer inputs requires less block space, measured in virtual bytes.

Fee Management

Change outputs directly affect fee estimation. Adding a change output increases the transaction size, which increases the fee. If the change amount is very small, below the dust limit of 546 satoshis for legacy outputs or 294 satoshis for SegWit outputs, the wallet typically adds it to the miner fee instead of creating a dust UTXO that would cost more to spend than it is worth.

Privacy Degradation

Change outputs create a traceable chain of linked transactions. Each time you spend a change UTXO, it connects the current transaction to the previous one; over time, this chain reveals spending patterns, frequency, and approximate wallet balance to anyone watching the blockchain. For a deeper analysis, see the Lightning Network privacy analysis, which covers how on-chain transaction patterns affect overall privacy.

UTXO Bloat

Every change output adds a new entry to the global UTXO set that every full node must store. Billions of transactions over Bitcoin's history have created a growing UTXO set. Changeless transactions help reduce this bloat because they consume inputs without creating additional UTXOs beyond the payment itself.

Transaction Cost Overhead

A change output adds roughly 31 vBytes for a P2WPKH output to the transaction size, and this overhead becomes significant at high fee rates. Bitcoin Core's CoinGrinder algorithm, introduced in version 27.0, specifically minimises input set weight at high fee rates to reduce total transaction cost, though it still creates change outputs. For background on how fees work, see the Bitcoin fee market dynamics deep dive.

Dust Change

Change amounts below the dust threshold are absorbed into the miner fee, so you lose those satoshis rather than recovering them. Each individual loss is tiny. However, frequent transactions with near-exact UTXO matches can accumulate meaningful dust losses over time.

How Layer 2 Solutions Address the Change Problem

The change output problem is fundamentally tied to the UTXO model on Bitcoin's base layer. Layer 2 solutions and off-chain protocols can sidestep it entirely.

Spark, for example, enables Bitcoin and stablecoin transfers without creating on-chain UTXOs for every payment. Because transactions settle off-chain, you do not need to select inputs, create change outputs, or worry about change detection heuristics, and you can send exact amounts without leftover change. You avoid both the privacy leaks and the fee overhead that change outputs introduce on Layer 1; for a broader comparison of the UTXO model and its alternatives, see the UTXO model vs. account model research article.

The 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.

0

← All 1876 glossary terms