LearnBitcoin

Glossary

UTXO (Unspent Transaction Output)

A spendable piece of BTC recorded on-chain. Each transaction input consumes one or more UTXOs.

A UTXO - unspent transaction output - is a transaction output that's still spendable. Bitcoin doesn't track account balances; it tracks UTXOs. The "balance" your wallet shows is just the sum of all UTXOs it can unlock.

Each UTXO has two parts: an amount (in satoshis) and a locking script that defines what's required to spend it. The most common script is "prove you have the private key for this address." More advanced scripts can require multiple signatures, a time delay, or other conditions.

UTXOs are all-or-nothing. When you spend one as a transaction input, the whole thing gets consumed. If you only want to send part of it, your transaction creates two outputs: one to the recipient, one back to yourself as change. Most wallets do this invisibly and pick a new address for the change.

Thinking in UTXOs matters for two practical reasons:

  • Fees. Every input you spend takes up roughly 68-148 bytes (depending on script type), and bigger transactions cost more. Many small UTXOs = expensive transactions. Periodically consolidating them when fees are low can save you money later.
  • Privacy. When you spend two UTXOs in the same transaction, you're publicly declaring they had a common owner. Chain analysts use this to cluster addresses. Coin control (manually choosing which UTXOs to spend) and tools like CoinJoin let you push back.

Go deeper in the UTXOs rabbit hole - change addresses, coin selection, dust, and the privacy implications. See also Transaction for the data structure that consumes and creates UTXOs, and the Mining rabbit hole §6 for how miners value them.

Key takeaways

  • Reflects the 'coin' concept in Bitcoin's ledger model
  • Must be fully spent; leftover must go to a 'change' output
  • Fundamental to on-chain transaction logic and privacy

External references (3)

Related terms (13)