Dust amount detected in one output

An output is dust when it is worth less than the fee needed to spend it. On Bitcoin, Litecoin and Dogecoin, nodes reject transactions that create such outputs with a "dust (code 64)" error.

A dust (code 64) error means your transaction creates an output (a payment or the change) below the network's dust limit, so nodes reject it as non-standard. On Bitcoin the limit is 546 satoshis for legacy (P2PKH) outputs and 294 satoshis for native SegWit (P2WPKH) outputs. Raise the amount of the small output, or drop the change output and let it go to the fee.

Dust refers to an amount so small that spending it would cost more in fees than it is worth. On UTXO-based chains like Bitcoin, Litecoin and Dogecoin, small UTXOs also accumulate (often as change from earlier payments). When fees rise, they can become uneconomical to spend.

Error example:

{
  "statusCode":403,
  "errorCode":"###.blockchain.broadcast.error",
  "message":"Unable to broadcast transaction",
  "cause":"dust (code 64)",
  "dashboardLog":"https://dashboard.tatum.io/logs?id=###"
}

Why do I get a Dust Error?

  • Dust payment output: The amount you send to a recipient is below the dust limit.
  • Dust change output: The inputs minus the amount and the fee leave a tiny change output that is below the dust limit.
  • Uneconomical inputs: Some UTXOs are worth less than the fee needed to spend them. Nodes don't reject these as dust, but including them lowers what you can send or makes the transaction fail with insufficient funds.

Example Scenario:

A Bitcoin address holds one UTXO of 0.00100000 BTC (100,000 satoshis). You send 0.00099500 BTC with a fee of 0.00000300 BTC:

  • Change = 100,000 − 99,500 − 300 = 200 satoshis.
  • 200 satoshis is below the 546-satoshi limit for a P2PKH output, so the broadcast fails with dust (code 64).
  • Fix: send 0.00099700 BTC with no change output, or lower the amount so the change is at least 546 satoshis.

Steps to Resolve a Dust Error

Here’s what you can do to address the issue and successfully send funds:

  1. Check Your UTXO Balances
  2. Adjust the Transaction Amount
    • Avoid including UTXOs classified as Dust.
    • Manually set the amount to only include spendable UTXOs.
  3. Increase the Transaction Fee
    • Raise the fee level to cover Dust UTXOs if absolutely necessary.
    • Ensure the higher fee doesn’t exceed the total transaction value.
  4. Consolidate UTXOs
    • Send all your UTXOs to a new address in your wallet, creating a single, larger UTXO.
    • Be aware that this may incur higher fees initially but resolves future Dust issues.
📘

Note

See how Bitcoin Core calculates the dust threshold in GetDustThreshold.


Dust Practical Thresholds

Bitcoin

Bitcoin Core treats an output as dust when it is worth less than the cost of creating and later spending it at the dust relay fee (default 3 sat/vB):

Dust Threshold = (output size + size of the input that spends it) × 3 sat/vB

Output typeOutput + spending input sizeDust threshold
Legacy (P2PKH, addresses starting with 1)34 + 148 = 182 bytes546 satoshis
Native SegWit (P2WPKH, bc1q…)31 + 67 = 98 vB294 satoshis
Taproot (P2TR, bc1p…) and P2WSH43 + 67 = 110 vB330 satoshis

Practical Implication:

  • Any output below the threshold for its type is non-standard. Nodes reject the transaction with dust (code 64).

Dogecoin

Dogecoin Core uses fixed dust limits instead of a formula:

  • Hard dust limit: 0.001 DOGE. Outputs below this value are non-standard, and nodes reject the transaction.
  • Soft dust limit: 0.01 DOGE. Each output below this value requires an extra 0.01 DOGE in fees, or nodes reject the transaction for a too-low fee.
  • Wallet dust limit: 0.01 DOGE. The Dogecoin Core wallet refuses to create outputs below this value.

Practical Implication:

  • Keep every Dogecoin output at 0.01 DOGE or more.
📘

Note

Dogecoin Fee Recommendations & Dust: Official Github page


Did this page help you?