Skip to main content
Network Now
BTC Price
Network Hashrate
Difficulty
Next Halving
Back to Blog

What is selfish mining? Is it a threat to honest Bitcoin mining

January 9, 202610 min read
what-is-selfish-mining-is-it-a-threat-to-honest-bitcoin-mining

TLDR

  • Selfish mining is a Bitcoin mining attack where a miner hides newly discovered blocks from the rest of the network
  • It does not require a majority of the network's hash power to work � just one-third is enough to gain an unfair advantage
  • Selfish mining wastes honest miners' computing power by forcing their work to become orphaned blocks
  • Multiple mitigation strategies exist, though no perfect solution has been found
  • Selfish mining is a real, monitored risk � not just a theoretical concept

Bitcoin mining is a fierce race. Everyone competing is looking for ways to emerge as a winner and earn freshly minted BTC for adding a new block to the network. For some miners, the secret is increasing the computing power of their rigs. For others, it's joining a Bitcoin mining pool to combine resources. But for a small group of bad actors, the strategy is far more sinister � blocking other miners from seeing new blocks through a technique known as selfish mining.

What is selfish mining? How does it work? And is it a real threat to honest Bitcoin mining? Below, we answer all of these questions.

What Is Selfish Mining?

Selfish mining is the act of hiding newly discovered blocks from the rest of the Bitcoin network. A selfish miner � or a coordinated group of selfish miners � mines a block and deliberately withholds it from the public blockchain instead of broadcasting it immediately, as the protocol expects.

By doing this, the selfish miner creates a private, hidden version of the blockchain that grows longer than the public one over time. Honest miners, unaware that new blocks exist, keep burning computing power trying to find blocks that have already been found. When the selfish miner eventually reveals their private chain, the Bitcoin network automatically recognizes it as the valid chain because it's the longest one. All the work honest miners did in the meantime is discarded � those blocks become what are known as orphaned blocks, blocks that were validly mined but are rejected because they are not part of the longest chain.

The concept was formally introduced and given its name in a landmark 2013 paper by Cornell University researchers Emin G�n Sirer and Ittay Eyal, who demonstrated mathematically that miners could exploit this strategy to earn disproportionately more than their fair share of block rewards.

How Does Selfish Mining Work?

Selfish mining doesn't break any blockchain rules. It follows them � but exploits a technical weakness in how the Bitcoin network resolves competing chains.

Here is a step-by-step example of how a selfish mining attack unfolds.

Peter (a selfish miner) mines block number 5,000 and keeps it private. James (an honest miner) is still working on block 4,999 and has no idea block 5,000 has already been solved. Peter continues mining and discovers block 5,001, still keeping everything hidden. At this point, James' version of the Bitcoin blockchain has 4,999 blocks. Peter's private version has 5,001 � two blocks ahead.

Peter keeps mining privately, extending his lead. When his private chain becomes long enough, he releases it to the network. Because the Bitcoin protocol is designed to honor the longest valid chain, Peter's version becomes the official blockchain. James, and every other honest miner who was working on the public chain, finds that their recently mined blocks have been invalidated. All that computing power, electricity, and time was wasted. James was effectively excluded from any payout between block 4,999 and the point where Peter released his chain.

This is the core mechanic of a selfish mining attack: force honest miners to waste resources on orphaned blocks while the attacker accumulates block rewards in private.

How Much Hash Power Does Selfish Mining Require?

One of the most dangerous aspects of selfish mining is how little hash power it actually requires. Many people assume that attacking Bitcoin requires controlling more than 51% of the network's total computing power. Selfish mining proves that assumption wrong.

Research shows that a miner controlling as little as one-third � approximately 33% � of the network's total hash rate can begin earning a disproportionately higher share of block rewards than honest miners. As the selfish miner's hash rate increases toward 50%, the advantage grows. If a selfish miner consistently controls more than half the network's hash power, they can prevent honest miners from keeping any blocks in the longest chain at all � effectively capturing all block rewards and gaining the ability to censor transactions at will.

This makes selfish mining a more accessible attack vector than a traditional 51% attack, and therefore a more serious long-term concern for Bitcoin's security.

What Happens to Honest Miners' Work?

This is a key part of the attack that often gets overlooked. When a selfish miner releases their private chain and it replaces the public one, every block that honest miners found and added to the public chain during that window is orphaned. An orphaned block is a valid block that is simply not part of the accepted longest chain � and it pays out nothing to the miner who found it.

This means honest miners not only lose the block reward they were expecting � they also lose the electricity and hardware wear that went into finding that block in the first place. The selfish miner, meanwhile, collects rewards for all the blocks in their private chain. The attack essentially redistributes revenue from honest participants to the attacker without breaking a single protocol rule.

Disadvantages and Risks of Selfish Mining

  • Reduced network security. When a small number of entities control which blocks get added to the Bitcoin blockchain, the network becomes more vulnerable. If these entities accumulate more than 51% of total hash power, they gain the ability to reverse transactions � a double-spend attack � which would be catastrophic for trust in Bitcoin.
  • Centralization of power. Selfish mining rewards large, well-resourced mining operations at the expense of smaller honest miners. Over time, this creates a feedback loop where fewer entities control more of the network, undermining the decentralized nature that Bitcoin was designed to protect.
  • Erosion of miner trust. When honest miners consistently find their blocks orphaned and their rewards disappearing, many will exit the network. A declining honest miner base weakens Bitcoin's overall hash rate and security over the long term.
  • Network instability. Frequent chain reorganizations � where the accepted version of the blockchain is replaced � disrupt wallet balances, delay transaction confirmations, and erode user confidence in the reliability of the network.

Are There Any Defenses Against Selfish Mining?

Researchers have proposed several mitigation strategies since the Eyal and Sirer paper was published, though no perfect solution exists yet.

One approach, suggested by Eyal and Sirer themselves, involves modifying the Bitcoin protocol so that when two blocks of equal length compete, the network randomly selects which one to follow rather than always favoring the block it received first. This makes it harder for a selfish miner to gain a consistent advantage.

A timestamp-based method proposed by researcher Ethan Heilman involves examining the timing of block announcements to detect suspicious withholding behavior. If a block is announced with a delay inconsistent with normal propagation times, the network can treat it with skepticism.

Another approach called ZeroBlock forces miners to release blocks within an expected timeframe. Blocks that are held beyond this window are flagged as expired and rejected by honest nodes, directly penalizing withholding behavior.

More recently, researchers have proposed dynamic difficulty adjustment algorithms (DDAA) that increase mining difficulty automatically when selfish mining behavior is detected � raising the cost of the attack in real time.

Despite these proposals, none have been implemented in Bitcoin's main protocol. The most practical defense remains ensuring that no single miner or cartel approaches one-third of the network's total hash rate.

Is Selfish Mining a Threat to Honest Bitcoin Mining?

The honest answer is: yes, and it deserves to be taken seriously.

Selfish mining has historically been described as a theoretical attack � possible in principle but not observed in practice. That framing is becoming harder to defend. Security researchers have noted that geopolitical and infrastructure factors, such as the concentration of mining in specific regions or the influence of state actors on mining pools, could create conditions where selfish mining becomes not just possible but deliberately coordinated.

There were even indications of accidental selfish mining behavior in 2015, when a significant portion of Bitcoin mining was located in China and latency caused by the country's firewall contributed to unintentional block propagation delays that mimicked the conditions of a selfish mining attack.

Calling selfish mining purely theoretical understates the risk. It is better understood as a known vulnerability that has not yet been exploited at scale � one that the Bitcoin community actively monitors and that researchers continue to develop countermeasures for. As mining becomes more concentrated among large industrial operators, the conditions that make selfish mining viable become easier to meet.

Conclusion

What is selfish mining? It is a deliberate strategy where a miner hides newly discovered blocks to build a private chain advantage, forcing honest miners' work to be discarded as orphaned blocks and siphoning block rewards away from legitimate participants. It requires as little as one-third of the network's hash power to become effective, making it a lower-bar attack than most people assume.

The good news is that the Bitcoin community is aware of the threat. Researchers, developers, and miners continue to monitor network conditions and refine proposed mitigations. But as the mining ecosystem evolves and hash power continues to consolidate, selfish mining deserves to be treated as a live and monitored risk rather than an abstract academic concern.

Frequently Asked Questions

What is selfish mining in simple terms?

Selfish mining is when a Bitcoin miner finds a new block but keeps it secret instead of sharing it with the network. By building a private chain in secret, they can eventually release it to overwrite the work that honest miners have been doing � stealing block rewards and wasting everyone else's computing power.

Does selfish mining require 51% of Bitcoin's hash power?

No. Research shows that a miner with as little as one-third (approximately 33%) of the network's total hash rate can begin to profit unfairly through selfish mining. This is one of the reasons selfish mining is considered more dangerous than a traditional 51% attack.

Has selfish mining ever happened on the Bitcoin network?

There is no confirmed case of deliberate selfish mining on Bitcoin. However, in 2015, accidental conditions similar to selfish mining were observed, partly due to network latency from internet infrastructure in China affecting how quickly blocks propagated across the global network.

What is an orphaned block and how does selfish mining create them?

An orphaned block is a valid block that was mined correctly but is not included in the longest accepted chain. Selfish mining creates orphaned blocks by building a longer private chain and then releasing it, causing the network to discard the honest miners' more recently found blocks in favor of the selfish miner's hidden chain.

Can selfish mining be stopped?

There is no complete solution implemented in Bitcoin today. Proposed defenses include randomizing which competing block gets priority, timestamp analysis to detect block withholding, protocol rules that expire unreleased blocks, and dynamic difficulty adjustments triggered by suspicious behavior. The most practical safeguard is preventing any single miner or mining pool from approaching one-third of the network's total hash power.


Ready to Mine Smarter? Meet EndlessMining.com

If you�re serious about crypto mining, the challenges above � trust, accountability, security, and efficiency � are problems you face every day. That�s exactly why EndlessMining.com was built.

EndlessMining.com is the mining hardware marketplace that actually has your back:

  • ?�Buy & Sell Mining Hardware�� Browse a curated�marketplace�connecting miners, dealers, and buyers worldwide.
  • ?�Hosting Services�� Skip the overhead. Let EndlessMining host your miners in professional facilities so you can focus on returns.
  • ?�Mining Consultancy�� Get expert guidance on equipment selection, setup, and optimization from people who live and breathe mining.
  • ?�Mining Calculator�� Run the numbers before you commit. Estimate profitability based on your hardware, power costs, and current network conditions.
  • ?�Escrow-Protected Transactions�� EndlessMining.com is currently the�only crypto miner marketplace officially partnered with Escrow.com, meaning every transaction is protected. No scams. No chargebacks. No uncertainty. In a space defined by trustlessness, Endlessmining.com offers something rare:�accountability you can count on.
Share

Stay Updated

Fresh guides and market signal in your inbox. No spam, unsubscribe anytime.

Comments (0)

No comments yet — be the first to share your thoughts!

Log in to leave a comment.