Wallets & Security

Ch 11 · UTXOs — Your Balance Is a Pile of Coins

Wallets & Security progress: chapter 5 of 9
You chose: Wallets & Security

UTXOs — Your Balance Is a Pile of Coins

Hook

Your wallet shows one friendly number: the balance. Underneath, Bitcoin does not keep a single account total for you. It keeps a pile of separate coins—and every spend picks coins from that pile.

One idea

A UTXO (unspent transaction output) is one spendable coin on the ledger; your balance is the sum of UTXOs your keys can spend, and sending usually creates change because you cannot tear a coin in half without making new outputs.

Plain walkthrough

Balance UI vs coins. The big number is a convenience sum. The ledger tracks outputs that have not been spent yet. Each of those is a UTXO: a discrete amount locked to conditions your wallet can meet. Ten deposits can mean ten UTXOs (or more, or fewer after you consolidate). Spending does not decrement a spreadsheet cell; it consumes whole UTXOs as inputs and creates new UTXOs as outputs (Chapter 10).

Why wallets hide this. Most people want “how much can I spend?” not “list every coin.” Good wallets select UTXOs for you (coin selection), build change, and show one balance. You still benefit from knowing the pile exists—especially when fees, privacy, or “why did I get change?” come up.

Change outputs. Suppose you have one UTXO worth 100,000 sats and you want to pay someone 30,000 sats. You cannot leave 70,000 “still in” that same UTXO. The transaction spends the whole 100,000 as an input, creates a 30,000 output for them, and typically a ~70,000 output back to an address you control (minus fee). That return piece is change. Same pile of value; new coins on the ledger.

You can’t split without change (in place). There is no “break this bill” button that edits one UTXO into two while it sits. Splitting is a transaction: consume the old coin, create two (or more) new ones. Merging many small UTXOs into one larger UTXO is also a transaction (sometimes called consolidating)—useful later, fee-sensitive, not required for beginners.

A short picture. Cash in a pocket: three bills totaling $47 is still “$47,” but paying a $10 tab with a $20 bill gets you change. Bitcoin’s pile works like that, except every bill is a UTXO and “making change” is written into the transaction itself. Optional playground: Viz’s Coins in Your Pocket (/playground/coins-in-your-pocket) stub lets you feel selection and change without risking real funds—use it when you want a hands-on pass; this chapter stands alone without it.

Privacy and piles (light touch). Change often goes to a fresh address your wallet controls. External observers may still guess which output is payment and which is change; advanced wallets use tactics to blur that. For now: expect change, expect multiple UTXOs over time, and remember that address reuse (Chapter 8) makes linking piles easier.

Dust and tiny leftovers. Very small UTXOs can cost more in fees to spend than they are worth in a busy fee market. Beginners rarely need to manage this manually; just know why a wallet might discourage microscopic sends.

Watch-outs

  • “My balance disappeared into many addresses” — Normal. One seed controls many addresses and many UTXOs; the sum is still yours if the keys are.
  • Change is not a second payment to a stranger — It should return to you. Verify on a hardware screen when amounts matter; learn your wallet’s change behavior with tiny tests.
  • More UTXOs can mean higher fees — Each input adds data size. A pile of tiny coins can make a send pricier than one larger coin. Chapter 12 connects size to fee-rate.
  • Balance vs available — Some wallets show pending incoming or locked amounts separately. Read the labels before you assume you can spend the headline number.
  • Playground ≠ mainnet — Viz sims teach intuition; they do not move real bitcoin.

You now can…

  • Explain that balance = sum of UTXOs your keys can spend—not a single account cell.
  • Predict change when you spend a coin larger than the payment.
  • See coin selection and fees as consequences of a pile of coins, ready for Chapter 12.

What next?

Ebook: continue to Ch 12

Back one stepReturn to map