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 a RBF?
A RBF (Replace-By-Fee), also known as fee bumping, lets Bitcoin users replace an unconfirmed transaction with a new version that pays higher fees. This speeds up confirmation when transaction fees on the network rise. Users signal this capability upfront to avoid stuck transactions.
RBF works through Bitcoin Improvement Proposal 125 (BIP-125). Senders mark transactions as RBF-eligible by setting the sequence number of inputs to less than the maximum value. To bump fees, users create and broadcast a replacement transaction. It reuses the same inputs (unspent transaction outputs or UTXOs), assigns a higher fee rate, and increments the sequence number. Miners prioritize the higher-fee version, as they select transactions by fee per byte.
For example, you send 0.1 BTC with a low fee during low congestion. If fees spike, RBF lets you replace it with the same 0.1 BTC transfer but at a 5x higher fee. The original vanishes from mempools.
RBF matters because Bitcoin's fixed block size causes fee volatility. It prevents transactions from lingering indefinitely, improving user control and network efficiency. Merchants and exchanges often reject RBF transactions to mitigate double-spend risks, enhancing security.
Key characteristics include opt-in signaling—transactions must explicitly allow replacement. Two types exist: full-RBF (replaces any matching transaction) and any-predecessor (more flexible). Most modern wallets like Electrum support RBF.
Bitcoin (BTC) is the first decentralized cryptocurrency, launched in 2009. It uses blockchain technology for secure, peer-to-peer digital transactions without intermediaries.
Read full definitionA block confirmation is the process of verifying a new block in the blockchain network, confirming its validity and preventing double-spending or fraud.
Read full definitionA nonce is a sequential number in a blockchain transaction that ensures transactions from the same account process in order and prevents replay attacks.
Read full definitionElectrum is a lightweight Bitcoin wallet that allows users to store, send, and receive Bitcoin securely. It is known for its speed and low resource usage.
Read full definitionReal-World Examples
Example 1: During low network congestion, Alice sends 0.1 BTC to Bob with a 2 sat/vB fee using an RBF-enabled wallet like Electrum. Fees spike after a market surge. Alice replaces the transaction with a new one at 20 sat/vB, speeding confirmation. Miners drop the original from the mempool.
Example 2: Bob pays a merchant 0.01 BTC for coffee. The merchant's point-of-sale rejects it because the transaction signals RBF, reducing double-spend risk by waiting for confirmations.
- Merchant policy: No RBF transactions accepted.
- Solution: Bob uses non-RBF or waits for 1+ confirmations.
Example 3: In Sparrow Wallet, enable RBF by checking 'Replace-by-fee' before broadcasting. For a stuck UTXO spend:
- Create replacement tx with
nSequenceincremented. - Increase fee to 10 sat/vB.
- Broadcast: Original evicted per BIP-125 rules.
Example 4: During the 2021 bull run, users bumped fees on low-priority transfers to exchanges, preventing days-long delays and ensuring timely deposits for trading.
Bitcoin (BTC) is the first decentralized cryptocurrency, launched in 2009. It uses blockchain technology for secure, peer-to-peer digital transactions without intermediaries.
Read full definitionA Satoshi is the smallest unit of Bitcoin, equal to 0.00000001 BTC. It is named after Bitcoin's creator, Satoshi Nakamoto.
Read full definitionElectrum is a lightweight Bitcoin wallet that allows users to store, send, and receive Bitcoin securely. It is known for its speed and low resource usage.
Read full definitionA block confirmation is the process of verifying a new block in the blockchain network, confirming its validity and preventing double-spending or fraud.
Read full definitionMempool, short for memory pool, is a node's temporary storage for unconfirmed cryptocurrency transactions awaiting validation and inclusion in a blockchain block.
Read full definitionSparrow Wallet is a desktop Bitcoin wallet that focuses on security, privacy, and advanced features for managing Bitcoin transactions and keys.
Read full definitionUTXO (Unspent Transaction Output) is a unit of cryptocurrency from a previous transaction that remains unspent and serves as input for new transactions in blockchains like Bitcoin.
Read full definitionA bull market is a period of rising cryptocurrency prices driven by optimism, high demand, and increasing investor confidence.
Read full definitionReady to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.