The Transaction That Mints Money: How a Coinbase Reward Is Born Every Ten Minutes

The coinbase transaction has no input and mints new bitcoin from nothing. It is the only door through which supply enters, it obeys a 100-block maturity rule, and it is how the 21-million cap actually falls out of a geometric series.
50 BTC

Every block starts by paying its author

→ 21,000,000
  • That is how many bitcoin the first block’s coinbase transaction created, out of nothing, on January 3, 2009. No input, no sender, no previous owner. Just an output paying 50 BTC to a public key, and a bit of arbitrary data in the input field that read “The Times 03/Jan/2009 Chancellor on brink of second bailout for banks.”

Every ~10 minutes since, a new transaction of this kind has been born at the top of a block. It is the one place in the entire system where bitcoin is created rather than moved, and it obeys rules that almost nobody reads because they are boring until the moment they decide the supply.

So let me read them, because this is the mechanism behind the “21 million” number everybody quotes and almost nobody derives.

The Transaction That Mints Money: How a Coinbase Reward Is Born Every Ten Minutes
Gary Lee Todd, CC0, via Wikimedia Commons

The Coinbase Is Not a Reward; It Is a Transaction

First, a naming correction that matters. The “coinbase transaction” is not a special bonus line in the block. It is an ordinary transaction with one hard-coded exception: its input list is empty.

Every normal transaction must name a previous output to spend — that 36-byte outpoint we walked through in the transaction anatomy piece. The coinbase transaction has no such outpoint. Its single input carries a null reference and a field that can hold arbitrary bytes, which is why it is the one place miners can write “The Times” headlines or, later, pool names and BIP-34 block-height commitments.

normal input:  prevout(36 bytes) + scriptSig + nSequence
coinbase input:  null outpoint + coinbase_script (up to 100 bytes, arbitrary) + nSequence

Because there is no previous owner, there is nothing to spend — which is exactly what allows value to appear from nowhere. The output is the newly created bitcoin, and the whole construction is valid only in one position: the first transaction in the block.

  • Jan 3, 2009Genesis block coinbase pays 50 BTC; the input carries a Times headline
  • 50 BTCThe original block subsidy, before the first halving
  • Nov 28, 2012First halving at block 210,000 — subsidy drops to 25 BTC
  • Jul 9, 2016Second halving at block 420,000 — 12.5 BTC
  • May 11, 2020Third halving at block 630,000 — 6.25 BTC
  • Apr 2024Fourth halving at block 840,000 — 3.125 BTC
  • ~2140The last satoshi is issued; subsidy becomes zero

Where the 21 Million Actually Comes From

The number 21 million is not written anywhere in the code as a target. It falls out of two rules that combine into a geometric series.

subsidy per block = 50 · 2^(-halving) satoshi · a halving every 210,000 blocks

Start at 50 BTC per block. Every 210,000 blocks — about four years — cut it in half. Sum the infinite series and you get 21 million, because 50 × 210,000 × (1 + ½ + ¼ + …) = 50 × 210,000 × 2 = 21,000,000. The cap is not a constant; it is a limit.

HalvingBlock heightSubsidy after it
Genesis050 BTC
1st210,000 (Nov 2012)25 BTC
2nd420,000 (Jul 2016)12.5 BTC
3rd630,000 (May 2020)6.25 BTC
4th840,000 (Apr 2024)3.125 BTC
33rd~21400 (last satoshi issued)

That is the elegant part. The inelegant part is that the number is slightly less than 21 million in practice, because a handful of coinbase outputs were destroyed through bugs or lost keys over the years, and because the subsidy is paid in an integer number of satoshi that cannot always be halved exactly.

210,000 / ~4 years / 21,000,000 —

blocks between halvings · the real-world cadence of each halving · the supply limit that falls out of the geometric series

Two More Pieces of the Same Transaction

The subsidy is only the first thing the coinbase transaction collects. It also gathers everything else the block produced.

Transaction fees. Every transaction’s fee is the difference between its inputs and outputs — the leftover that the miner implicitly claims. The coinbase transaction’s total output value is allowed to be up to the subsidy plus the sum of every fee in the block, but not a satoshi more. That “not more” is a consensus rule, and it is what caps the miner’s take.

Why this becomes the whole story. As the subsidy halves toward zero, fees become the only thing left. The design assumption baked in from the start is that by the time the subsidy is negligible, transaction fees will have grown large enough to keep miners honest — which is a bet, not a guarantee, and the subject of a debate that will get loud around the sixth and seventh halvings.

coinbase output ≤ subsidy + Σ(fees in block) · and the subsidy is the only part that eventually disappears

The Transaction That Mints Money: How a Coinbase Reward Is Born Every Ten Minutes
Unknown author, Public domain, via Wikimedia Commons

The 100-Block Trap That Catches Every New Miner

There is a rule attached to coinbase outputs that quietly changes the meaning of “you just mined a block”: the newly created coins cannot be spent for 100 blocks.

Technically, the rule is that a transaction spending a coinbase output is invalid until the coinbase has 100 confirmations. The reason is not to punish miners — it is to protect the ledger from its own reorgs. If the chain reorganizes and your block ends up orphaned, its coinbase is invalid, and anything you already spent with it would have to be unwound. The 100-block maturity window makes sure the coinbase is deep enough to be near-immovable before it can move.

The practical consequence is a miner’s cash-flow rhythm: you cannot spend what you just mined until roughly 16 to 17 hours later. Every new pool operator learns this the hard way when the payout dashboard shows a balance that the wallet will not yet let them touch.

The Transaction That Mints Money: How a Coinbase Reward Is Born Every Ten Minutes
Thomas Quine, CC BY 2.0, via Wikimedia Commons

What This Means for the “21 Million” You Hear Everywhere

Put it all together and the supply story is more specific than the slogan:

  • The cap is a limit, not a constant. 21 million is the sum of a geometric series, and the real figure is a hair below it because of destroyed coins and rounding.
  • The subsidy is already mostly gone. At 3.125 BTC per block after the 2024 halving, roughly 93.75% of all bitcoin that will ever exist has already been issued. The remaining issuance is a rounding error next to the float.
  • The interesting number is the fee, not the subsidy. The coinbase output is capped at subsidy-plus-fees, and the subsidy is on a one-way trip to zero. The security budget of the network is being handed from newly-minted coins to transaction fees, on a schedule nobody fully controls.
  • “Mining creates money” is true exactly once per block, in exactly one position. Every other transaction just moves what already exists.

The coinbase transaction is the only door through which new bitcoin enters the world, and it is open for a fixed, shrinking amount every ten minutes. That is the entire supply policy of the hardest money ever built, and it fits in a transaction with no input.

(The End)

Bitcoin

The Signature Bitcoin Waited 12 Years For: What Schnorr Adds That ECDSA Couldn't

2026-10-27 0:11:24

Bitcoin

Ten Minutes Is an Average, Not a Timetable: How Bitcoin Block Time Actually Behaves

2026-10-30 1:02:05

❯
Profile
Cart
Coupons
Search