Ask a wallet for your balance and it adds up a list. Nothing in Bitcoin stores that number, and no part of the protocol knows that two coins belong to the same person. That is unusual among ledgers, it was a deliberate choice, and most of Bitcoin’s awkward details and several of its best properties follow from it.
What does the protocol actually track?
Discrete outputs, each spendable once and in full.
A transaction consumes some outputs entirely and creates new ones. The
validation code in tx_verify.cpp checks that every input refers to an
output that exists and has not been spent, and that the total consumed
is at least the total created. There is no balance to debit and no
account to look up.
The name for one of these is an unspent transaction output, which is why the literature is full of the word UTXO and why the set of them is the only state a node must hold. An output is identified by the transaction that created it and its position in that transaction’s list, which is also why a transaction’s identifier mattering was worth fixing.
That is why change exists. Paying 0.3 from a 1.0 coin means destroying the 1.0 and creating two outputs — one to the recipient, one back to yourself — because partial spending is not a thing the model can express.
The alternative is the account model, used by most later systems. Ethereum’s own documentation describes accounts as objects with a balance that transactions modify. That is closer to how people think about money and much closer to how a database normally works.
What does the UTXO model buy?
Three things that matter more at scale than they look on paper.
Validation parallelises. Two transactions spending different outputs cannot conflict, so a node can check them independently and in any order. In an account model, two transactions touching the same account must be applied in a definite sequence, because each reads a balance the other writes.
There is no shared mutable state. An output is created once and consumed once, and nothing is ever edited. That removes an entire class of ordering bug, and it is the reason Bitcoin has no equivalent of the reentrancy failures that have cost account-based systems a great deal of money.
Pruning is possible. Because the only thing needed to validate the next transaction is the set of unspent outputs, a node can discard the history that produced them. An account model needs the current state too, so this is not unique — but the UTXO form makes the boundary between state and history unusually clean.
A fourth benefit is smaller and real: a transaction says exactly what it consumes, so the inputs it depends on are explicit. In an account model the effect of a transaction depends on the state at the moment it executes, which is why those systems need concepts like nonces and gas limits to make outcomes predictable.
What does it cost?
Awkwardness for everyone writing software on top of it.
A wallet must do coin selection on every payment, choosing which outputs to consume, which is a search problem with fee and privacy consequences. An account model picks no coins: it subtracts a number.
Receiving is also stateful in an unhelpful way. A wallet must scan for outputs belonging to it, track which are spent, and keep the set current, where an account model can simply read a balance. That difficulty is most of why light clients are harder for Bitcoin than for account-based chains.
And contracts are harder to express. A UTXO is consumed whole by one spending transaction, so a contract holding state across many interactions has to thread that state through a chain of outputs. Several of the more ambitious Bitcoin proposals are attempts to make that threading less painful.
What does a wallet have to do instead?
Keep its own index, and get the arithmetic right at every step.
Because the protocol has no balance, a wallet maintains one. It derives its addresses, watches the chain for outputs paying them, records which are spent, and sums the rest. Every part of that is software the wallet author must write correctly, and a mistake shows up as a wrong balance rather than as an error.
The subtleties are where the bugs live. An output seen but not yet confirmed is not spendable with the same confidence as one buried deeply. An output the wallet created as change must be recognised as its own, which requires knowing its own derivation. And an output whose value is below the fee to spend it counts toward the displayed balance and not toward what can actually be sent, which is why a wallet can show a balance it cannot fully spend.
An account model removes all of that and replaces it with a lookup. That is a genuine simplification for the developer, paid for by the properties above, and it is worth being clear that the UTXO model’s costs land on software authors while its benefits land on validators.
Is one model more private?
The UTXO model is better by default and the difference is smaller than it sounds.
An account accumulates history in one place: every transaction in and out is attached to the same identifier, permanently and visibly. A fresh output has no such anchor, and a wallet that uses a new address each time scatters its activity across unlinked entries.
What undoes that is spending. Consuming two outputs in one transaction asserts common ownership, so the clustering an account gives away immediately is something a UTXO wallet gives away gradually, as it spends. The model buys time and a choice rather than privacy.
It does, though, make the privacy improvable. Techniques that break the clustering heuristic have something to work with, because the model does not force a single identifier. In an account system there is nothing equivalent to withhold.
Why did later systems choose accounts?
Because they were built for programs rather than for payments.
A general computation platform needs persistent state that code can read and write — contract storage, token balances, registries — and the account model is the natural representation for that. Expressing the same thing in UTXOs is possible and inconvenient, and the inconvenience lands on every developer.
Bitcoin was not built for that, and the whitepaper’s framing is about a chain of signatures transferring coins. Judged as a platform for arbitrary programs the UTXO model is the wrong choice; judged as a settlement system that must be validated cheaply by many independent parties, the parallelism and the absence of shared mutable state are exactly the properties wanted.
The comparison is therefore not “which is better” but “for which workload”. Both communities tend to answer the question their system was designed for and treat the other as an oversight.
Does the model constrain what Bitcoin can become?
Yes, and the constraint is partly the point.
The absence of shared mutable state is what makes validation cheap and predictable, and it is also what makes stateful applications hard. Any proposal that adds general state would be trading the first for the second, and the arguments about covenants and script extensions are largely arguments about how much of that trade to make.
What is available without changing the model is more than it first appears. Payment channels thread state through pre-signed transactions, timelocks let an output’s spendability change with the clock, and Taproot hides unused conditions entirely. Each works with the model rather than against it.
The honest limit is that none of this makes Bitcoin a platform for arbitrary programs, and the designs that keep trying tend to rediscover why the model resists it.
Check it yourself
Your node reports the model directly. Ask it about an output rather than an address:
bitcoin-cli gettxout <txid> <n>
It answers with the amount and the script if the output is unspent and with nothing at all if it has been spent, because “spent” means “removed from the set” rather than “marked”. There is no command that returns the balance of an address, which is the absence this article is about — block explorers provide one by building an index the protocol does not have.
What remains uncertain
Whether the state-size argument holds up. The UTXO set grows with usage and cannot be pruned, while account state grows with accounts and contracts. Which grows worse over decades depends on usage patterns nobody can project, and both communities assume their own answer.
Whether contract threading becomes practical. Several proposals aim to make stateful constructions comfortable in a UTXO model. If one succeeds, much of the argument above becomes a historical curiosity; if none does, the division of labour between settlement and platform chains persists by default rather than by design.
How much of the privacy advantage survives in practice. It depends entirely on wallet behaviour, and most wallets merge outputs freely. The model’s advantage is an option that the default configuration declines.
Sources
- PrimaryBitcoin: A Peer-to-Peer Electronic Cash System ↗
- First-partyBitcoin Core — src/coins.h ↗
- First-partyBitcoin Core — src/consensus/tx_verify.cpp ↗
- First-partyEthereum — Accounts ↗