THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Bitcoin Dust Limits Explained: Relay Policy, Script Types, and Economic UTXOs

permalink THAMER
#bitcoin-dust-threshold#dust-output#relay-policy#utxo-economics

A dust output is an output whose value is small relative to the estimated cost of spending it. Bitcoin Core uses dust rules as part of standard transaction relay and mining policy. Dust is not a single universal consensus threshold, and a transaction containing a dust output is not automatically invalid under Bitcoin consensus rules.

Dust is a policy concept

Nodes may decline to relay transactions with outputs considered dust under their configured policy. Miners can apply different policies, subject to consensus validity. The commonly cited 546-satoshi threshold is associated with a particular traditional output type and default policy assumptions; it is not the dust limit for every script type or every node configuration.

How the threshold is estimated

A dust calculation considers the serialized size of an output plus an estimate of the input needed to spend it, multiplied by a policy feerate. The estimated spending cost differs for legacy, SegWit, and other output types. Bitcoin Core's dust policy uses implementation-specific size estimates and the configured dust relay fee; it is safer to consult the actual node's policy than to hardcode a universal threshold.

Dust versus unspendable outputs

An output using OP_RETURN in a recognized unspendable form is treated differently from an ordinary spendable output under Bitcoin Core dust policy. An output can also be economically impractical to spend without being cryptographically or consensus-unspendable. These are separate properties.

Why dust matters to wallets

A wallet that produces tiny change may create outputs that peers refuse to relay or that cost more to spend later than their face value at a chosen feerate. Well-designed wallets calculate change after estimating transaction weight, apply the target node's relevant policy, and avoid silently turning large remainders into fees.

A recipient may also receive very small UTXOs from third parties. The fact that such an output exists on-chain does not guarantee it can be spent economically at the current market feerate.

Fee rates are variable

The economic break-even point for spending a UTXO changes with network congestion and the input's script type. Relay dust policy and the economic question 'is this output worth spending now?' should not be conflated.

Developer checklist

Do not label dust as consensus-invalid. Do not assume 546 satoshis for all addresses. Test different script types, fee rates, change creation, and send-max transactions. If a service sets a minimum deposit, distinguish its business threshold from Bitcoin network policy.

Primary references

Bitcoin Core policy code: https://github.com/bitcoin/bitcoin/blob/master/src/policy/policy.cpp

Bitcoin Core dust relay policy implementation: https://github.com/bitcoin/bitcoin

Bitcoin developer transaction guide: https://developer.bitcoin.org/devguide/transactions.html

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects