Glossary

Dust Anchor Output

A dust anchor is a minimal-value output on a commitment transaction designed solely for fee bumping via CPFP.

Key Takeaways

  • A dust anchor output is a tiny or zero-value output added to a Lightning commitment transaction solely so that either channel party can attach a CPFP child transaction to bump fees at broadcast time.
  • The original design uses two 330-satoshi keyed anchor outputs per commitment. The newer design replaces them with a single zero-value keyless output called an ephemeral anchor, enabled by v3 (TRUC) transaction relay rules.
  • Dust anchors solve a fundamental timing problem: commitment transactions are pre-signed hours or days before broadcast, so the fee rate embedded at signing time may be far too low when the transaction actually needs to confirm.

What Is a Dust Anchor Output?

A dust anchor output is a minimal-value output appended to a Lightning Network commitment transaction whose only purpose is to serve as a hook for fee bumping. By spending this small output in a child transaction that pays a higher fee, either channel party can raise the effective fee rate of the commitment transaction using the child-pays-for-parent (CPFP) mechanism.

The term "dust" refers to the fact that these outputs are at or below the dust limit: the minimum output value that Bitcoin Core will relay by default. Under normal circumstances, outputs this small are uneconomical to spend because the transaction fee required to claim them exceeds their value. But anchor outputs are not meant to carry economic value. They exist purely as a fee-bumping mechanism, and spending them is worthwhile precisely because it allows a much larger commitment transaction to confirm.

The concept has evolved through two generations. The original anchor output design adds two 330-satoshi outputs to each commitment transaction, one controlled by each channel party. The newer ephemeral anchor design replaces both with a single zero-value, keyless output that anyone can spend, made possible by v3/TRUC transaction relay policies introduced in Bitcoin Core 28.0.

How It Works

To understand why dust anchors exist, consider how Lightning commitment transactions are created. When two parties open a channel, they continuously exchange pre-signed commitment transactions that reflect the current balance. These transactions are signed at the time the balance updates, but they may not be broadcast until hours, days, or even months later when a channel close is needed.

The problem: the fee rate embedded in a pre-signed transaction reflects the fee market at signing time, not at broadcast time. If the Bitcoin mempool is significantly more congested when the transaction finally needs to confirm, the pre-signed fee rate may be too low, and the commitment transaction could get stuck. This is especially dangerous during a force close, where timely confirmation is critical to enforce channel security.

Dust anchors solve this by giving either party a spendable output on the commitment transaction. By creating a child transaction that spends the anchor and includes a higher fee, the party effectively pays the fee needed to confirm both the parent (commitment) and child transactions together.

Original Anchor Outputs (330 Satoshis)

The first anchor output design, specified in BOLT 3, adds two outputs to every commitment transaction:

  • Each output is worth 330 satoshis, the P2WSH dust limit that ensures Bitcoin Core will relay the transaction
  • Each output is keyed to one channel party, meaning only that party can spend it immediately
  • After 16 blocks (enforced by OP_CHECKSEQUENCEVERIFY), anyone can sweep the anchor, preventing abandoned anchors from bloating the UTXO set permanently
  • All other non-anchor outputs on the commitment transaction are encumbered by a 1-block CSV delay, preventing them from being used for CPFP fee bumping and avoiding transaction pinning attacks

The script for each anchor output follows this pattern:

<local_funding_pubkey/remote_funding_pubkey> OP_CHECKSIG
OP_IFDUP OP_NOTIF
  OP_16 OP_CHECKSEQUENCEVERIFY
OP_ENDIF

This script lets the designated party spend the anchor immediately (by providing a valid signature), while after 16 blocks the CSV condition is satisfied and anyone can claim the output. The commitment transaction itself is set to a minimal fee rate, with the expectation that CPFP will bring it to market rate at broadcast time.

Ephemeral Anchors (Zero-Value)

The next-generation design replaces both keyed anchors with a single zero-value, ephemeral anchor output. This approach is built on two Bitcoin Core policy changes:

  • TRUC (v3) transactions (BIP 431): a new transaction relay policy that restricts topology to one unconfirmed parent and one unconfirmed child, limiting pinning vectors
  • Ephemeral dust policy: an exception to the standard dust relay rule that allows a single zero-value output in a zero-fee transaction, provided a child transaction spends that output in the same relay package

The ephemeral anchor uses the Pay-to-Anchor (P2A) output type defined in BIP 433. Its scriptPubKey is:

OP_1 <0x4e73>

# Serialized bytes: 0x51 0x02 0x4e 0x73
# Mainnet address:  bc1pfeessrawgf

P2A is a witness v1 output that anyone can spend with an empty witness. No signature or key is required. This means either channel party (or even a third-party fee-bumping service) can create the CPFP child.

Why Dust Anchors Matter

Without dust anchors, Lightning implementations faced a difficult choice: set commitment transaction fees high enough to confirm under any mempool condition (wasting money most of the time), or set them to a reasonable estimate and risk being unable to close channels when fees spike. Neither option is acceptable for a production payment network.

Dust anchors give channel operators the flexibility to defer fee decisions to broadcast time. The commitment transaction pays a minimal fee (or zero fee with ephemeral anchors), and the party that needs confirmation attaches the appropriate fee via CPFP. This is especially important for:

  • Force closes during fee spikes, where timely confirmation protects against counterparty fraud
  • Long-lived channels where the fee market may change dramatically between updates
  • Mobile wallets with limited UTXO reserves that need efficient fee management

The transition from original anchors to ephemeral anchors brings additional benefits. For a detailed analysis, see the research article on Pay-to-Anchor outputs and v3 fee bumping.

Reduction in On-Chain Footprint

Original anchor channels add two 330-satoshi outputs to every commitment transaction, totaling 660 satoshis of on-chain overhead per commitment. If the channel closes cooperatively, these anchors are typically not needed but have already consumed block space in the pre-signed transaction.

Ephemeral anchors replace both outputs with a single zero-value output. Because the P2A output is spent in the same package as the commitment transaction, it never persists in the UTXO set, eliminating long-term UTXO bloat entirely.

Simplified Reserve Requirements

With original anchor outputs, each channel party needs to maintain a reserve of UTXOs specifically for fee bumping. The anchor channel design requires that each party hold at least one confirmed UTXO to spend their anchor when needed. This reserve requirement complicates wallet management, particularly for mobile users who may have limited on-chain funds.

Ephemeral anchors simplify this because the anchor is keyless: any UTXO from any wallet can fund the CPFP child. Third-party fee-bumping services can even handle this on behalf of channel participants, removing the reserve burden entirely.

Use Cases

Lightning Channel Force Closes

The primary use case for dust anchors is enabling fee bumping during force closes. When a channel party broadcasts a commitment transaction unilaterally, they need it to confirm quickly to enforce timelocks and prevent counterparty fraud. Dust anchors let them attach the right fee for current mempool conditions.

HTLC Resolution

HTLC success and timeout transactions also benefit from anchor-based fee bumping. These second-stage transactions claim HTLCs from the commitment transaction and have their own time constraints. With TRUC-based anchors, these transactions can also use zero-fee-then-CPFP patterns. For more on how v3 transactions and package relay improve HTLC resolution, see the research on Lightning v3 transactions and package relay.

Fee-Bumping Services

The keyless nature of ephemeral anchors opens the door for dedicated fee-bumping services. A watchtower or LSP could monitor for broadcast commitment transactions and automatically create CPFP children on behalf of offline users, ensuring timely confirmation without requiring the user to be online.

Multi-Party Protocols

Beyond two-party Lightning channels, dust anchors are relevant to any multi-party Bitcoin protocol that uses pre-signed transactions: channel factories, CoinPools, and Ark all face the same fee-estimation problem. Ephemeral anchors provide a standardized solution that works regardless of the number of participants.

Risks and Considerations

UTXO Availability for CPFP

Dust anchors only work if the party needing confirmation has a UTXO available to fund the child transaction. If a user has no on-chain funds (for example, all their bitcoin is in Lightning channels), they cannot create the CPFP child. This is particularly relevant for mobile Lightning wallets. Implementations like LND maintain a dedicated fee-bumping wallet reserve to mitigate this risk.

Third-Party Interference

Because ephemeral anchors are anyone-can-spend, a third party could theoretically create a competing child transaction. Under TRUC rules, only one child is allowed per parent, so a malicious child could temporarily block the legitimate fee bump. However, the legitimate party can use replace-by-fee (RBF) to replace the malicious child with a higher-fee transaction, restoring their ability to confirm the commitment.

Relay Policy Dependencies

The ephemeral anchor design depends on specific Bitcoin Core relay policies: TRUC transaction rules (Bitcoin Core 28.0) and ephemeral dust rules (Bitcoin Core 29.0). If a significant portion of the network runs older node software that does not support these policies, commitment transactions with zero-value outputs may not propagate reliably. As these policies become more widely adopted, this risk diminishes.

Transition Period

The Lightning Network is in the process of migrating from original anchor outputs to ephemeral anchors. During this transition, different implementations support different anchor types. Channels opened with the original anchor format continue to use two 330-satoshi outputs until the channel is closed and reopened or spliced with updated commitment formats. For background on the broader fee-bumping landscape, see the RBF and CPFP fee-bumping guide.

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.