Coinbase transaction: how the network pays out the block reward

The coinbase transaction is the first transaction in every bitcoin block: it has no real input and pays whoever mined the block the newly created bitcoins and the fees from all the transactions in the block. It has nothing to do with the exchange of the same name. Coins from a coinbase transaction can only be spent after 100 further blocks.
Summary
- The coinbase is the only transaction in a block that "creates" new bitcoins – it has no previous output to draw from.
- It may pay out at most the block subsidy (3.125 BTC since April 2024) plus the sum of fees in the block. If a miner credits itself more, the network rejects its block.
- Inside are the block height (BIP 34), a helper number called the extranonce, the pool's tag and, for SegWit blocks, the witness commitment (BIP 141).
- The mined coins are "locked" for 100 blocks, i.e. roughly 16–17 hours.
- On a pool the coinbase goes to the pool's address and you receive a payout from the pool. In solo mining the coinbase is your payout directly.
Simple: the coinbase as the pay line on every page of a ledger
Imagine a public ledger to which a new page full of payments is added every ten minutes. Whoever writes the page (mines the block) may write on its very first line: "The reward is mine." That is the coinbase transaction.
The amount is not arbitrary, though. The rules state exactly how many new coins the writer may credit to themselves, and on top of that they can add the tips (fees) from the people whose payments they wrote onto the page. If they credited themselves a single satoshi more, everyone else would throw the whole page away. And they cannot spend the reward straight away – they have to wait until another 100 pages have been added to the ledger. This way the network makes sure the page really stays part of the ledger.
What this means for you:
- On a pool you never see the coinbase at all. The block reward goes to the pool, which sends you a share every day according to your hashrate.
- In solo mining (with a Bitaxe, for example) the coinbase is your payout. The address you enter into the miner is written directly into the coinbase transaction.
- Most of the reward today consists of new coins, not fees. In the example below, fees were just under 1% of the total.
- A solo-mined block has to wait about 17 hours before you can send it on.
Example: block 977,289, mined on 24 November 2026 at 0:30 Prague time, paid out 3.15385531 BTC in its coinbase transaction – of which 3.125 BTC were new coins and 0.0289 BTC fees. At a price of 1,347,537 Kč per BTC (as of 24 November 2026) that is about 4.25 million Kč for a single block. This is not investment advice.
You will find the details, with figures and tables, in the technical explanation.
How the coinbase differs from an ordinary transaction
| Property | Ordinary transaction | Coinbase transaction |
|---|---|---|
| Position in the block | any | always first, exactly one per block |
| Input | reference to an earlier unspent output + signature | a single input: 32 bytes of zeros and index 0xffffffff (no previous output) |
| In place of a signature | script with a signature | a "coinbase field" of 2–100 bytes containing arbitrary data |
| Maximum amount | sum of inputs | block subsidy + sum of fees in the block |
| When it can be spent | immediately after confirmation | only after 100 further blocks (coinbase maturity) |
| Fee | paid by the sender | none – on the contrary, the coinbase collects the fees |
If a miner pays out less in the coinbase than it is allowed to, the difference does not go to anyone else – it is lost for ever. The 100-block rule is written in Bitcoin Core as the constant COINBASE_MATURITY = 100. The reason: if a block becomes orphaned because of a simultaneous find, its coinbase ceases to exist, and the coins from it should not have had time to move on in the meantime.
What is inside the coinbase field
The coinbase field replaces the signature and its content is decided by the miner, or rather the pool. Only one thing is mandatory: since the BIP 34 soft fork (activated in March 2013; the last version 1 block was 227,835) the block height must come first. A breakdown of the real block 977,289 (Foundry USA pool, 23 November 2026 at 23:30:46 UTC):
| Part (hex) | Meaning |
|---|---|
03 89e90e |
3 bytes of height in little-endian order: 0x0ee989 = 977,289 (BIP 34) |
05 3cd278cc00 |
pool data (helper numbers whose meaning the pool decides itself) |
2f466f756e…2f |
the text "/Foundry USA Pool #dropgold/" – the tag used to attribute blocks to pools |
| the rest | extranonce and other pool data |
In this block the whole field is 50 bytes long. The part called the extranonce changes constantly during mining: when the miner exhausts the 4.3 billion nonce values in the header, it changes the extranonce, which changes the hash of the coinbase transaction and with it the Merkle root in the block header. We describe this in detail in the article Nonce and block header.
Coinbase outputs: where the money goes
The same block 977,289 had two outputs in its coinbase transaction:
| Output | Amount | Type | Purpose |
|---|---|---|---|
| 0 | 315,385,531 sat (3.15385531 BTC) | P2WSH | pool address, the entire reward |
| 1 | 0 sat | OP_RETURN | SegWit witness commitment: 6a24aa21a9ed + 32-byte hash (BIP 141) |
The witness commitment is mandatory if the block contains SegWit transactions: the root of the "witness" tree (signature data) cannot be put into the header, so it is stored in a coinbase output. If there are several such outputs, the one with the highest index applies. Some pools send the reward straight to several addresses, but typically it all goes to a single pool address.
How much the coinbase pays out: subsidy and fees
| Item | Block 977,289 | Average in our hashprice calculation |
|---|---|---|
| Block subsidy (new coins) | 3.125 BTC | 3.125 BTC |
| Fees | 0.02885531 BTC (0.91%) | approx. 0.016 BTC (0.5%) |
| Total | 3.15385531 BTC | 3.1412 BTC |
| In Kč (1,347,537 Kč/BTC) | approx. 4.25 million Kč | approx. 4.23 million Kč |
As of 24 November 2026; BTC price from CoinGecko, average reward from our mining.rates metafield (source: mempool.space). The subsidy will drop to 1.5625 BTC at the next halving at block 1,050,000, roughly in 2028. After that, the share of fees in miners' income will become even more important.
The coinbase on a pool and in solo mining
- Pool: the pool builds the block template and sends miners the coinbase transaction split into two parts (coinb1 and coinb2 in the Stratum protocol) with space for the extranonce between them. The miner therefore only changes the extranonce and the nonce and cannot influence the payout address. Your payout comes from the pool according to its scheme – with FPPS daily, regardless of whether the pool has just found a block and whether 100 blocks have passed yet.
- Solo: your address is directly in the coinbase output. If you find a block, you get the whole reward, but you can only spend it after 100 blocks. We look at the odds in the article Solo mining.
A final detail: locktime and the BIP 54 proposal
In block 977,289 the coinbase transaction has a locktime of 977,288 (the block height minus one) and a sequence of 0xfffffffe. For this block, mempool.space shows a flag indicating that the coinbase complies with the rules of the BIP 54 proposal ("Consensus Cleanup"), which among other things addresses the theoretical possibility of two identical coinbase transactions. For miners on a pool this changes nothing – the coinbase is built by the pool.
What next
- Block reward and transaction fees – how much a miner gets and how it changes
- Nonce and block header – what exactly a miner hashes
- PPS, PPLNS, FPPS – how a pool splits the coinbase reward among miners
- Mining wiki – all terms in one place
Sources
- BIP 34: Block v2, Height in Coinbase
- BIP 141: Segregated Witness (witness commitment)
- Bitcoin Developer Reference: Transactions (coinbase input)
- Bitcoin Core: consensus.h (COINBASE_MATURITY)
- mempool.space: block 977,289
- PC Praha data (mining.rates: BTC price, average reward), as of 24 November 2026
Frequently asked questions
Is the coinbase transaction related to the Coinbase exchange?
Why can't mined bitcoins be spent straight away?
How many bitcoins does a coinbase transaction pay out today?
Can I see the coinbase transaction when I mine on a pool?
What happens if a miner pays out less in the coinbase than it is allowed to?
This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.