Fee Bumping
Raising a transaction's fee after broadcast so miners prioritise it sooner.
Basically
Fee bumping means paying a higher fee on a Bitcoin transaction you already sent. You do this to get it confirmed sooner when the network is busy.
Key Takeaways
- Fee bumping lets you raise the effective fee rate of a stuck transaction after broadcasting it. The two primary methods are Replace-by-Fee (RBF) and Child-Pays-for-Parent (CPFP).
- RBF uses block space more efficiently because it replaces the original transaction entirely. CPFP adds a second transaction and works even when the recipient, rather than the sender, needs to accelerate confirmation.
- Since Bitcoin Core 29.0, every unconfirmed transaction is replaceable through full-RBF, regardless of signalling. Fee bumping is therefore universally accessible for senders.
What Is Fee Bumping?
Fee bumping raises the effective fee on an unconfirmed Bitcoin transaction so that miners prioritise it for inclusion in a block. A congested mempool can leave your transaction stuck for hours or even days when its fee rate falls below what miners will confirm. Fee bumping lets you resolve the delay without waiting.
Bitcoin's dynamic fee market means a fee rate that was sufficient at broadcast can become inadequate minutes later if demand for block space surges. Fee bumping lets you adjust after broadcast instead of predicting future congestion perfectly. Time-sensitive payments and protocol-level transactions such as Lightning Network channel closures particularly need this flexibility.
How It Works
Two fundamentally different approaches to fee bumping suit different situations. Both achieve the same goal, a higher effective fee rate, but use different mechanisms.
Replace-by-Fee (RBF)
RBF lets the sender replace an unconfirmed transaction in the mempool with a new version that pays a higher fee. The replacement spends the same inputs, includes a higher fee, and can optionally use different outputs.
BIP 125 originally defined opt-in RBF, which required transactions to signal replaceability by setting an input's nSequence number below 0xFFFFFFFE. Nodes accepted a replacement only if the original explicitly signalled this willingness.
BIP 125 defines five rules that a replacement must satisfy. The original must signal replaceability, the replacement cannot introduce new unconfirmed inputs, it must pay a higher absolute fee than all transactions it replaces, it must pay for its own bandwidth at the node's minimum relay fee rate, and the total number of evicted transactions cannot exceed 100.
Full-RBF removes these signalling requirements. Bitcoin Core 24.0 (November 2022) introduced a -mempoolfullrbf option that was off by default, and Bitcoin Core 28.0 (October 2024) turned it on by default. Bitcoin Core 29.0 (April 2025) removed the option entirely and made full-RBF mandatory, so every unconfirmed transaction is now replaceable regardless of nSequence signalling.
Child-Pays-for-Parent (CPFP)
CPFP takes a different approach by adding a new "child" transaction rather than replacing the stuck transaction. The child spends one of its outputs with a fee high enough to incentivise miners to confirm both transactions together.
Bitcoin Core's block template algorithm evaluates transactions by ancestor fee rate. The rate combines the fees of a transaction and all its unconfirmed ancestors, then divides the total by their combined size in virtual bytes.
A high-fee child "pulls" its low-fee parent into the block. The child must pay enough to cover the parent's fee deficit plus its own relay cost.
CPFP, unlike RBF, can be performed by the recipient of a stuck transaction, not just the sender. Any party holding a spendable output from the unconfirmed transaction can create a CPFP child: the sender can spend their change output, or the recipient can spend the output they received.
RBF vs. CPFP
The two methods have distinct trade-offs. These trade-offs determine when each method is appropriate.
RBF is generally preferred when the sender wants to adjust their own transaction because it uses block space more efficiently. CPFP is essential when the recipient needs to accelerate confirmation or when another party created the original transaction.
Fee Bumping in Practice
Bitcoin Core provides the bumpfee RPC command for programmatic RBF fee bumping. The command has been available since v0.14.0 and automatically creates a replacement transaction with a higher fee.
CPFP requires you to create a new transaction that spends an output from the stuck transaction. Proper fee estimation is critical because the child's fee must compensate for the parent's shortfall relative to the current mempool minimum.
Most modern wallets provide fee bumping through their user interfaces. Bitcoin Core's GUI offers an "Increase transaction fee" option on unconfirmed transactions. Electrum, Sparrow, and BlueWallet all support RBF bumping and, in some cases, CPFP as well.
Package Relay
A longstanding limitation of CPFP has been relay failure when a parent transaction's fee rate falls below a node's minimum relay fee and the node rejects the parent outright. The node cannot validate the fee-bumping child without the parent in its mempool, creating a catch-22.
Package relay, defined in BIP 331, solves this by allowing nodes to relay, validate, and accept groups of related transactions together. Bitcoin Core 28.0 introduced limited package relay support for one-parent-one-child (1p1c) packages, allowing a low-fee parent into the mempool if accompanied by a fee-bumping child. Subsequent releases have hardened this mechanism against denial-of-service attacks.
Package relay also interacts with Lightning Network fee bumping. The research article on v3 transactions and package relay provides a deeper look at this interaction.
Fee Bumping in Lightning
Fee bumping is particularly critical for the Lightning Network. Commitment transactions are pre-signed when a channel is opened but may not be broadcast until weeks or months later. The fee rate locked in at signing time can be completely inadequate by the time a force close occurs.
Anchor Outputs
Anchor outputs solve this problem at the protocol level. Each commitment transaction includes two small outputs of 330 satoshis each, one for each channel party. All other outputs carry a one-block relative timelock, so only the anchor outputs are immediately spendable after broadcast.
Either party can spend their anchor output in a child transaction with a high fee, using CPFP to bump the entire commitment transaction. The design, combined with the CPFP carve-out mempool policy, prevents transaction pinning attacks where an adversary could block legitimate fee bumping.
Ephemeral Anchors
The next generation of Lightning fee bumping uses ephemeral anchors with Pay-to-Anchor (P2A) outputs, defined in BIP 433. These "keyless" outputs use the script OP_1 <0x4e73> that anyone can spend, eliminating the need for per-party anchor outputs. Ephemeral anchors, combined with v3 transaction relay rules and the ephemeral dust policy introduced in Bitcoin Core 29.0, allow zero-fee commitment transactions where the entire fee is determined at broadcast time via CPFP.
Protocols like Spark operate as a Bitcoin Layer 2. These improvements to on-chain fee bumping strengthen the safety guarantees of their unilateral exits and other on-chain settlement paths.
Double-Spend Perception
RBF fee bumping replaces one valid transaction with another, so the original transaction's outputs may change. Merchants accepting unconfirmed transactions face direct consequences because full-RBF is now mandatory in Bitcoin Core 29.0 and any unconfirmed transaction can be replaced. Services that previously relied on "zero-conf" acceptance must now wait for at least one block confirmation or use Layer 2 solutions for instant settlement.
Fee Overpayment
Rapid fee spikes can lead you to overshoot when bumping fees and pay significantly more than necessary. CPFP is especially prone to this because calculating the correct child fee requires accounting for the parent's size and fee deficit. Wallet software with good fee estimation algorithms mitigates this risk, but manual fee bumping remains error-prone.
CPFP Space Inefficiency
CPFP inherently consumes more block space than RBF because it adds a child transaction rather than replacing the original. A congested mempool puts block space at a premium, so CPFP fee bumps cost more than equivalent RBF replacements. The child transaction typically adds 100 to 200 virtual bytes of overhead.
Transaction Pinning
An adversary in a multi-party protocol can exploit fee bumping rules to prevent legitimate fee bumps. A low-fee-rate, large child transaction attached to a shared transaction can make RBF replacement prohibitively expensive, since the replacement must pay a higher absolute fee than all evicted transactions. The transaction pinning attack motivated the development of anchor outputs, v3 transactions, and ephemeral anchors in the Lightning Network.
Bitcoin fee market dynamics and mempool congestion interact with fee bumping strategies. The research on Bitcoin fee market dynamics and the practical guide to RBF and CPFP provide more detail.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.