What Is a UTXO?
Understanding UTXOs is key to understanding how Bitcoin transactions actually work under the hood. Unlike a bank account where you have a single balance number, Bitcoin tracks ownership through a collection of discrete, individually spendable outputs.
How UTXOs Are Created and Consumed
Every Bitcoin transaction takes UTXOs as inputs and creates new UTXOs as outputs. When a UTXO is used as an input, it is "consumed" - it ceases to exist as an unspent output. New UTXOs are created as the outputs of the transaction.
UTXOs must be spent entirely. You cannot spend part of a UTXO the way you might spend $20 out of a $50 bill. Instead, the whole UTXO is consumed and new outputs are created - one for the recipient and usually one back to yourself (called change).
A Concrete Example
You want to send: 0.03 BTC to a friend
Transaction inputs: [0.1 BTC UTXO] (consumed, destroyed)
Transaction outputs: [0.03 BTC to friend] + [0.069 BTC back to you as change] + [0.001 BTC fee to miner]
Result: You now have 1 UTXO worth 0.069 BTC. Your friend has 1 UTXO worth 0.03 BTC.
What Is the UTXO Set?
The UTXO set is the complete list of all unspent transaction outputs across the entire Bitcoin blockchain at a given moment. It represents the current state of Bitcoin ownership. Every full node maintains this set in memory to quickly validate new transactions - checking that any inputs being spent actually exist and haven't already been used.
As of 2024, the Bitcoin UTXO set contains roughly 100 million entries, occupying several gigabytes of data.
Why UTXO Management Matters for Fees
Bitcoin transaction fees are based on transaction size in bytes, not the amount being sent. Each UTXO you include as an input adds bytes to the transaction. If your wallet has accumulated many small UTXOs (called "dust"), your transactions will be larger and therefore more expensive.
Consolidating UTXOs during periods of low fees is a common best practice - combine many small UTXOs into fewer larger ones so future transactions are cheaper.
See UTXOs and Transactions Animated in 3D
Bitcoin From Scratch explains UTXOs, inputs, outputs, and how transactions flow through the blockchain - all visualized with 3D animation that makes the abstract model concrete.
Start Bitcoin From Scratch - $97