Live · Tue, Sep 1, 2026 · 16:01 UTC Block 843,917 Fees 14 sat/vB Fear & Greed 72 · Greed
Newsletter Pro Terminal Sign in
McLeod Pacific Investments.
Subscribe →
Live · 16:01 UTC Block 843,917 F&G 72
Bitcoin Basics Bitcoin Basics desk

What is a Bitcoin coinbase transaction and how does it work?

A Bitcoin coinbase transaction is the very first transaction in every block, and it's the mechanism through which new Bitcoin enters circulation. Understanding it reveals a lot about how mining and block rewards actually work.

Close-up of server racks in a data center highlighting modern technology infrastructure.

Photo by panumas nikhomkhai on Pexels

Every Bitcoin block contains one transaction that is different from all the others. It has no sender, no input from a previous transaction, and it creates coins from nothing. This is the coinbase transaction, and it sits at the top of every single block ever added to the Bitcoin blockchain. Understanding it unlocks a clearer picture of how Bitcoin mining, block rewards, and the network's coin supply actually operate.

What a coinbase transaction actually is

A coinbase transaction is the first transaction a miner includes when constructing a new block. Unlike a regular Bitcoin transaction, it doesn't draw funds from any existing unspent output. Instead, it generates new Bitcoin, paying the miner who successfully mined the block. Every block has exactly one, and its position is always first.

The name has nothing to do with the Coinbase exchange. Satoshi Nakamoto used the term in the original Bitcoin codebase to describe the "base" of a block's transaction set: the originating payment that funds the miner's reward.

The coinbase transaction has two components in its payout. First, the block reward: the fixed number of newly created Bitcoin the protocol allows a miner to claim. Second, all the transaction fees collected from every other transaction in the block. Both amounts go directly to a wallet address the miner specifies.

How it differs from a regular Bitcoin transaction

In a normal Bitcoin transaction, the sender references earlier unspent outputs (called UTxOs) to prove they have funds to spend. The coinbase transaction skips this entirely. It has a special input field that is essentially blank, sometimes called the coinbase field, which miners can fill with up to 100 bytes of arbitrary data. Miners have used this space for everything from timestamps to short messages. The very first coinbase transaction, in the genesis block, contained a headline from The Times newspaper dated 3 January 2009: "Chancellor on brink of second bailout for banks."

There's one other critical difference. A coinbase transaction output cannot be spent until 100 blocks have been added on top of the block it sits in. This rule is called the coinbase maturity period. It exists to prevent a miner from spending a reward that might later become invalid if their block gets orphaned from the chain.

What the coinbase transaction contains

The structure of a coinbase transaction includes several fields worth knowing:

  • Version: the transaction format version, identical to regular transactions.
  • Input: a single input with no previous transaction hash (set to all zeros) and a sequence number set to the maximum value. The scriptSig field here is the coinbase data field miners write to freely.
  • Output(s): one or more outputs directing the block reward and fees to the miner's chosen address. Mining pools typically split this across multiple addresses.
  • Locktime: usually set to zero.

The coinbase data field has become a small but fascinating historical record. Mining pools often include their identity in it. Bitcoin's block 481,824, which activated the SegWit upgrade in 2017, had mining pools announcing their readiness through this field.

Why the coinbase transaction matters for Bitcoin's supply

The coinbase transaction is the only mechanism through which new Bitcoin enters circulation. There is no other way to create coins on the network. This makes it central to Bitcoin's fixed supply model: the block reward started at 50 BTC per block in 2009 and halves every 210,000 blocks, approximately every four years. After the most recent halving, the reward dropped to 3.125 BTC per block. When the reward eventually reaches zero, miners will be compensated solely through transaction fees embedded in the coinbase transaction output.

This is why the long-term security of the Bitcoin network depends partly on whether fees alone can sustain miner participation. The coinbase transaction is where that economic balance plays out in real time, block by block.

How to find a coinbase transaction

Any Bitcoin block explorer lets you inspect a coinbase transaction directly. Look up any block number, find the first transaction listed, and you'll notice its input reads something like "No inputs (newly generated coins)." The output shows exactly how much Bitcoin the miner received and which address it was sent to.

If you're using a watch-only wallet to track block activity, coinbase transactions appear like any incoming payment, but they won't be spendable until the 100-block maturity window closes. That delay is enforced at the protocol level, not something wallets choose to apply.

The coinbase transaction and proof of work

The coinbase transaction is inseparable from Bitcoin's proof-of-work mechanism. A miner only earns the right to broadcast a valid coinbase transaction after expending real computational energy to find a block hash that meets the network's difficulty target. The coinbase output is the reward for that work. No valid proof of work means no valid coinbase transaction, and no coins created.

This is a tight design. The reward can't be claimed without doing the work, and the coins created can't be spent for another 100 blocks. By that point, the chain has confirmed the block's validity many times over, making any attempt to double-spend or reverse the coinbase output computationally impractical.

For anyone building a deeper understanding of Bitcoin, the coinbase transaction is worth studying closely. It's where monetary policy, miner incentives, and cryptographic proof all meet in a single, elegantly constrained structure.

→ The Confirmations · Daily newsletter

One email at 06:00 UTC. Six minutes. The only digest written for desks, not for retail.