Child-Pays-For-Parent: How to Rescue a Stuck an On-Chain Transaction
Child-Pays-For-Parent (CPFP) is the rescue mechanism for a Bitcoin transaction that broadcasts but stalls in the mempool without confirming before it needs to. When the fee set at broadcast time is too low relative to the current mempool fee rate, miners deprioritize the transaction in favor of higher-paying ones. Two mechanisms exist to rescue this: Replace-By-Fee (RBF), which replaces the original transaction entirely with a higher-fee version, and CPFP, which adds a second transaction that pays a combined fee high enough to make miners want to include both. Bitok Arena's analysis of stuck transaction recovery methods finds CPFP is the correct approach when RBF is not enabled on the original transaction, or when the receiving address has already received the unconfirmed output and can spend it to create the child.
A transaction stuck in the mempool is not lost — it is waiting. CPFP gives miners an economic reason to mine the stuck transaction by attaching a second transaction to its unspent output that pays a fee high enough to cover both. The parent confirms because the child makes it worth mining. The mechanism works because Bitcoin miners optimize for fee revenue per block, not for transaction age.
The Bitcoin mempool is the waiting room where unconfirmed transactions queue until miners select them for the next block. When a parent transaction is stuck there, a wallet that holds the unconfirmed output can create a child transaction that spends it. Because miners cannot confirm the child without first confirming the parent, setting the child's fee high enough — so that the combined fee rate of parent plus child meets the current mempool clearing threshold — gives miners a financial incentive to mine both transactions together. Mempool.space shows the current fee rates needed for confirmation at each time window.