Bitcoin Coin Control: UTXO Selection, Fees, and Privacy
Coin control is the ability to choose which unspent transaction outputs (UTXOs) fund a Bitcoin transaction. It is more than a balance-management feature: input selection affects fees, change, wallet accounting, and the relationships visible on the blockchain.
Inputs are spent in full
Suppose a wallet controls a 100,000-satoshi UTXO and wants to pay 60,000 satoshis. It cannot partially consume that UTXO. It must spend the entire output and usually create a payment output and a change output. If the fee is 1,000 satoshis, a simple example creates 60,000 satoshis for the recipient and 39,000 satoshis in change.
Real fees depend on transaction weight and prevailing feerates, not simply on the transferred amount. Different input and output script types have different weight costs.
Why input choice matters
Selecting several small UTXOs can increase transaction weight and therefore the fee at the same feerate. Choosing a single large UTXO can reduce input count, but may create a substantial change output. Avoiding change is sometimes possible when selected inputs closely match the target plus fee, though exact matching is not always economical.
Privacy and the common-input heuristic
Analysts often infer that inputs spent together belong to one controller. This common-input-ownership heuristic can be useful, but is not universally valid: collaborative transactions can have inputs from different parties. Wallets should not present heuristic clustering as proof of ownership.
Coin control allows a user to avoid combining UTXOs associated with different contexts. However, a transaction may still reveal relationships through amounts, timing, change patterns, or known counterparties. Coin control is a tool, not a privacy guarantee.
Operational risks
A UTXO may be immature, timelocked, already reserved by a pending transaction, or otherwise unavailable. Sending from unconfirmed outputs may create dependencies. Wallets must prevent accidental double selection during concurrent sends and handle replacements, reorgs, and failed broadcasts without losing track of reserved inputs.
Implementation guidance
Show selected outpoints, amounts, confirmation status, estimated vsize, fee rate, fee, destination outputs, and change. Validate that input sum equals output sum plus fee. Respect dust policy, lock conditions, and the wallet's signing authority. Keep a clear distinction between manual coin control and automatic selection.
Primary references
Bitcoin developer guide — transactions: https://developer.bitcoin.org/devguide/transactions.html
Bitcoin Core RPC documentation: https://bitcoincore.org/en/doc/
