Bitcoin's waiting room — where transactions queue before being mined
The mempool (memory pool) is where unconfirmed transactions wait to be included in a block. Every Bitcoin node maintains its own mempool.
Imagine a bus station where buses (blocks) arrive every 10 minutes. Each bus has limited seats (~4,000 transactions). Passengers (transactions) wait in line, and those who tip the driver the most get priority boarding.
If your transaction is stuck, you can broadcast a replacement with a higher fee. The original transaction is dropped from mempools. Most wallets support this if you enable RBF when sending.
If you're the recipient, you can spend the unconfirmed output with a high fee. Miners are incentivized to confirm both transactions together to collect the child's fee.
Eventually, mempools clear. Transactions are typically dropped after 2 weeks if not confirmed. The funds return to being spendable as if the transaction never happened.
getmempoolinfo