Skip to content
Banking on Bitcoin

Technology

How Many Bitcoin Are Left to Mine? The 21 Million Cap Explained

Bitcoin's supply is capped just under 21 million. See how halvings produce the cap, why circulating supply differs by source, and what happens in 2140.

By · Published

Illustration of a large glowing orange bitcoin coin on a dark background

Key takeaways

  • Bitcoin’s rules cap the total supply at just under 21 million. The exact maximum is 20,999,999.9769 bitcoin.
  • Every bitcoin that has not yet been issued is still left to mine. New coins are released only as block rewards, and that reward halves every 210,000 blocks.
  • Most of the supply comes early. The final fractions are not expected until around the year 2140.
  • “Circulating supply” figures differ between sources, because some coins are lost or unspendable and no one can count them precisely.
  • This article gives no figure for what has been mined today. The Halving and supply explorer shows the scheduled supply for any year or block height.

How many bitcoin will ever exist?

Bitcoin’s rules allow a maximum of 20,999,999.9769 bitcoin, which is nearly always rounded to 21 million. No miner, company or government can issue more than the schedule permits, because every node on the network checks each block’s reward against the rules and rejects any block that claims too much.

The cap is not a single line of code that says “stop at 21 million.” It is the result of a schedule. The reward started at 50 bitcoin per block and is cut in half every 210,000 blocks. Add up every reward from the first block to the last one that pays anything, and the sum lands just below 21 million.

That makes the supply path unusually predictable. For almost any other currency or commodity, nobody can say today how much will exist in twenty years. For bitcoin, the answer is a schedule anyone can compute, and What Is Bitcoin? explains why that design choice sits at the center of the project.

Why is the total slightly under 21 million?

The total falls a hair short of 21 million because rewards are paid in whole units of one hundred-millionth of a bitcoin, called a satoshi, and the halving math rounds down. Bitcoin does not use decimals the way a spreadsheet does. Amounts are counted as whole numbers of satoshis, so when the reward is halved and the result would include a fraction of a satoshi, the fraction is dropped.

Early on, the rounding does nothing, since 50 bitcoin splits evenly into 25, then 12.5, then 6.25 and 3.125 without leftovers. The reward keeps shrinking, though, and in later periods it reaches amounts where the halved figure no longer divides evenly. Those dropped fractions, added up over the whole schedule, are why the final total is 20,999,999.9769 instead of a round 21,000,000.

The difference is about 0.023 bitcoin out of tens of millions, so nobody calls the cap anything but 21 million in conversation. It is still worth knowing the exact figure if you read the protocol rules or a supply table, and it explains why you may see both numbers.

How does the halving schedule produce the cap?

The halving schedule produces the cap because each period of 210,000 blocks creates half as many new bitcoin as the period before it. At about one block every ten minutes, a period lasts roughly four years.

The first period issued 10.5 million bitcoin. The second added about 5.25 million, the third about 2.625 million, and so on. These numbers form a series that gets smaller each time and adds up to a finite total, just under 21 million, no matter how long it continues. The details of each event, including dates and rewards, are in What Is the Bitcoin Halving?, so this article does not repeat the table.

One consequence is that supply is front-loaded. Half of the full amount was issued in the first period alone, and each later period adds a smaller share. By the time of the 2024 halving, the large majority of all bitcoin that will ever exist had already been created, which means the remaining halvings release progressively smaller amounts and the pace of new issuance keeps falling.

When will the last bitcoin be mined?

The last bitcoin fraction is expected to be issued around the year 2140. The reward falls to a tiny amount, then to nothing, after about thirty-three halvings, and the exact calendar date depends on how closely blocks keep to the ten-minute target.

That date is an estimate, since a halving is tied to a block number, not to a day on the calendar. Real block times wobble, and the difficulty adjustment corrects them over time. Over a century and a half, small drifts add up, so 2140 is a good rule of thumb and not a promise.

Long before then, issuance is already tiny. The practical effect of the schedule is that new supply keeps shrinking year after year, well ahead of the final block that pays out anything. If you want a year-by-year look, the Halving and supply explorer lets you enter any year or block height and see the scheduled supply, while the actual number moves with every block. It is the right place for any current number, which is why this article does not quote one.

Why do “circulating supply” numbers differ?

Circulating supply figures differ because sources disagree about which coins count. The scheduled amount issued is a precise number that follows from the block height. The amount that people can actually spend is not precise, and nobody can measure it exactly.

Several things create the gap. The reward from the very first block can never be spent, because of how that block was built, and it is counted in the schedule anyway. Some miners over the years claimed less than the full reward in a block, which means a little less was issued than the schedule allowed. And some coins are lost for good: forgotten passwords, discarded drives, owners who died without passing on their keys. Coins in that situation still show on the public ledger, so the network cannot tell them apart from coins that are simply being held.

Estimates of lost coins are guesses based on patterns, not facts, and they come with real uncertainty. A site that shows a lower “effective supply” is making an estimate, while a site that shows the scheduled supply is reporting the rules. Check which one you are reading, and see How Does Bitcoin Work? for why keys decide who can move a coin.

Can the 21 million cap ever change?

The cap can only change if a very large share of the network agrees to run different rules, and no single person or company can decide it alone. Bitcoin’s rules are enforced by thousands of independent nodes. Each node checks every block, and a node will refuse a block that pays out more than the rules allow, whatever a developer, a miner or an exchange says.

In principle, any rule in open software can be changed, and that includes this one. Someone could publish software with a different supply and ask people to adopt it. But that software would create a separate network unless nearly everyone moved over at once. Users who value the fixed limit would simply keep running the old rules. Because the cap is so central to why people hold bitcoin, changing it would be one of the most contested moves imaginable, and in practice the limit has not changed since the software was released in 2009.

That is a social fact as much as a technical one. The cap is strong because many people with different interests all want it to stay, not because the code is physically impossible to edit. Why Does Bitcoin Have Value? looks at how scarcity fits into the argument for Bitcoin, and where that argument has limits.

What do miners earn after the last bitcoin is issued?

After issuance ends, miners will earn only the transaction fees attached to the transactions they include in blocks. Today a miner’s income has two parts, the new bitcoin from the block subsidy and fees. The subsidy keeps shrinking, so over time fees must carry a larger share.

Whether fees alone will pay for enough mining to keep the network secure is a real open question. Optimists point to growing use and to fees rising when many people want space in the next block. Skeptics worry that if fee income is too low, the cost of attacking the network could fall. Neither side can prove its case yet, because the test is still decades away, and the question will be shaped by how Bitcoin is used by then.

The details of mining costs, hardware and the energy debate are in Inside a Bitcoin Mining Operation, and Bitcoin Fees Explained covers how fees are set. A fixed supply does not guarantee that Bitcoin will hold its value or work as money, and anyone weighing a decision about it should talk to a qualified professional. For the full learning path, the Start Here guide lists the core articles in order.

Where to go next

Frequently asked questions

How many bitcoin will ever exist?

The rules allow a maximum of 20,999,999.9769 bitcoin, which is almost always rounded to 21 million. The total sits slightly below 21 million because rewards are paid in whole satoshis and each halving rounds down.

How many bitcoin are left to mine?

Every bitcoin not yet issued is still to be mined, and the amount shrinks with each halving. The exact figure changes with every block, so the halving and supply explorer on this site is the better place to check the scheduled supply for a given year.

When will the last bitcoin be mined?

The last fraction of a bitcoin is expected to be issued around the year 2140. Most of the supply is released much earlier, because each halving period creates half as many coins as the one before.

Can the 21 million limit be changed?

The limit is a rule in Bitcoin's software, and no single person or company can change it. Changing it would require a very broad share of users, node operators and miners to adopt new rules, which would be deeply contentious.

Why do different sites show different circulating supply numbers?

Sources disagree on how to treat coins that can never move, such as the genesis block reward, and on how to count coins lost to forgotten keys. Some count only what the schedule has issued, while others try to estimate what is actually spendable.

Related articles