Replace-by-Fee (RBF)
Abbreviation: RBF
Pronunciation: rih-PLAYS by FEE
Also known as: Opt-in Replace-by-Fee, Transaction Fee Replacement, RBF
Definition
Replace-by-Fee is a Bitcoin transaction replacement mechanism in which an unconfirmed transaction can be superseded by a conflicting transaction that pays a higher fee and satisfies relay-policy conditions. RBF can accelerate a delayed payment or change an unconfirmed spend, so merchants should not treat first-seen transactions as final. Implementations must track replacement relationships and distinguish fee bumping from a separate new payment.
Overview
Replace-by-Fee (RBF) allows a sender to publish a replacement transaction that conflicts with one or more unconfirmed transactions and offers stronger fee incentive. BIP 125 documented opt-in signaling and relay rules used by Bitcoin nodes.
A typical replacement spends at least one of the same inputs, pays a higher absolute fee, and satisfies node policy designed to limit abuse. Changing the fee also changes the signed transaction and usually produces a new transaction identifier. The old version remains part of the operational history.
Wallets use RBF when a transaction’s Miner Fee is too low for current Blockspace Demand. The replacement can preserve the recipient and amount while reducing change, or it can alter outputs under the sender’s control. Receivers should verify the actual replacement details rather than assume only the fee changed.
RBF reinforces why unconfirmed payments carry double-spend risk. A merchant can see the original transaction, then observe a replacement that redirects value elsewhere. Zero-confirmation acceptance requires a separate risk policy and should never be described as irreversible.
Payment systems should link every replacement hash, mark superseded transactions, and continue tracking the version that confirms. Repeated Broadcast or Rebroadcast of identical bytes is not RBF because the transaction does not change. Accounting should recognize one intended spend, not count each version as a separate payment.
Replacement policy can evolve across node software versions, so wallet and merchant behavior should be tested against current relay rules. A transaction that did not explicitly signal older opt-in behavior may still be replaceable under broader mempool policy, reinforcing the need to treat all unconfirmed spends cautiously.
Key Takeaway
RBF replaces an unconfirmed Bitcoin transaction with a higher-fee conflicting version, so receivers must track the confirming version and avoid trusting first-seen payment details.
Sources
- BIP 125: Opt-in Full Replace-by-Fee Signaling — Bitcoin Improvement Proposals (2026-08-02)
- Bitcoin Developer Guide: Transactions — Bitcoin Developer Documentation (2026-08-02)
- Bitcoin Developer Guide: Block Chain — Bitcoin Developer Documentation (2026-08-02)