RBF and CPFP: how to speed up a stuck Bitcoin transaction

Replace-by-Fee (RBF) and Child-Pays-for-Parent (CPFP) are two ways to speed up a Bitcoin transaction that is stuck in the mempool because its fee is too low. With RBF, the sender replaces the transaction with a new version paying a higher fee. With CPFP, the recipient (or the sender, via the change output) spends an output of the waiting transaction in a new transaction with a high fee, and the miner then confirms both at once.
Summary
- RBF can only be used by the sender; since version 28.0 (October 2024), Bitcoin Core allows replacement of all transactions (full RBF).
- CPFP can also be used by the recipient – they spend the unconfirmed output and pay the fee for both transactions.
- Miners select “packages” of transactions for a block by fee per virtual byte, which is why CPFP works.
- RBF is usually cheaper: in our example 18.75 Kč versus 31.50 Kč (as of 28 November 2026).
- Paid accelerators exist, but they guarantee nothing – try RBF or CPFP first.
Simple: RBF and CPFP as paying extra for a faster courier
You sent a parcel with the cheapest courier, and it has been left sitting in the warehouse because more expensive deliveries take priority. You have two options. Either you withdraw the parcel and send it again with a higher surcharge – that is RBF. Or the recipient says: “I’m adding my own parcel to that one and will pay extra for both” – the courier then has to take both, because the second cannot be delivered without the first. That is CPFP (“child pays for parent”).
In Bitcoin, the “courier” is the miner. It builds a block from all the transactions waiting in the mempool and picks the ones that pay the most for space in the block.
- Are you the sender? Use the “Speed up” / “Bump fee” button in your wallet (that is RBF). It is the cheapest route.
- Are you the recipient (waiting for a withdrawal from an exchange, for example)? Use CPFP – send the received amount to yourself with a higher fee. Not every wallet supports this.
- Mining pool payouts usually need no action from you, as the pool sets the fee. And for miners, fees have another side too: whatever users overpay goes to the miner in the block.
- An unconfirmed payment is not a completed payment. Until it has at least one confirmation, the sender can replace it.
Example as of 28 November 2026 (1 BTC = 1,329,724 Kč): a payment sent at 1 sat/vB paid 1.87 Kč and is waiting. Raising it to 10 sat/vB via RBF costs 18.75 Kč in total; via CPFP the recipient pays an extra 31.50 Kč.
You will find the details, with figures and tables, in the technical explanation.
Why a transaction gets “stuck”
A block has a limited weight (4,000,000 WU, i.e. 1,000,000 vB – see SegWit and Taproot). The miner or pool builds the block template to collect the highest possible fees, so transactions with a low sat/vB wait in the mempool until their turn comes. If the fee falls below the nodes’ minimum, the transaction stops propagating or drops out of the mempool. Since Bitcoin Core 29.1 (September 2025), the default minrelaytxfee is 0.1 sat/vB (previously 1 sat/vB); many wallets, however, still offer a minimum of 1 sat/vB.
Replace-by-Fee (BIP 125 and full RBF)
BIP 125 (Bitcoin Core 0.12.0) introduced “opt-in” RBF: a transaction could be replaced if any of its inputs had an nSequence lower than 0xfffffffe. Under the rules, the replacement transaction must:
- pay an absolute fee at least as high as all the replaced transactions paid (including their descendants),
- additionally pay at least
incrementalrelayfeefor its own size – by default 0.1 sat/vB since Core 29.1, - not add any new unconfirmed inputs,
- not evict too many transactions at once (BIP 125: max. 100; current Core counts the limit in terms of 100 clusters).
History: Core 24.0.1 (December 2022) added the mempoolfullrbf option, and Core 28.0 (2 October 2024) turned it on by default – signalling is no longer needed. Since Core 31.0, a replacement must also improve the so-called feerate diagram of the mempool; for a single standalone transaction this simply means a higher fee and a higher sat/vB.
Child-Pays-for-Parent
A follow-up transaction (the child) spends an output of an unconfirmed transaction (the parent). Under consensus rules, the parent must appear in a block first, so a miner who wants the child’s fee also has to include the parent. What matters is the package fee rate:
package sat/vB = (parent fee + child fee) ÷ (parent vB + child vB)
The required child fee is therefore target × (parent vB + child vB) − parent fee.
Our calculation: RBF versus CPFP in Czech crowns
Parent: a SegWit payment with 1 input / 2 outputs, 141 vB, paid at 1 sat/vB = 141 sat. Child for CPFP: 1 input / 1 output, 110 vB. BTC price 1,329,724 Kč as of 28 November 2026.
| Target fee rate | RBF – new total fee | CPFP – child fee | Child’s own fee rate |
|---|---|---|---|
| 2 sat/vB | 282 sat = 3.75 Kč | 361 sat = 4.80 Kč | 3.3 sat/vB |
| 5 sat/vB | 705 sat = 9.37 Kč | 1,114 sat = 14.81 Kč | 10.1 sat/vB |
| 10 sat/vB | 1,410 sat = 18.75 Kč | 2,369 sat = 31.50 Kč | 21.5 sat/vB |
| 20 sat/vB | 2,820 sat = 37.50 Kč | 4,879 sat = 64.88 Kč | 44.4 sat/vB |
With RBF the original fee is not “counted twice” – you only pay for the new version. With CPFP you also pay for the child’s bytes, which is why it costs more. The minimum RBF increase is small: for 141 vB, 141 + 0.1 × 141 ≈ 156 sat is enough, but an increase that small will not usually speed the transaction up. mempool.space shows a sensible target; on 28 November 2026 at around 10:20 it recommended 4 sat/vB for the next block and 1 sat/vB for confirmation within an hour.
The miner’s view: how transactions are selected for a block
- Up to Bitcoin Core 30, the template was built by ancestor feerate (the fee of a transaction plus its unconfirmed ancestors ÷ their size), with limits of 25 ancestors/descendants.
- Bitcoin Core 31.0 (April 2026) introduced cluster mempool: related transactions form a cluster (max. 64 transactions and 101 kvB), which is split into “chunks” that go into the block by chunk feerate. The so-called CPFP carve-out was removed; TRUC transactions (version 3, BIP 431) and relay of parent + child packages (1P1C) take its place.
- For a simple parent + child pair, both models give the same result – the formula above applies.
- This way the pool gets the highest possible fees into the block; users’ overpayments become part of the block reward.
Accelerators and risks
Services such as mempool.space Accelerator accept a fee off-chain, and partner pools then prioritise the transaction. Neither the transaction nor its txid changes, but confirmation is not guaranteed and you are trusting a third party; the operator itself recommends trying RBF or CPFP first. For recipients: because of full RBF, an unconfirmed payment (0 confirmations) can be replaced by a different one – only treat it as completed once it is confirmed; see Transaction confirmations.
What next
- The mempool and Bitcoin transaction fees
- Transaction confirmations: how many are enough
- UTXO: unspent transaction outputs
- All terms in the Mining wiki
Sources: BIP 125, Bitcoin Core – mempool replacements, Bitcoin Core release notes 28.0, 29.1 and 31.0, Bitcoin Optech – CPFP, mempool.space Accelerator. Prices and fees as of 28 November 2026.
Frequently asked questions
What should I do if a Bitcoin transaction is taking a long time to confirm?
What is the difference between RBF and CPFP?
Can any transaction be replaced?
Do paid transaction accelerators work?
How much does it cost to speed up a transaction?
This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.