Bitcoin Mempool: How Transactions Queue Up
Discover how the Bitcoin mempool stores unconfirmed transactions and why fees determine how quickly your payment gets confirmed. Ideal for crypto beginners.
Bitcoin Mempool: How Transactions Queue Up
Bitcoin mempool is a temporary holding area where all unconfirmed Bitcoin transactions wait before being added to a block. Think of it as a digital waiting room – every transaction that gets broadcast to the network lands here first. The mempool helps miners decide which transactions to include next, and queue order depends heavily on the fee attached.
What Is the Bitcoin Mempool?
The Bitcoin mempool (short for "memory pool") is a decentralized staging ground that exists on every full node in the Bitcoin network. When you send Bitcoin, your transaction doesn't go directly to a miner – it is first broadcast to nearby nodes, which add it to their local mempool. Each node maintains its own mempool, but because nodes share transactions with each other, the contents are nearly identical across the network within seconds.
Key characteristics of the Bitcoin mempool:
- It is volatile – transactions stay only until they are confirmed in a block or dropped.
- It has no fixed size limit in Bitcoin Core (the reference software), but nodes can cap it. If the mempool grows too large (e.g., during high traffic), nodes may reject new transactions with very low fees.
- Miners typically pull from their own mempool, but they can also use alternative sources like fee market data.
A useful analogy: imagine a restaurant with a single table (the block). All incoming customers (transactions) line up in the waiting area (mempool). Some customers offer a tip to the host (a higher fee) and get seated sooner. Others wait until the table is free, but if the line gets too long, customers who tip too little might be told to come back later or leave entirely.
How Does a Transaction Enter the Mempool?
Every Bitcoin transaction starts with a broadcast. When you click "send" in your wallet, your software signs the transaction and sends it to at least one Bitcoin node. If the node considers the transaction valid, it adds it to its local mempool and relays it to neighboring nodes. Validation checks include:
- The transaction's digital signature matches the sender's public key.
- The inputs reference unspent transaction outputs (UTXOs) that actually exist and haven't been spent.
- The transaction size does not exceed the block size limit (1 MB in legacy format, though SegWit transactions can be more efficient).
Once validated, the transaction becomes an unconfirmed transaction in the mempool. It will stay there until one of two things happens: a miner includes it in a block, or it is removed due to mempool eviction policies (typically after two weeks of waiting, or if the mempool is too full and the fee is very low).
The Role of Fee Rates
The queue inside the mempool is not a simple first-in, first-out line. Miners prioritize transactions based on fee rate – the fee paid per byte of transaction data (measured in satoshis per byte or virtual byte). A transaction paying a higher fee rate jumps ahead of older transactions that pay less. This creates a fee market where users compete for limited block space.
Why Do Transactions Get Stuck in the Mempool?
Transactions become "stuck" – meaning they remain unconfirmed for hours or even days – for a few common reasons:
- Low fee rate: When the network is busy (many transactions waiting), miners naturally select higher-paying transactions. A low-fee transaction may sit indefinitely.
- No Replace-by-Fee (RBF): Some wallets do not support RBF, which allows you to broadcast a new version of the same transaction with a higher fee to replace the stuck one. Without RBF, you cannot easily bump the fee.
- Mempool congestion: During periods of high demand, the mempool can swell to hundreds of megabytes. Nodes may then drop the lowest-fee transactions, effectively "forgetting" them. The transaction still exists on the network if other nodes keep it, but it may never confirm.
- Transaction malleability: Rarely, a transaction's ID (txid) can be modified before confirmation, making it appear stuck. Modern SegWit transactions largely solve this.
If your transaction gets stuck, you can:
- Use RBF if the wallet originally signaled it (look for
bip125support). - Use Child-Pays-for-Parent (CPFP): Create a new transaction that spends the unconfirmed output from the stuck transaction and includes a high fee to incentivize miners to confirm both.
- Wait: Eventually, when network traffic drops, even low-fee transactions may confirm.
| Fee Level | Typical Mempool Behavior | Confirmation Time (relative) |
|---|---|---|
| Low fee (below market) | Sits at back of queue; may be dropped if mempool full | Hours to never |
| Medium fee (close to average) | Moves up as similar-fee transactions clear | Within a few blocks (minutes to hours) |
| High fee (well above average) | Near front of queue, often included in next block | Next block (10 minutes on average) |
The Role of Miners in Clearing the Mempool
Miners are the ultimate "bouncers" of the Bitcoin mempool. When a miner finds a new block (roughly every 10 minutes), they assemble a block template from transactions in their mempool. They select a set of transactions that maximize their revenue while fitting within the block's size or weight limit. The selection algorithm is straightforward: sort all available transactions by fee rate descending, then include the highest-paying ones until the block is full.
This means that even a transaction with a moderate fee might be skipped if the mempool contains hundreds of higher-fee transactions. However, as the highest-paying transactions get confirmed, the average fee rate in the remaining mempool drops, allowing lower-paying transactions to eventually be picked up.
Miners also include a coinbase transaction (the block reward and fees) that pays themselves. The fees collected from transactions in the block are an important part of miner revenue, especially as block subsidies decrease over time.
Practical Example: Tracking Your Transaction in the Bitcoin Mempool
Imagine you want to send 0.5 BTC to a friend. Your wallet automatically calculates a fee based on current mempool conditions – maybe it suggests a "medium" fee of a few cents worth of satoshis. After you broadcast, you can check the transaction's status on a block explorer (such as blockchain.com or mempool.space). The explorer will show it as "unconfirmed" and list its position in the mempool relative to other transactions.
If the network is quiet, your transaction might confirm in the next block. But if a popular NFT drop or exchange withdrawal drives up traffic, the mempool can swell to tens of thousands of transactions. Your medium-fee transaction might now be in the bottom half of the queue. You could then use Replace-by-Fee (if supported) to raise the fee and move it up.
Here is a quick checklist for beginners sending Bitcoin:
- Always check current mempool congestion before sending – many wallets show a "network fee" estimate.
- Set a fee that is within the range of recent confirmed transactions (your wallet usually does this).
- If the transaction is urgent, use a higher fee rate (the wallet's "priority" option).
- Familiarize yourself with RBF by enabling it in your wallet settings before sending.
The Bitcoin mempool is the invisible engine that powers transaction confirmation. Every time you send Bitcoin, your transaction joins this dynamic queue, competing with thousands of others for a spot in the next block. Understanding how fees and prioritization work gives you control over speed and cost, and helps you avoid the frustration of a stuck payment.
RELATED ARTICLES

A rug pull is a crypto scam where developers abandon a project after taking investors' money. These schemes exploit trust and hype to create a false sense of legitimacy before vanishing. Understanding how rug pulls work is essential for protecting your funds in decentralized finance (DeFi) and token markets.

Algorand and Pure Proof of Stake: A Beginner's Guide
