Coinbase Maturity

Newly mined coins cannot be spent for 100 blocks, so a reorg cannot strand spent rewards.

Basically

Newly mined bitcoin cannot be spent for 100 blocks. The wait protects you and the network from losses if a recent block is dropped during a chain reorganisation.

Key Takeaways

  • Coinbase maturity is a consensus rule that stops outputs from a coinbase transaction being spent until 100 additional blocks have been mined on top of the block containing the reward.
  • The rule protects the network from chain reorganisations. If a block is orphaned, any transactions that spent its coinbase output would also become invalid, causing cascading failures for everyone downstream.
  • Miners and pools must wait approximately 16.7 hours before accessing their block subsidy and collected transaction fees, which affects pool payout models and miner cash flow.

What Is Coinbase Maturity?

Coinbase maturity is a Bitcoin consensus rule that prevents newly created coins from being spent until 100 blocks have been confirmed on top of the block that created them. Every Bitcoin block contains a special coinbase transaction as its first transaction, awarding the miner the block subsidy, currently 3.125 BTC, plus all transaction fees collected from the block's other transactions. The outputs of this coinbase transaction remain immature until 100 confirmations have passed.

The maturity requirement exists because Bitcoin's blockchain can experience temporary forks. When two miners discover valid blocks at nearly the same time, the network briefly splits, and nodes follow the chain with the most accumulated proof of work while abandoning the competing branch. If a miner had already spent their reward from the abandoned block, those coins would cease to exist and every subsequent transaction that touched them would become invalid, so the 100-block buffer makes such a deep reorganisation effectively impossible under normal conditions.

The rule has been part of Bitcoin since Satoshi Nakamoto's original source code. The constant COINBASE_MATURITY = 100 was defined in version 0.1.0 and has never been changed.

How It Works

A successful miner creates new UTXOs representing the block reward through the coinbase transaction. These UTXOs enter a special state where they exist on the blockchain but cannot be referenced as inputs in any new transaction. The lifecycle follows a strict sequence.

The target rate of one block every 10 minutes means 100 blocks takes approximately 16 hours and 40 minutes. Actual timing varies because mining is stochastic, but the difficulty adjustment keeps the average close to this target over longer periods.

Consensus Enforcement

Coinbase maturity is enforced at the consensus level, not merely as a relay policy. Bitcoin Core defines the rule in its consensus code.

A transaction that attempts to spend an immature coinbase output is rejected at two levels. First, the mempool refuses to accept it, returns the error bad-txns-premature-spend-of-coinbase, and never relays it to other nodes. Second, if a miner somehow included such a transaction in a block, every validating node on the network would reject that entire block as invalid.

The maturity check applies equally to all outputs of the coinbase transaction. No distinction exists between satoshis from the block subsidy and those collected as transaction fees, so the entire coinbase transaction is locked for 100 blocks.

Wallet-Level Display

Bitcoin Core's wallet adds an extra 20-block buffer for display purposes. The internal GetBlocksToMaturity() function returns the maximum of zero and (COINBASE_MATURITY + 20) - depth, so the wallet shows a coinbase as immature until 120 confirmations. The display does not change the consensus rule: spending is permitted at 100 confirmations, but the wallet provides an additional visual safety margin.

Why It Matters

Chain reorganisations are a natural part of Bitcoin's consensus process. Short reorgs of one or two blocks happen regularly when miners find blocks nearly simultaneously, while deeper reorgs are rarer but not impossible. The longest known Bitcoin reorg occurred during the March 2013 chain split, documented in BIP-50, and extended approximately 24 blocks due to a database compatibility issue between Bitcoin Core versions.

Without coinbase maturity, a reorganisation would not only affect the miner who lost their block but would also cascade. A miner could receive their reward, immediately spend it at an exchange, and the exchange could credit the deposit to a trader who then withdraws. If the miner's block were later orphaned, the original coinbase output would cease to exist, the miner's spend would become invalid, the exchange would lose the deposit, and the trader's withdrawal would create a hole in the exchange's balance sheet, unravelling every transaction that touched those coins.

The 100-block maturity rule isolates this risk. By the time a coinbase output can be spent, the probability of a reorg reaching that depth is negligible. The rule provides a form of finality for newly minted coins and prevents contamination of the broader transaction graph.

Mining Pool Implications

Solo miners must wait roughly 16.7 hours after finding a block before accessing any of the reward. Mining pools produce blocks far more frequently, so the maturity rule shapes their entire payout infrastructure.

Pools display mined blocks in three stages on their dashboards. Each stage reflects a different part of the maturity wait.

Payout Models

Different pool payout models handle the maturity delay in distinct ways. The main difference is whether the pool or the miner carries the wait.

Large pools with significant reserves effectively make the maturity delay invisible to their miners by paying from their own working capital and recouping when the coinbase matures. Smaller pools may pass the delay directly to miners. Bitcoin Mining Economics in 2026 provides a deeper look at how mining economics work.

Coinbase Maturity vs. Exchange Confirmations

People often confuse coinbase maturity with exchange deposit confirmation requirements, but they serve different purposes and operate at different scales. Each protects against a different kind of risk.

Exchange confirmations protect against a sender attempting to reverse a regular transaction through a double-spend attack. The attacker would need to re-mine a competing chain that excludes their deposit transaction, and a few confirmations make this economically infeasible for most transaction sizes.

Coinbase maturity protects against something more fundamental: the complete disappearance of the coins themselves. If a coinbase's block is orphaned, the coins were never created in the consensus history, so a much higher confirmation threshold is required because the consequences are more severe and harder to detect downstream. Zero-Conf Bitcoin Explained provides a broader discussion of confirmation security.

Use Cases

Applications do not explicitly implement coinbase maturity as a feature. The background consensus rule still affects specific workflows.

Revenue Delay for Miners

The 16.7-hour maturity window creates a cash flow gap for miners, who incur real-time costs for electricity and hardware but cannot access revenue immediately. Solo miners feel this most acutely because finding a block is already rare, and the maturity delay adds further waiting before the reward becomes liquid. For large-scale mining operations, the aggregate immature balance across recently found blocks can represent significant locked capital.

Orphan Block Risk

A miner loses the entire reward if a block is orphaned before reaching maturity, including both the block subsidy and all collected transaction fees. The work spent mining that block is wasted. Short reorgs of one or two blocks are relatively common, but the maturity rule means only very deep and correspondingly rare reorgs affect spendable coins, so the risk is real but small under normal network operation.

The 100-Block Constant

Some people have questioned whether 100 blocks is the right number. The choice is arguably conservative because the longest known reorg in Bitcoin's history was roughly 24 blocks during the March 2013 incident, documented in BIP-50, and a lower maturity period would let miners access rewards faster. Changing the constant would require a consensus-level hard fork affecting every node on the network, while the conservative choice provides a significant safety margin against both natural reorgs and potential adversarial scenarios, and no serious proposal to change the value has gained traction.

Impact on Bitcoin's Supply Schedule

Coinbase maturity introduces a subtle effect on Bitcoin's effective circulating supply because the rewards from the most recently mined 100 blocks are locked and unspendable at any given moment. At the current subsidy of 3.125 BTC per block, approximately 312.5 BTC is perpetually immature and unable to participate in the economy, a negligible amount relative to the total supply but a small, constant buffer between mined supply and spendable supply. The Bitcoin fee market also plays a role because transaction fee revenue locked in immature coinbase outputs grows in significance as the block subsidy continues to halve.

The 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