RBF
RBF (Replace-By-Fee) lets users replace an unconfirmed Bitcoin transaction with a new version that has higher fees to speed up confirmation.
What Is RBF?
Replace-By-Fee (RBF) lets the sender of an unconfirmed Bitcoin transaction replace it with a new version that pays a higher fee, so that miners confirm it sooner.
The replacement spends at least one of the same inputs, so only one of the two can ever confirm. Nodes accept it into their mempool in place of the original if it pays a higher total fee, with enough extra to cover its own relay cost. Under the original rules (BIP125) a transaction had to signal that it was replaceable through the sequence number of an input. Recent versions of Bitcoin Core also relay replacements of transactions that did not signal, known as full RBF.
The extra fee normally comes out of the change output, so the recipient gets the same amount. The replacement is a new transaction and needs a new signature: with a hardware wallet you confirm it on the device again, and should check that recipient and amount are unchanged and only the fee is higher.
Only the sender can use RBF. A recipient waiting for a stuck payment uses CPFP. A replacement can also send the coins somewhere else, for instance back to the sender to cancel a payment, which is why an unconfirmed transaction is not a final payment.
Real-World Examples
Example 1: Alice sends bitcoin at 2 sat/vB. Fees rise and the transaction sits unconfirmed. In Sparrow she raises the fee to 20 sat/vB, signs the replacement on her Blockstream Jade Plus, and it confirms soon after.
Example 2: A Trezor Safe 5 user bumps the fee of a pending transaction in Trezor Suite. The device asks them to confirm the new fee before it signs.
Example 3: A merchant waits for one confirmation before handing over goods, since an unconfirmed payment could still be replaced.
Frequently Asked Questions
Can I use RBF to speed up a payment someone sent to me?
No. Only the sender can use RBF, because the replacement is a new transaction that spends the same inputs and needs a new signature from the sender's keys. A recipient waiting for a stuck payment uses CPFP instead, a separate method that the recipient can apply on their own.
What should I check on my hardware wallet when bumping a fee?
The replacement is a new transaction, so the device asks you to confirm it again. Check that the recipient and amount are unchanged and that only the fee is higher. The extra fee normally comes out of the change output, so the recipient still receives the same amount.
Why is an unconfirmed Bitcoin payment not final for a merchant?
Because the sender can replace it. A replacement spends at least one of the same inputs, so only one version can confirm, and it may send the coins somewhere else, for instance back to the sender. Recent versions of Bitcoin Core also relay replacements of transactions that did not signal RBF, so waiting for a confirmation is the safer practice.
Ready to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.