The mempool (short for “memory pool”) is the holding area where every unconfirmed transaction waits before a miner or validator picks it up and includes it in a block. Understanding how it works explains one of the most practical mysteries in crypto: why the same transfer can cost very little one day and many times more the next.
What the mempool actually is
When you send a transaction on a blockchain, it does not go straight into the chain. First, your wallet broadcasts the transaction to the peer-to-peer network. Every node that receives it checks whether it is valid — correct signatures, unspent inputs, enough balance — and if it passes, the node stores the transaction in its own local mempool.
There is no single global mempool. Each node maintains its own copy, and they are not perfectly identical at any moment. When people refer to “the mempool,” they mean the collective set of pending transactions visible across the network. Block explorers aggregate this data to give you a real-time picture of how congested things are.
Transactions stay in the mempool until one of three things happens:
- A miner or validator selects the transaction and includes it in the next block.
- The transaction expires after sitting unconfirmed for too long (nodes typically drop transactions after a few days).
- You replace or cancel it before it is mined (more on that below).
How transactions get selected
Miners and validators are economically rational. They have limited space in each block, so they generally prioritize the transactions that pay the highest fee. This creates a simple auction: if you want faster confirmation, you outbid everyone else waiting in the queue.
Insight: Block space is a scarce resource. The mempool is essentially a real-time fee market where users compete to have their transactions processed next.
On Bitcoin, fees are measured in satoshis per byte (or per virtual byte, after the SegWit upgrade). A larger transaction in bytes costs more in absolute terms even if the fee rate is the same. On Ethereum and compatible chains, fees are measured in gas — a unit of computational work. The more complex the operation (a simple transfer vs. a multi-step DeFi interaction), the more gas it consumes.
The base fee and priority tip
Ethereum introduced a more structured fee model with EIP-1559. Every block has a base fee that is automatically set by the protocol based on how full the previous block was. This base fee is burned rather than paid to validators. On top of that, you add a priority fee (or “tip”) to incentivize validators to pick your transaction over others.
If the mempool is nearly empty, the base fee falls. If blocks are consistently full, the base fee rises. The tip is what you control to jump the queue during busy periods.
Mempool size and network congestion
The size of the mempool is a direct indicator of congestion. During calm periods the mempool might hold a few thousand transactions, all of which clear quickly. During demand spikes — a popular NFT mint, a major market move, or a high-profile token launch — it can swell to hundreds of thousands of pending transactions, and fees spike accordingly.
| Mempool state | Typical wait | Fee pressure |
|---|---|---|
| Near empty | Next block (seconds to minutes) | Minimal — low fees clear instantly |
| Moderately full | A few blocks (minutes) | Moderate — paying average fees works |
| Heavily congested | Many blocks (hours or more) | High — underbidding means long delays |
| Clearing after a spike | Improving rapidly | Falling — good time to transact |
On Bitcoin, a transaction with a very low fee rate might sit for days during a congested period. On Ethereum, you might find your transaction stuck behind tens of thousands of others if the base fee jumps faster than your wallet estimated.
Stuck transactions and how to fix them
Wallets estimate fees at the moment you send, but if congestion suddenly increases, your transaction may become too cheap to be included. You have two main tools:
Replace-by-Fee (RBF): Many wallets allow you to rebroadcast the same transaction with a higher fee. Miners treat the higher-fee version as the valid one and the original falls away. Bitcoin explicitly supports RBF as a protocol feature; support varies by wallet.
Speed-up or cancel (EVM chains): On Ethereum and similar networks, you can broadcast a new transaction with the same nonce — the sequence number your wallet assigns to each outgoing transaction. If the replacement carries a higher fee, miners will typically include it first, effectively canceling the original.
Neither method is guaranteed if your original transaction is already deep in a miner’s queue, but both work reliably in most stuck-transaction scenarios.
Why mempool dynamics matter for users
Understanding the mempool shifts you from passive to active. A few practical implications:
Timing your transactions. Network activity follows patterns. Weekends and off-peak hours (relative to major financial centers) tend to see lighter mempool traffic. Checking a mempool tracker before a large transfer can save you meaningfully on fees.
Wallet fee estimation. Most wallets offer slow, standard, and fast fee tiers. These correspond to different positions in the mempool queue. If your transfer is not urgent, choosing “slow” during a congestion spike is often perfectly sensible — you are simply willing to wait.
DeFi and time-sensitive operations. In decentralized finance, some transactions become unprofitable or even harmful if they confirm late. Liquidations, arbitrage, and certain staking operations depend on fast inclusion. This is why advanced users and bots often set very aggressive tips and monitor the mempool directly.
MEV (Maximal Extractable Value). Because the mempool is publicly visible before transactions confirm, sophisticated actors can see your pending trades and insert their own transactions ahead of or around yours to profit. This is known as front-running and is an active area of research and protocol design on proof-of-stake networks.
Key takeaways
- The mempool is the set of valid but unconfirmed transactions waiting to be included in a block; every node keeps its own copy.
- Block producers prioritize higher-fee transactions, creating a real-time fee auction for limited block space.
- Mempool size is the clearest signal of current network congestion — large mempool means higher fees and slower confirmations.
- Stuck transactions can often be resolved with Replace-by-Fee (Bitcoin) or a same-nonce replacement transaction (Ethereum).
- Timing large transfers during low-traffic periods is a simple, free way to reduce fees.
- The public visibility of pending transactions creates MEV opportunities that affect all users, especially in DeFi.
Next up: Understanding Gas and Fees