What Is a Mempool?
A mempool is where pending crypto transactions wait before entering a block. Learn how the mempool works, why fees rise when it fills and how to use it.
A mempool (short for memory pool) is the waiting area where valid but unconfirmed crypto transactions sit after you send them and before a miner or validator includes them in a block. When many people transact at once, the mempool fills up, and transactions offering higher fees generally get confirmed first.
If you've ever sent Bitcoin or Ethereum and seen it marked "pending," your transaction was in the mempool. Understanding how it works helps you choose sensible fees, understand delays, fix stuck transactions and recognize some risks, such as front-running, that start there.
How the Mempool Works
Here is what happens when you send a transaction:
- 1Your wallet signs the transaction and broadcasts it to one or more nodes.
- 2Each node checks it for basic validity: correct signatures, sufficient balance, correct format.
- 3Valid transactions enter the node's mempool and are passed on to other nodes.
- 4Miners or validators select transactions from their mempool to build the next block, usually preferring higher fees.
- 5Once included in a block, the transaction is confirmed and removed from mempools.
Because nodes receive transactions at slightly different times and have different settings, their mempools aren't identical. That's why different mempool explorers can show slightly different numbers. For a deeper look, see What Is On-Chain vs Off-Chain?
Why Mempool Congestion Raises Fees
Blocks have limited capacity. When more transactions are waiting than fit in the next few blocks, users compete with fees.
| Mempool condition | What you typically see |
|---|---|
| Nearly empty | Low fees confirm quickly |
| Moderately busy | Low-fee transactions may wait several blocks |
| Congested | Fees spike; low-fee transactions can wait hours or days |
| Extremely congested | Lowest-fee transactions may be dropped by some nodes |
Congestion usually follows bursts of activity: sharp price moves, popular token launches, large exchange withdrawals or new on-chain trends.
The Bitcoin Mempool
On Bitcoin, fees are measured as a fee rate in satoshis per virtual byte (sat/vB), because block space is limited by data size. A larger transaction, for example one that spends many small inputs, costs more at the same fee rate.
Some Bitcoin-specific details:
- Mempool size limits. Nodes cap how much memory their mempool uses. When it's full, the lowest fee-rate transactions are dropped first. Bitcoin Core's default is 300 MB.
- Expiry. By default, Bitcoin Core removes unconfirmed transactions after about two weeks.
- Replace-by-fee (RBF). Lets you replace a pending transaction with a version paying a higher fee.
- Child-pays-for-parent (CPFP). The recipient (or you, via a change output) can spend the unconfirmed output with a high fee, encouraging miners to confirm both.
Our guide to using a Bitcoin mempool explorer shows how to read fee estimates and check a transaction, and how to check a Bitcoin transaction status walks through the common states.
The Ethereum Mempool
Ethereum's mempool works similarly, but fees are expressed in gas: a base fee set by the protocol plus a priority fee (tip). Our explainer on Ethereum gas covers the details.
Other differences:
- Nonces. Each Ethereum account's transactions are numbered in order. If one transaction is stuck, later ones from the same account wait behind it.
- Replacing transactions. You can send a new transaction with the same nonce and a higher fee to speed it up or cancel it. See how to speed up or cancel a stuck Ethereum transaction.
- Private order flow. Many transactions are now sent through private channels directly to block builders, so they never appear in the public mempool.
A Simple Example
Imagine you send bitcoin with a fee rate of 5 sat/vB during a busy afternoon. A mempool explorer shows that the next few blocks are filled with transactions paying 20 sat/vB or more. Your transaction is valid and waiting, but miners have more profitable transactions to choose from. You now have three options:
- 1Wait. If demand drops overnight or over the weekend, the fees needed fall and your transaction may confirm.
- 2Bump the fee with RBF, if your wallet marked the transaction as replaceable, by broadcasting a new version that pays more.
- 3Use CPFP, spending the unconfirmed change output with a high enough fee to make the pair attractive to miners.
In none of these cases are your funds at risk of disappearing. The question is only how long you wait and how much extra you pay.
Mempool Risks: Front-Running and MEV
Because the public mempool is visible, others can see what you're about to do before it's confirmed. Bots watch for profitable opportunities, such as large decentralized exchange trades, and can place their own transactions before and after yours. This is part of what's called maximal extractable value (MEV), and sandwich attacks are a common example.
Ways people reduce this risk include setting tight slippage limits, splitting large trades and using wallets or services that submit transactions privately. Our guide to front-running and sandwich attacks explains how they work.
Practical Tips
- Check fees before sending. Use your wallet's estimate or a mempool explorer, especially for non-urgent transactions.
- Enable RBF where your Bitcoin wallet supports it, so you can bump the fee later.
- Don't panic about stuck transactions. Funds can't be lost just because a transaction is pending; it will confirm, be replaced or be dropped.
- Avoid sending duplicate transactions without understanding nonces or inputs, which can lead to paying twice.
- Time big transactions for quieter periods if they aren't urgent.
Bottom line
The mempool is the queue of transactions waiting for a block. Its size explains why fees rise and why some transactions take longer than others. By checking mempool conditions, setting appropriate fees and knowing how to replace a stuck transaction, you can send crypto more cheaply and with fewer surprises, and better understand risks like front-running that start in that public queue.
Veelgestelde vragen
What does mempool mean?
Mempool is short for memory pool. It is the set of valid transactions a blockchain node has received but that have not yet been included in a block. Each node keeps its own mempool, so there is no single global mempool, although well-connected nodes usually hold very similar sets of pending transactions.
Why is my transaction stuck in the mempool?
Usually because the fee you offered is lower than what others are paying for the limited space in upcoming blocks. Miners and validators generally prioritize higher-fee transactions. Your transaction may confirm when demand falls, or you can often speed it up by replacing it with a higher fee or using a related technique.
Can a transaction disappear from the mempool?
Yes. Nodes limit how much memory their mempool uses and may drop the lowest-fee transactions when it is full. In Bitcoin Core, unconfirmed transactions are also removed by default after about two weeks. If a transaction is dropped, the funds were never moved and remain spendable from your wallet.
Is the mempool the same on Bitcoin and Ethereum?
The concept is the same, but details differ. On Bitcoin, fees are set per byte of transaction data and can be bumped with techniques like replace-by-fee. On Ethereum, fees are set per unit of gas with a base fee and tip, and a large share of transactions is now sent through private channels that bypass the public mempool.
