Glossary

Closing Fee Negotiation

Closing fee negotiation is the process where Lightning channel peers agree on the on-chain fee for a cooperative close.

Key Takeaways

  • Closing fee negotiation is the back-and-forth process by which two Lightning channel peers agree on the on-chain fee rate for a cooperative close transaction.
  • The legacy protocol uses iterative closing_signed messages where each side proposes a fee that must converge toward the other's proposal. An optional fee_range TLV shortens this to a single round trip when both peers support it.
  • A newer protocol called option_simple_close (features 60/61) replaces the iterative exchange entirely: the initiator pays the fee, sends a closing_complete message, and the peer responds with closing_sig.

What Is Closing Fee Negotiation?

Closing fee negotiation is the protocol-level process through which two Lightning Network peers agree on how much to pay in on-chain transaction fees when they cooperatively close a channel. Because a cooperative close produces a single Bitcoin transaction that both parties must sign, they need to reach consensus on the fee before either signature is valid.

This negotiation matters because on-chain fees fluctuate constantly. A fee that is too low may leave the closing transaction stuck in the mempool for hours or days. A fee that is too high wastes channel funds unnecessarily. Each peer has an incentive to push the fee onto the other party, creating a small game-theoretic tension that the protocol must resolve.

If the two peers cannot agree on a fee, the cooperative close fails, and either party may resort to a force close instead: a more expensive, slower process that broadcasts the latest commitment transaction unilaterally.

How It Works

The closing flow begins when either peer sends a shutdown message, signaling intent to close the channel. No new payments can be routed through the channel after shutdown. Once all pending HTLCs resolve, fee negotiation starts.

Legacy Protocol: Iterative closing_signed

In the original protocol defined in BOLT 2, the channel funder (the peer who opened the channel) sends the first closing_signed message proposing a fee in satoshis. The other peer responds with their own closing_signed containing a counter-proposal. This continues until both sides agree.

The convergence rules are strict:

  1. Each new fee proposal must lie strictly between the proposer's previous value and the counterparty's last proposed value
  2. If the proposer agrees with the received fee, they echo it back to signal acceptance
  3. The proposed fee must not exceed the base fee of the final commitment transaction (for channels without anchor outputs)
  4. A node that receives an invalid proposal (outside the convergence range or above the allowed maximum) should fail the channel
# Simplified closing_signed exchange
# Channel funder proposes first

Peer A (funder) → closing_signed(fee: 5000 sat)
Peer B           → closing_signed(fee: 2000 sat)
Peer A           → closing_signed(fee: 3500 sat)  # between 5000 and 2000
Peer B           → closing_signed(fee: 3500 sat)  # agrees → close finalized

This process guarantees convergence because the gap between proposals shrinks on every round. In the worst case, it takes several round trips before the two sides meet, adding latency to what should be a simple operation.

Fee Range Extension

To reduce round trips, BOLT 2 added an optional fee_range TLV to the closing_signed message. When included, it carries a minimum and maximum fee the sender is willing to accept:

# closing_signed with fee_range TLV
closing_signed {
  channel_id: 0x...,
  fee_satoshis: 3000,
  signature: ...,
  fee_range: {
    min_fee_satoshis: 1500,
    max_fee_satoshis: 6000
  }
}

If both peers include a fee_range and their ranges overlap, they can settle on a fee within the overlapping window in a single round trip. Nodes that support this extension select the value closest to their preferred fee within the overlap. For nodes that do not advertise a range, the legacy iterative protocol still applies.

New Protocol: option_simple_close

In February 2025, the Lightning specification merged option_simple_close (feature bits 60/61), which replaces the iterative closing_signed exchange entirely. The new protocol works differently:

  1. Either peer can initiate the close by sending a closing_complete message (type 40) with their signature for the closing transaction
  2. The initiator pays the entire closing fee from their own channel balance
  3. The counterparty responds with a closing_sig message (type 41) containing their signature
  4. Either side can later send another closing_complete with a higher fee to replace the previous closing transaction via RBF

This design eliminates the negotiation game entirely. Since the initiator pays the fee, there is no conflict over who bears the cost. If the initial fee proves too low, either party can bump it without restarting the negotiation from scratch. The protocol requires both peers to advertise support for option_simple_close during the initial feature negotiation handshake.

Why It Matters

Closing fee negotiation directly affects the user experience of channel management. A well-tuned negotiation means cooperative closes confirm quickly and cheaply. A failed negotiation forces a force close, which is significantly more expensive: it uses the commitment transaction (which is larger and includes anchor outputs or other overhead), locks funds behind a timelock for days or weeks, and may require additional fee-bumping transactions.

For routing node operators, understanding fee negotiation is essential because they close and reopen channels regularly to rebalance liquidity. Each close that falls back to a force close costs real money and takes capacity offline for an extended period. For a deeper look at channel lifecycle management, see the Lightning channel management guide.

Layer 2 protocols like Spark avoid this problem entirely by using an off-chain vUTXO model that does not rely on bilateral channel state. Users can exit without negotiating closing fees with a specific counterparty.

Use Cases

  • Routine channel closure: when a node operator decides to close a channel to reclaim on-chain funds or reallocate capital, closing fee negotiation determines how quickly and cheaply the closure confirms
  • High-fee environments: during periods of network congestion, negotiation becomes critical because underpaying leaves the closing transaction unconfirmed while overpaying wastes scarce channel balance
  • Automated channel management: Lightning service providers and LSPs that manage hundreds of channels use fee estimation algorithms to set initial closing fee proposals, automating the negotiation process
  • Protocol upgrades: the transition from legacy closing_signed negotiation to option_simple_close demonstrates how the Lightning protocol evolves to reduce friction in channel operations

Risks and Considerations

Fee Disagreement Leading to Force Close

If peers run different fee estimation strategies or one peer has stale fee data, the iterative negotiation may fail to converge within the protocol's patience window. When this happens, one or both peers may give up and broadcast their commitment transaction as a force close, costing both parties more in fees and time.

Stuck Closing Transactions

In the legacy protocol, the agreed-upon fee is locked at negotiation time. If the Bitcoin fee market spikes after the closing transaction is broadcast, the transaction may remain unconfirmed for an extended period. Without RBF support in the closing transaction, the only recourse is to wait or attempt CPFP from one of the outputs. The option_simple_close protocol addresses this by allowing either party to submit a replacement with a higher fee.

Incentive Misalignment

In the legacy protocol, both peers prefer the other to pay more of the fee, creating an incentive to propose low fees. The channel funder historically bore the cost (since they fund the commitment transaction), but the negotiation still introduces a game where each side tries to minimize their share. The option_simple_close design resolves this cleanly: the initiator of the close pays the full fee, aligning incentives with the party that wants the closure.

Implementation Compatibility

During the transition period between the legacy and simple close protocols, peers running different Lightning implementations (such as LND, Core Lightning, or Eclair) may not all support option_simple_close. Nodes must gracefully fall back to the iterative closing_signed protocol when their peer does not advertise support for the newer feature.

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.