Coin Control
Picking exactly which UTXOs a transaction spends, so you can protect privacy or avoid dust.
Basically
Coin control lets you choose exactly which pieces of bitcoin you spend. You decide which coins to combine instead of leaving that choice to your wallet, giving you more control over privacy and fees.
Key Takeaways
- Coin control lets you manually choose which UTXOs to spend, overriding your wallet's automatic coin selection algorithm. You gain direct control over privacy, fees and fund management.
- Privacy is the primary motivation. Combining UTXOs from different sources links those addresses together on-chain, allowing blockchain analysis firms to cluster your activity, while coin control lets you keep separate contexts separate.
- Fee optimisation is the second major benefit. Selecting fewer, larger inputs reduces transaction weight and cost, while avoiding dust UTXOs that cost more in fees to spend than they are worth.
What Is Coin Control?
Coin control is a wallet feature that lets you manually choose which specific UTXOs (unspent transaction outputs) to use as inputs when building a Bitcoin transaction. Every Bitcoin transaction spends one or more UTXOs as inputs and creates new UTXOs as outputs. Your wallet normally combines UTXOs automatically with built-in algorithms, but coin control lets you override that choice.
UTXOs work much like individual bills in your physical wallet. If you have a $50 bill, two $20 bills and a handful of coins, you might pay with the $50 rather than combining the smaller denominations. Each Bitcoin UTXO likewise has a different value, history and privacy profile, so which ones you spend together has real consequences.
Coin control addresses a fundamental property of Bitcoin's UTXO model: when multiple inputs appear in the same transaction, blockchain observers assume they belong to the same entity. The common input ownership heuristic is the primary tool chain analysis firms use to track Bitcoin flows. Privacy-conscious users can use coin control to break this assumption by carefully choosing which UTXOs to spend together.
How It Works
Automatic coin selection chooses your inputs when you send Bitcoin without coin control. Bitcoin Core, for example, runs four different algorithms in parallel and picks the result with the lowest "waste score." These algorithms optimise for fees and change output efficiency, but ignore privacy context, so they may freely combine UTXOs from an exchange withdrawal with UTXOs from a private peer-to-peer payment.
Coin control shows you every UTXO in your wallet along with its value, address, confirmation count and, if you label them, its source. You manually check which UTXOs to include, and the wallet uses only those as inputs.
Coin Selection Algorithms
Coin control overrides Bitcoin Core's automatic selection process. Bitcoin Core uses these four algorithms, evaluated by a waste metric that balances fee cost against long-term efficiency:
The waste metric formula compares all four results. Bitcoin Core uses the result with the lowest waste score.
The waste metric encourages consolidation during low-fee periods and spending fewer inputs when fees are high. None of these algorithms consider where your UTXOs came from, which is why manual coin control exists.
UTXO Labeling
UTXO labelling makes coin control most effective. Each time you receive Bitcoin, you tag the resulting UTXO with its source and privacy characteristics: "exchange withdrawal," "peer-to-peer sale," "post-CoinJoin," or "unknown dust." You then select only UTXOs from the same context when building a transaction.
Sparrow Wallet and Bitcoin Core support labels natively. Labelling is especially important if you acquire Bitcoin through both KYC (know-your-customer) exchanges and private channels. Mixing those UTXOs in a single transaction permanently links your identity to the private funds on the public blockchain.
Privacy Protection
Coin control's most critical use case is preventing address and UTXO linkage. When you spend UTXOs from two different addresses in a single transaction, blockchain observers infer that you control both addresses. Over time, this clustering can reveal your entire transaction history.
Coin control prevents this by enforcing separation. Practical rules include:
Our research on transaction privacy covers Bitcoin privacy techniques including CoinJoin and PayJoin in more depth. Read it for a deeper look at these techniques.
Fee Optimization
Every input you add increases transaction size, measured in virtual bytes. Input sizes vary by script type:
Automatic selection might choose eight small UTXOs totalling around 600 vBytes, costing roughly 12,000 sats at 20 sat/vB. Coin control can instead select one large UTXO and reduce the transaction to around 150 vBytes, cutting the fee by 75%. The difference can save tens of thousands of satoshis per transaction during high-fee periods, such as when the mempool spiked to over 800 sat/vB during the April 2024 halving.
Our fee market dynamics research explains more about how Bitcoin fees work. Read it for more detail on the fee market.
UTXO Consolidation
Coin control enables strategic UTXO consolidation, combining many small UTXOs into fewer large ones during low-fee periods. Future transactions cost less because spending one large UTXO later requires only one input instead of many. Timing is key: consolidate when the fee rate is low, historically 5 to 20 sat/vB, so the consolidation transaction itself is cheap.
Avoiding Dust
Bitcoin Core defines dust as a UTXO whose value is less than three times the fee required to spend it. The thresholds vary by output type:
Coin control lets you exclude dust-value UTXOs from transactions so they do not inflate your fee cost. You can also identify suspicious dust sent to your addresses as part of a dust attack. An adversary sends tiny amounts to many addresses in such an attack, hoping recipients will spend them and reveal address linkage.
Wallets That Support Coin Control
Coin control is not available in every Bitcoin wallet. Wallets designed for advanced users or those with a privacy focus typically include it:
Our research on self-custodial vs. custodial wallets compares wallet architectures more broadly. It explains the differences between these approaches.
Why It Matters
Coin control is a cornerstone of Bitcoin self-custody. Automated coin selection algorithms optimise for fees but are blind to privacy context. Without coin control, even a privacy-conscious user can inadvertently link their entire transaction history by letting a wallet combine the wrong UTXOs.
Developers building on Bitcoin infrastructure need to understand coin selection. The UTXO model that underpins Bitcoin differs fundamentally from account-based systems, and how a wallet manages UTXOs directly affects user privacy and cost. Layer 2 solutions like Spark abstract away UTXO management for everyday payments while preserving self-custody, but on-chain coin control remains critical for users managing their own base-layer funds.
Complexity and User Error
Coin control requires knowledge of the UTXO model, transaction structure and privacy implications. Selecting the wrong UTXOs can be worse than automatic selection: accidentally combining a post-CoinJoin UTXO with a KYC exchange withdrawal undoes the privacy gained from mixing. Labelling discipline is essential but easy to neglect over time.
Change Output Leakage
Change outputs can leak information even with careful input selection: if you spend a 0.5 BTC UTXO to send 0.1 BTC, the 0.4 BTC change goes to a new address in your wallet. Analysts can often identify the change output by its amount, address type or position in the transaction. Techniques like replace-by-fee can sometimes adjust transactions, but change output analysis remains a persistent privacy challenge.
Over-Consolidation Risk
Overly aggressive consolidation creates large single UTXOs that reveal your total balance when spent. If you consolidate 50 small UTXOs into one 2 BTC output and then spend 0.01 BTC from it, the 1.99 BTC change output reveals your holdings. Balance your consolidation strategy against the privacy cost of creating large outputs.
Wallet Compatibility
Many consumer wallets do not support coin control at all. Mobile wallets and custodial services generally handle coin selection internally without user input. If coin control matters to your use case, you need a wallet that supports it, which may mean trading off convenience for control.
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.