Minimum Relay Fee
The lowest fee rate a node will pass along, a spam floor rather than a market price.
Basically
The minimum relay fee is the smallest fee your Bitcoin node accepts before it shares a new transaction. You can set this limit on your own node.
Key Takeaways
- The minimum relay fee is a per-node policy setting, not a consensus rule. It prevents spam by requiring transactions to pay a minimum fee rate before a node accepts them into its mempool or relays them to peers.
- Bitcoin Core lowered the default from 1 sat/vB to 0.1 sat/vB in August 2025. Bitcoin's rising USD value had made the original threshold far more expensive in real terms than intended for DoS protection.
- The minimum relay fee directly affects Layer 2 protocols. Pre-signed transactions, such as Lightning commitment transactions, can become unrelayable if their fee rate falls below this threshold, driving innovations such as anchor outputs, package relay, and ephemeral anchors.
What Is the Minimum Relay Fee?
The minimum relay fee, configured through the -minrelaytxfee parameter in Bitcoin Core, is the lowest fee rate a node accepts when deciding whether to add an unconfirmed transaction to its mempool and forward it to other nodes on the peer-to-peer network. Any transaction paying below this rate is rejected outright, so it neither enters the node's mempool nor reaches its peers.
This threshold exists primarily as a DoS protection mechanism. Without it, an attacker could flood the network with zero-fee or near-zero-fee transactions, consuming bandwidth, CPU cycles, and memory across thousands of nodes at virtually no cost. Requiring every transaction to pay a minimum price per unit of block space creates a cost floor for using the network's relay infrastructure.
The minimum relay fee is a policy rule, not a consensus rule. Miners can include any valid transaction in a block regardless of its fee rate. However, a low-fee transaction that no node relays will never reach miners unless it is submitted directly to a miner's node.
How It Works
A Bitcoin node checks each new transaction's fee rate against its configured minimum relay fee, whether the transaction arrives from a wallet via RPC or from a peer. The fee rate is measured in satoshis per virtual byte (sat/vB), which accounts for the SegWit witness discount.
Default Values
Bitcoin Core defines the default minimum relay fee in src/policy/policy.h. The source file supplies the default value for the node's relay policy.
Node operators can override this default in their bitcoin.conf file. The value is specified in BTC per kilobyte, allowing each operator to choose a different threshold.
The Rejection Process
A node rejects any transaction below its minimum relay fee with RPC error code -26 and a message indicating the shortfall. The response tells the sender that the fee rate is too low.
The transaction is neither stored in the mempool nor forwarded to any peer. From the network's perspective, it effectively does not exist until the sender rebroadcasts it with a higher fee.
Related Fee Policies
The minimum relay fee works alongside several other fee-related policies in Bitcoin Core. Developers building on Bitcoin need to account for how these policies interact.
These parameters were separated in Bitcoin Core PR #9380 so they could be tuned independently. The dustrelayfee was deliberately left unchanged at 3000 sat/kvB when the other two were lowered, preserving existing dust thresholds.
Dynamic Mempool Minimum
During periods of high congestion, the effective minimum fee can rise well above the static minrelaytxfee. When the mempool fills to its configured maximum size, which defaults to 300 MB, the node begins evicting the lowest-fee transactions. The eviction threshold becomes the new dynamic minimum: the fee rate of the last evicted transaction plus the incrementalrelayfee.
The effective minimum at any given moment is whichever is higher: the static minrelaytxfee or the dynamic mempool minimum. As congestion subsides and transactions confirm, the dynamic minimum decays back toward the static floor. Fee estimation tools therefore report different minimum fees depending on current network conditions.
Why It Matters for Layer 2 Protocols
The minimum relay fee has significant implications for protocols that rely on pre-signed transactions, including the Lightning Network and other Layer 2 systems. These protocols create transactions at channel-open time with a fee rate that seemed reasonable then but may fall below the minimum relay fee weeks or months later, when the transaction actually needs to be broadcast.
A Lightning commitment transaction signed with a fee rate of 0.5 sat/vB illustrates the risk. Under the old 1 sat/vB minimum relay fee, every node on the network would reject it, so it could never reach miners and force-close the channel. This failure mode is safety-critical.
Several innovations have emerged to address this problem. Anchor outputs, package relay, and ephemeral anchors give these protocols ways to handle fees when pre-signed transactions need to be broadcast.
The August 2025 reduction to 0.1 sat/vB further eased this pressure, but the fundamental challenge remains for any protocol that pre-signs transactions: the relay fee floor may shift between signing and broadcast. For a deeper look at how fee bumping strategies work in practice, see the Bitcoin fee bumping guide and the v3 transactions and package relay analysis.
The Dust Limit Connection
The dust limit determines the smallest output value a node will relay. Historically, the dust threshold was calculated directly from the minimum relay fee: if the cost of spending an output in fees exceeds the output's value, that output is considered dust and rejected.
Bitcoin Core now uses a separate dustrelayfee parameter, defaulting to 3000 sat/kvB, for this calculation. The formula considers both the output's serialised size and the estimated size of the input needed to spend it.
The August 2025 reduction of the minimum relay fee intentionally preserved the dust limit by keeping dustrelayfee at its original value. This separation ensures that lowering the relay threshold for DoS protection does not inadvertently flood the UTXO set with economically unspendable outputs.
Spam Prevention
The primary use case is straightforward: preventing network abuse. Every unconfirmed transaction consumes resources across thousands of nodes, including bandwidth for relay, CPU for validation, and memory for mempool storage. The minimum relay fee gives these shared resources a non-trivial cost and makes large-scale spam attacks expensive.
Node Operator Configuration
Node operators running routing infrastructure or mining operations may adjust their minimum relay fee to suit their specific needs. A mining pool seeking the maximum range of fee-paying transactions might lower its threshold, while a resource-constrained node might raise it to reduce mempool churn. This per-node flexibility is possible precisely because the relay fee is a policy, not consensus.
Fee Market Floor
The minimum relay fee establishes the floor of the fee market. During periods of low demand, when blocks have ample space, it becomes the effective minimum cost of a Bitcoin transaction. Applications that batch transactions or schedule consolidations during low-fee periods need to account for this floor, and the fee market dynamics deep dive explains how the wider fee market operates.
The 2025 Reduction Debate
The minimum relay fee remained at 1 sat/vB (1000 sat/kvB) for approximately ten years. During that time, Bitcoin's USD exchange rate increased by two to three orders of magnitude, making the DoS protection cost far higher in real terms than originally intended.
Two competing proposals emerged in 2025 to address this. The first, PR #32959 by RobinLinus, the author of BitVM, was closed in favour of a more comprehensive change, PR #33106 by Gloria Zhao, which lowered both minrelaytxfee and incrementalrelayfee from 1000 to 100 sat/kvB and was merged into Bitcoin Core master in August 2025 before being backported to the v29.1 release.
The decision attracted controversy. Supporters argued that the 10x reduction restored the parameter's original economic intent and that over 80% of miners were already accepting sub-1 sat/vB transactions, while critics argued that lowering the threshold weakened spam protection and that policy changes should not be backported to minor releases. The debate reflected a broader tension in Bitcoin governance between network protection and the practical needs of users and Layer 2 protocols.
Policy vs. Consensus Confusion
A common misconception treats the minimum relay fee as a consensus rule, but any valid transaction can appear in a block regardless of its fee rate. The relay fee only determines whether nodes propagate the transaction through the peer-to-peer network. A miner who receives a low-fee transaction directly, outside the relay network, can include it in a block without violating any consensus rules.
Network Fragmentation
Each node sets its own relay fee independently, so nodes with different settings may relay different sets of transactions. If a significant portion of the network raises its minimum relay fee, transactions paying just above the default may fail to propagate widely, reducing their chance of reaching miners. This creates a potential fragmentation risk where the effective relay fee depends on network topology rather than a single global constant.
Pre-Signed Transaction Risk
Any protocol that pre-signs transactions faces the risk that the minimum relay fee or the dynamic mempool minimum may rise above the pre-signed fee rate. Anchor outputs and package relay mitigate this for Lightning, but other protocols using pre-signed transactions, such as vaults, inheritance schemes, or DLCs, must account for this scenario in their designs.
Spam Threshold Tradeoffs
Lowering the minimum relay fee makes the network more accessible for legitimate low-value transactions and Layer 2 anchor spends, but it also lowers the cost of spam attacks. At 0.1 sat/vB, filling a 300 MB mempool costs roughly 10x less than at 1 sat/vB. The ongoing debate about where to set this threshold reflects a fundamental tradeoff between openness and protection that has no universally correct answer.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.