How a Bitcoin Transaction Actually Works
7 min read · Verified October 2026
A Bitcoin transaction spends earlier outputs (UTXOs) your keys control and creates new ones: one for the recipient and usually a change output back to you. You sign it, broadcast it to the network's mempool, and a miner includes it in a block, usually choosing the highest fee per byte first. Each block added on top is one more confirmation.
Your wallet shows a balance, like a bank account. Bitcoin doesn't keep balances at all. Understanding what it keeps instead explains fees, confirmations, change addresses and most of the strange things wallets do.
What are UTXOs?
Bitcoin tracks unspent transaction outputs, usually called UTXOs. Every transaction creates outputs: chunks of bitcoin locked so that only a specific key can spend them. An output stays "unspent" until a later transaction uses it as an input.
Your wallet's balance is the sum of all the UTXOs your keys can spend. If you've received bitcoin five times, you probably hold five separate UTXOs of different sizes, like five banknotes in a wallet rather than one number in a ledger.
Watching a wallet doesn't need your keys. Add a Bitcoin address read-only and see its balance alongside the rest of your portfolio.
What happens when you send?
Say you hold two UTXOs, 0.3 BTC and 0.5 BTC, and want to send 0.6 BTC.
- Choose inputs. Neither UTXO is big enough alone, so the wallet uses both, 0.8 BTC in total.
- Create outputs. One output of 0.6 BTC locked to the recipient's address. A second, the change output, sends the rest back to a new address your wallet controls.
- Leave a fee. Whatever the inputs add up to beyond the outputs is the fee. If the change output is 0.1998 BTC, the miner collects 0.0002 BTC.
- Sign. Your private key signs the transaction, proving you can spend those inputs without revealing the key.
- Broadcast. The signed transaction goes to nodes, which check it and relay it across the network.
UTXOs can't be partially spent. Like a banknote, you hand over the whole thing and get change back, and the change is a brand-new output.
How are fees calculated?
By size, not amount. Miners have limited block space, so they rank transactions by fee rate: satoshis per virtual byte (sat/vB). A transaction moving 100 BTC from one input can be cheaper than one moving 0.01 BTC from twenty tiny inputs, because each input adds bytes.
This is why wallets full of small deposits get expensive to spend from during busy periods, and why some people combine small UTXOs into one when fees are low.
What is the mempool?
Each node's pool of valid, unconfirmed transactions waiting to be mined. There's no single mempool. Each node keeps its own, and they're mostly similar. When a miner builds a block, it picks transactions from its mempool, generally the highest fee rates first, up to the weight limit.
When demand is high, the mempool backs up and the fee rate needed to get into the next block rises. When demand falls, low-fee transactions clear.
What does a confirmation guarantee?
A transaction has one confirmation when it's included in a block, and one more for each block added after that. Reversing it would mean re-mining that block and every block after it, faster than the rest of the network adds new ones. That gets exponentially harder with each confirmation, which is where the "six confirmations" convention comes from.
Zero confirmations means the transaction is only in mempools. It can still be replaced or dropped, which is why nobody should treat an unconfirmed payment for something valuable as final.
Why does this matter for tracking?
Because one wallet is really many addresses. Every change output goes to a fresh address, so watching a single address quickly undercounts. That's the most common reason a tracked Bitcoin balance looks wrong. Tracking by extended public key (xpub) lets a tracker find every address the wallet has used, without ever being able to spend from it. Our guide to tracking a Bitcoin wallet walks through the difference.
Common questions
Blocks average about ten minutes, so a transaction with a competitive fee usually gets its first confirmation within one or two blocks. In busy periods, a low-fee transaction can wait hours or days in the mempool until demand falls or the fee is bumped.
It depends on the amount. One confirmation is fine for small amounts. Six (about an hour) is the long-standing convention for large ones, because rewriting six blocks would need an impractical amount of mining power. Exchanges set their own thresholds, often between one and six.
If your wallet signalled Replace-By-Fee, you can rebroadcast it with a higher fee. Otherwise the recipient (or you, through the change output) can spend the unconfirmed output with a high-fee child transaction, which pulls both into a block. That's called Child-Pays-For-Parent. Many wallets offer one or both as a 'speed up' button.
For privacy. Every transaction is public, so reusing one address links all your payments together. Modern wallets derive a fresh address for each receipt and for each change output from one master key. That's also why tracking a wallet works best with its xpub rather than one address.
Watch Bitcoin addresses read-only and get wallet transaction alerts on Pro and Pro+ when coins move.
Scan to install
Keep reading
Why Bitcoin's Block Size Is Limited
Why Bitcoin caps how much data fits in a block, what the block size war was really about, and how SegWit, Taproot and Lightning changed the picture.
Why Bitcoin Stops at 21 Million
Where the 21 million number comes from, how halvings enforce it, why the real cap is slightly lower, and what it would actually take to change it.
One Bitcoin Address Is Not Your Bitcoin Wallet
A single Bitcoin address shows one slice of your wallet. How change addresses, HD derivation and extended public keys decide what a tracker can see.
Watching an Address You Care About
Get told when an address you specify moves funds. What wallet transaction alerts are good for, how they read chain data, and what they cannot tell you.
The Privacy You Give Up When You Use a Public Address
Your address publishes your balance and full history to anyone, permanently. How addresses get linked to identities, and which mitigations work.
Nobody Legitimate Will Ever Ask for Your Seed Phrase
A seed phrase is the wallet, not a password for it. Why no real app or agent needs one, the scripts scammers use, and what to do if you shared it.