Dust Limit

An output so small that spending it costs more in fees than it is worth, so nodes refuse to relay it.

Basically

The dust limit is the smallest amount of bitcoin that Bitcoin Core will normally create or pass on in a transaction. Below it, the fee to spend that amount is higher than its value.

Key Takeaways

  • The dust limit is the minimum value a UTXO must hold for Bitcoin Core to relay it. An output below this threshold costs more in fees to spend than it contains, making it economically unspendable.
  • Thresholds vary by output type because SegWit and Taproot outputs are cheaper to spend. At the default dust relay fee rate, they are 546 sats for P2PKH, 294 sats for P2WPKH, and 330 sats for P2WSH and P2TR.
  • Dust outputs bloat the UTXO set that every full node must store, so dust policy protects the network. Layer-2 protocols such as Lightning and Spark handle small payments without creating on-chain dust.

What Is the Dust Limit?

The dust limit is a relay policy in Bitcoin Core that sets the minimum value a transaction output must carry. An output is classified as "dust" if its value is less than the cost of spending it at a reference fee rate. Nodes will refuse to relay or mine transactions that create dust outputs, though these transactions remain valid at the consensus level if a miner includes them in a block.

The term comes from physical currency, where tiny metal shavings, or dust, from coins have negligible value. A Bitcoin output worth less than its own spending fee has no practical economic utility. It sits in the UTXO set permanently, consuming storage on every full node without ever being worth spending.

The dust limit was introduced in Bitcoin Core v0.8.2 in May 2013 by Gavin Andresen. The original threshold was roughly 5,460 satoshis. Relay fees were later adjusted and SegWit introduced more efficient output types, so the thresholds dropped to their current values.

How It Works

Bitcoin Core calculates the dust threshold for each output type using the GetDustThreshold() function in src/policy/policy.cpp. The formula estimates the total size of spending the output, then computes the fee at the dust relay fee rate. The output is dust if its value falls below that fee.

The Calculation

The dust threshold equals the fee required to spend the output at the reference rate. Bitcoin Core compares that fee with the output's value.

The output_serialized_size includes 8 bytes for the value and 1 byte for the scriptPubKey length varint. It also includes the scriptPubKey itself. The estimated_input_size covers what spending the output requires: a 32-byte txid, 4-byte vout, 1-byte scriptSig length, the signature and public key data, and a 4-byte sequence number.

Non-witness, or legacy, outputs have an estimated input size of 148 bytes. Witness outputs use the SegWit discount, which divides by a witness scale factor of 4 and reduces this to 67 bytes.

Dust Thresholds by Output Type

The default dust relay fee rate is 3,000 sat/kvB, or 3 sat/vB. The thresholds at this rate are 546 sats for P2PKH, 294 sats for P2WPKH, and 330 sats for P2WSH and P2TR.

Taproot outputs use 64-byte Schnorr signatures, which are smaller than ECDSA signatures and would justify a lower dust threshold. Bitcoin Core PR #22863 intentionally kept P2TR at 330 sats, the same as P2WSH, to avoid further reducing the dust floor.

OP_RETURN outputs are provably unspendable and never enter the UTXO set. Their dust threshold is therefore zero.

The Dust Relay Fee Rate

The reference fee rate used for dust calculation is defined by the constant DUST_RELAY_TX_FEE. You can find it in src/policy/policy.h.

The dust relay fee rate is separate from DEFAULT_MIN_RELAY_TX_FEE, which was reduced from 1,000 to 100 sat/kvB in Bitcoin Core v29.1 in September 2025. The dust relay fee was not changed because the two fee rates serve different purposes. Node operators can adjust the dust relay fee via the -dustrelayfee option, though changing it is uncommon.

Why It Matters

The dust limit exists primarily to protect the UTXO set. Every full node on the network must store every unspent output. As of early 2025, the UTXO set contains roughly 173 million entries and occupies around 11 GB of storage, with nearly half of these UTXOs holding fewer than 1,000 satoshis.

A network without a dust limit would let an attacker cheaply create millions of tiny outputs that no one would ever spend. Each output would permanently occupy space in every node's UTXO database, degrading performance and increasing the hardware requirements for running a full node. The dust policy ensures that every output is at least economically viable to spend, giving its holder a reason to eventually consolidate or use it.

Bitcoin fee market dynamics and the Bitcoin transaction lifecycle explain how transaction fees and UTXO economics interact. They offer a deeper look at these trade-offs.

Ephemeral Dust

Bitcoin Core v29.0 in 2025 introduced a new relay policy called ephemeral dust. The policy allows a single dust output, even one with zero value, in a zero-fee transaction if a fee-paying child transaction spends it in the same mempool package. The dust output is spent before it can persist in the UTXO set, so it poses no bloat risk.

Ephemeral dust enables new transaction patterns such as keyless anchor outputs. Pay-to-Anchor, or P2A, is defined in BIP-433 and is useful for anchor-based fee bumping in Lightning channels.

UTXO Consolidation

Wallets that receive many small payments, such as mining payouts or donation addresses, can accumulate UTXOs near the dust limit. During low-fee periods, consolidating these into fewer, larger UTXOs via UTXO consolidation prevents them from becoming economically unspendable when fees rise. Effective coin control helps you avoid creating dust-sized change outputs in the first place.

Dust Attack Prevention

A dust attack sends tiny amounts of bitcoin to many addresses in an attempt to deanonymise wallet owners. A wallet that spends a dust UTXO alongside other inputs reveals that those inputs belong to the same entity. The dust limit raises the minimum cost of such attacks because each output must carry at least 294 to 546 satoshis.

Change Output Management

Bitcoin Core adds a change output's amount to the miner fee when that output falls below the dust threshold. Wallet software should account for this behaviour when constructing transactions because you may unknowingly overpay fees if your change falls just below the dust limit.

Lightning Network and Dust

The dust limit creates a practical floor for on-chain Bitcoin payments. Sending 100 satoshis on-chain is impossible under standard relay rules because no output type has a dust threshold that low. This limitation is one of the reasons layer-2 protocols exist.

Lightning Network channel peers each specify a dust_limit_satoshis parameter during channel opening. Any HTLC below this threshold is "trimmed", so it does not create an output in the commitment transaction and its amount is added to the transaction's miner fees. Very small Lightning payments are routed and settled off-chain, but if the channel is force-closed while a sub-dust HTLC is in flight, that amount goes to miners rather than to either party.

Layer-2 solutions like Spark eliminate the dust problem entirely for small payments. Spark settles transactions off-chain without creating individual UTXOs, so on-chain dust economics dictate no minimum payment size. You can send and receive sub-satoshi amounts without worrying about UTXO bloat or trimmed outputs.

Policy, Not Consensus

The dust limit is a relay and mempool policy, not a consensus rule. A miner can include dust outputs in a block, and every node will accept that block as valid. The dust limit is therefore only as effective as its adoption rate among nodes, but in practice the vast majority of nodes run Bitcoin Core with default settings, so the policy is widely enforced.

Fee Environment Sensitivity

The dust relay fee rate of 3 sat/vB is a static default, not a dynamic value tied to the current fee market. During periods of high fees, even outputs well above the dust threshold can become economically unspendable, while during low-fee periods, outputs below the threshold could theoretically be spent profitably. The static rate is a conservative compromise that protects against UTXO bloat without constantly recalculating thresholds.

Dust UTXO Disposal

Wallets that already hold dust UTXOs face a dilemma because spending them costs more than they contain. BIP-451, currently in draft, proposes a standardised disposal protocol where dust UTXOs are spent to an OP_RETURN output, with the entire value going to miner fees. Wallets could then clean up their UTXO set even at a net loss, which may be worthwhile for privacy or wallet management reasons.

Ongoing Debate

The appropriate dust limit remains a topic of active discussion. Some argue that the limit should be removed entirely because it filters valid transactions unnecessarily, while others maintain that UTXO set protection is essential for keeping full nodes accessible. Proposals like GitHub issue #29423 have explored replacing the static threshold with a variable limit tied to current fee rates, but for now the 3 sat/vB reference rate and its resulting thresholds remain unchanged.

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.

0

← All 1876 glossary terms