Foundations · Bitcoin Knowledge Center

Mempool & Confirmations

The mempool is where valid Bitcoin transactions wait before a miner includes them in a block. Each block added after that counts as one confirmation.

  • Intermediate
  • 5 min read
  • Updated

Why it matters

A Bitcoin payment is not instant in the way a card tap appears to be. Between pressing “send” and the payment being hard to reverse, a transaction passes through a waiting area and then gains security one block at a time.

Knowing these stages explains everyday puzzles: why a transaction can sit “pending” for hours, why a service asks for a certain number of confirmations, and why “sent” does not yet mean “settled”.

How it works

Life of a blockchain transaction
  1. Create and signThe wallet signs with the private key.
  2. BroadcastSent to nodes on the network.
  3. Wait in the mempoolA queue of unconfirmed transactions.
  4. Included in a blockA miner or validator adds it.
  5. ConfirmationsEach new block makes reversal harder.
A transaction is created, broadcast, held in mempools, included in a block and then confirmed more deeply by each following block.

When a wallet broadcasts a transaction, it reaches a few nodes, which check it and pass it on. A node that accepts the transaction stores it in its mempool, short for memory pool: the node’s list of valid transactions that are not yet in any block.

Two details are often missed:

  • There is no single mempool. Each node keeps its own. They usually look alike, but they can differ, because transactions arrive at different times and nodes apply their own limits.
  • The mempool is not part of the blockchain. It is temporary. Nothing in it is settled.

Miners build blocks from their mempools. Space in a block is limited, so miners generally choose the transactions that pay the highest fee for each unit of space. This is covered in fees and block space.

In plain words

Think of a ferry that leaves about every ten minutes and has a fixed number of places. Passengers gather on the dock. When the ferry is not full, everyone boards. When the dock is crowded, the crew takes those offering the highest fare first, and the rest wait for a later sailing. The dock is the mempool. Each ferry is a block.

Confirmations

How settled is a transaction?
0 confirmationsIn mempools only. It can still be replaced, delayed or dropped.
1 confirmationIncluded in the latest block. A competing block could still displace it.
2 to 5 confirmationsBuried under more work. Reversal is increasingly unlikely.
6 confirmationsA common convention for large payments, about an hour on average.
Confidence grows with every block. The protocol itself never declares a moment of finality.

A transaction has one confirmation when it is included in a block. Each block added on top of that one adds another confirmation.

Depth matters because of how proof of work operates. To remove a transaction from history, an attacker must rebuild its block and every block after it, then overtake the rest of the network. Every extra block raises that cost.

Why blocks sometimes get replaced

Occasionally two miners find a block at almost the same moment. For a short time, parts of the network disagree about the latest block. The tie breaks when the next block is found on one of the two: nodes follow the chain with more work, and the other block is abandoned. This is a reorganisation, or reorg.

Transactions from the abandoned block usually return to the mempool and are confirmed again shortly afterwards. One-block reorgs happen naturally from time to time. Deeper ones are rare.

Where “six confirmations” comes from

Six confirmations is a widely used convention for high-value payments. It is not a rule of the protocol. The white paper’s calculations show the chance of a successful reversal falling quickly with each block, and six became a customary threshold.

Recipients choose their own requirement. A small payment may be accepted after one confirmation. An exchange may ask for more before crediting a large deposit. Requirements differ between services.

One figure is enforced by the protocol: newly mined coins cannot be spent until 100 further blocks have been added.

Going deeper

When a transaction is stuck

If the fee is low compared with the competition, a transaction can wait for many blocks. Several outcomes are possible:

  • It confirms later, once the backlog clears.
  • It is replaced. A method called replace-by-fee lets the sender broadcast a new version of the same transaction with a higher fee.
  • It is pulled along. With child-pays-for-parent, a second transaction spends an output of the stuck one and pays enough fee for both, giving miners a reason to include the pair.
  • It is dropped. Nodes discard transactions that have waited too long or when their mempool is full. The coins never moved, so they remain spendable.

The risk of zero confirmations

An unconfirmed transaction is only a request. The sender might replace it or broadcast a conflicting transaction that spends the same UTXO elsewhere. Whichever version a miner includes becomes real, and the other becomes invalid. Accepting an unconfirmed payment therefore means trusting the sender.

A hypothetical slow paymentHypothetical illustration

Ana sends a payment on a busy afternoon. Her wallet attaches a fee rate of 5 satoshis per unit of size. At that moment, the transactions being picked for the next block are paying 20 or more. All numbers are invented.

  • Minute 0: the transaction spreads across the network. 0 confirmations.
  • Next three hours: each new block is filled by higher-paying transactions. Hers waits.
  • Evening: demand falls. Transactions paying 5 start to fit. Hers is included. 1 confirmation.
  • About 50 minutes later, on average: five more blocks arrive. 6 confirmations.

Nothing was broken while she waited. The delay was the fee market at work. Block arrival is also random, so those five blocks could take 20 minutes or two hours.

What it does NOT mean

  • “Broadcast” does not mean “paid”. Until a transaction is in a block, it can be replaced, delayed or dropped.
  • Six confirmations is not a protocol rule. It is a convention. The software does not treat block six differently from block five or seven.
  • Confirmations do not mean absolute finality. Reversal becomes extremely expensive, not mathematically impossible. See finality and throughput.
  • A pending transaction is not lost money. Coins move only when a transaction is confirmed.
  • Ten minutes is not a promised wait. It is the long-run average gap between blocks.

Common misunderstandings

  1. Assuming every node shows the same mempool. A transaction visible on one explorer may be missing from another.
  2. Treating a wallet’s “sent” message as settlement. It means the transaction was broadcast.
  3. Sending the payment again when the first seems stuck. If both confirm later, the recipient is paid twice.
  4. Expecting a higher fee to speed up confirmations after the first. The fee influences how soon a transaction enters a block. Later confirmations arrive at the pace of the network.

Limits and open questions

  • Finality is probabilistic. Each recipient decides how much risk is acceptable for a given amount.
  • Waiting times are unpredictable when demand is high, which limits the base layer for small or urgent payments. The Lightning Network is one attempt to address this.
  • Mempool policies are set by node software, not by consensus rules, and they change between versions.
  • Network-wide mempool data comes from individual nodes and services, so published figures are estimates.

Key takeaway

The mempool is each node’s waiting list of unconfirmed transactions, and a confirmation is one block of proof of work on top of a payment. Settlement in Bitcoin is a matter of growing confidence, with conventions such as six confirmations chosen by recipients.

Sources and further reading