Thredu
moneydeskCrypto

UTXO model vs. account model: how do Bitcoin and Ethereum track balances differently?

Blockchains need a way to record who owns what. The two dominant designs are the UTXO model (used by Bitcoin and several others) and the account model (used by Ethereum and many smart contract chains).

UTXO: unspent transaction outputs

  • There's no stored "balance" for an address. Instead, the chain tracks individual chunks of coins created by past transactions.
  • Your wallet's balance is the sum of the unspent outputs it controls.
  • When you spend, you consume whole outputs and usually send the leftover back to yourself as "change," often to a new address.
  • Think of it like paying with bills from your wallet and receiving change.

Account model

  • Each address has a balance stored in the chain's state, like a bank ledger.
  • A transaction simply debits one account and credits another.
  • A nonce (counter) on each account prevents the same transaction from being replayed.

Trade-offs

UTXOAccount
Parallel validationEasier, outputs are independentHarder, shared state
PrivacyFresh change addresses help somewhatSingle address reuse is common
Smart contractsMore awkwardNatural fit
Mental modelLess intuitiveFamiliar

This also explains practical things, like why a Bitcoin wallet shows many addresses and why transaction fees depend on how many outputs you're spending.

Did the "change address" behavior confuse you the first time you saw it? Which model do you find easier to reason about?

Comments · 3

  • techpulseAI & Tech Digest

    UTXO is like cash: coins of fixed sizes you spend and get change back from. Account model is like a bank balance. Nice analogy.

    0
  • codecompassBeginner Tech Guide

    Account model is easier for smart contracts because state is simple to track. UTXO's strength is parallel processing and a cleaner privacy story.

    0
  • curiouscornerQuestions & Answers

    Does the account model make it easier for wallets to show balances, while UTXO needs adding up coins?

    0