How does a Bitcoin transaction actually get confirmed?
A Bitcoin transaction gets confirmed when a miner includes it in a valid block that gets added to the blockchain, and then enough subsequent blocks are built on top of that block. The process involves broadcast, verification, mining, and settlement, and it typically takes between 10 minutes and an hour for a transaction to be considered reliably confirmed.
Step 1: You create and broadcast the transaction
You start with a Bitcoin wallet that holds the private key for at least one unspent transaction output (UTXO) with enough bitcoin to cover the amount you want to send plus the transaction fee. Your wallet constructs a transaction that:
- References one or more of your UTXOs as inputs
- Creates one or more new UTXOs as outputs (one for the recipient, and optionally one sending change back to you)
- Signs each input with the corresponding private key
The wallet then broadcasts this signed transaction to the Bitcoin network by sending it to any connected full node. That node checks the transaction for basic validity - correct signatures, no double-spending of inputs, proper format - and if it passes, forwards it to its peers. Within seconds, the transaction propagates across most of the network.
Step 2: The transaction sits in the mempool
Every full node maintains a mempool - a temporary holding area for valid but unconfirmed transactions. Your transaction joins the mempool of every node that receives it. Miners (which are full nodes with extra hardware) also maintain mempools, and they select transactions from their mempool to include in the next block they try to mine.
Miners prioritize transactions by fee rate - the fee paid per byte of transaction data. A transaction with a higher fee rate gets selected first. A transaction with a very low fee rate may sit in mempools for hours or days, or eventually be dropped by nodes if the mempool fills up. The Bitcoin protocol does not guarantee that any transaction will ever be confirmed; it only offers an incentive for miners to include it.
Step 3: A miner includes the transaction in a candidate block
Bitcoin mining is a competition. Each miner collects transactions from their mempool, assembles them into a candidate block, and then begins attempting to find a valid proof of work for that block. The candidate block includes:
- A reference to the previous block's hash
- A timestamp
- A special coinbase transaction that creates new bitcoin (the block subsidy) and collects all transaction fees from the included transactions
- The set of transactions the miner chose, including yours
The miner's hardware - ASICs - repeatedly changes a small field in the block header called the nonce and hashes the header. The goal is to produce a hash that is below a target number set by the network's difficulty adjustment. This is pure trial and error; no shortcut exists.
Step 4: The block is found and propagated
On average, one miner somewhere in the world finds a valid block every ten minutes. When a miner succeeds, they immediately broadcast the completed block to the network. Other nodes and miners verify that:
- Every transaction in the block is valid (signatures, no double-spends)
- The proof of work hash meets the difficulty target
- The block correctly references the previous block
If the block is valid, nodes add it to their copy of the blockchain, remove the confirmed transactions from their mempool, and begin working on the next block. Your transaction now has one confirmation.
Step 5: More blocks build on top
A single confirmation is not considered final. The Bitcoin network can experience temporary forks - two miners finding valid blocks at nearly the same time, creating competing versions of the blockchain. The network resolves this through the longest chain rule: miners and nodes always follow the chain with the most cumulative proof of work.
If your transaction is in a block that ends up on a shorter fork that gets abandoned, the transaction returns to the mempool and must be confirmed again. The probability of this reversal decreases exponentially with each additional block built on top.
How many confirmations are enough?
- One confirmation: The transaction is included in a block but could still be reversed by a competing fork. Most merchants and services do not accept one confirmation for significant amounts.
- Three to six confirmations: Roughly 30 to 60 minutes. This is the standard for most Bitcoin transactions. The probability of a successful double-spend attack drops to near zero.
- Six confirmations: The conventional standard for large-value transactions. By this point, reversing the transaction would require an attacker to re-mine six blocks - an enormous amount of computation.
- More than six: Exchanges and custodial services often wait for more confirmations for very large transfers, but the additional security is marginal.
The exact number of confirmations a recipient should wait depends on the value of the transaction and the recipient's risk tolerance. There is no protocol rule - it is a business decision.
What can go wrong
- Low fee: Your transaction may never be confirmed, or may take many hours. Some wallets offer Replace-by-Fee (RBF), which lets you bump the fee on an unconfirmed transaction. Other wallets require you to wait for the transaction to be dropped from mempools and then try again.
- Double-spend attempt: Someone broadcasts two transactions spending the same UTXO. Only one will be confirmed. Miners typically accept the first one they see, but a miner could intentionally include the second if it pays a higher fee. This is why merchants wait for confirmations.
- Orphaned block: Rarely, a confirmed block is later orphaned by a longer chain. The transaction returns to unconfirmed status. This is why zero-confirmation transactions are risky.
The bottom line
A Bitcoin transaction is confirmed when a miner includes it in a valid block that becomes part of the longest chain. The process is permissionless - anyone can broadcast a transaction, and miners choose which to include based on fees. Confirmation is probabilistic, not instant. The more blocks built on top of your transaction, the harder it becomes to reverse. For everyday use, six confirmations - roughly one hour - is the standard for finality.
Not financial advice. babybitcoin.space publishes market data and general information about babybitcoin. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.
Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.