51% attack: what a hashrate majority can do and what an attack on Bitcoin would cost

A 51% attack is when a single miner or group controls more than half of a network's computing power (hashrate) and can then rewrite recent blocks – mainly to spend their own coins twice. They cannot steal other people's coins and cannot change the network's rules. For Bitcoin, as of 27 November 2026, this would mean matching around 1,029 EH/s, roughly 18 GW of machine power draw – capacity on which the whole network earns more than 25 million Kč an hour.
Summary
- Whoever holds the majority of hashrate can catch up with and overtake the honest chain, so they can reverse their own recent payments (double spend), censor transactions and orphan other miners' blocks.
- They cannot spend other people's coins without the keys, create extra coins or push through an invalid block – nodes will reject it.
- Real attacks have hit smaller networks: Ethereum Classic (2019, 2020), Bitcoin Gold (2018, 2020), Bitcoin SV (2021), Verge (2021).
- That is why exchanges wait for more confirmations on smaller networks: Kraken requires 3 for BTC and 2,880 for ETC.
- For miner owners the main risk is indirect: an attack on a smaller coin knocks down both its price and its mining revenue.
Simple: a 51% attack as a vote where one person has the majority
Imagine a notebook in which a group of people records payments. Which record counts is decided by whoever can write new pages faster. If one writer on their own writes faster than everyone else put together, they can quietly write their own version of the last few pages – for example without a payment they sent to someone – and then reveal it. Because their version is longer, the others accept it and the payment "disappears".
That is exactly what a 51% attack is. The attacker pays an exchange, for example, receives other money in return, and then rewrites their payment. The exchange loses the money and the attacker has it twice.
What this means for you:
- Nobody can steal the coins in your wallet. Even an attacker with enormous computing power does not know your keys.
- On Bitcoin an attack is practically impossible. You would need millions of machines and as much electricity as a whole country.
- Smaller coins are more vulnerable. When they are attacked, their price falls – and with it the revenue of the miners mining them.
- Wait for confirmations. When someone pays you a larger amount in Bitcoin, wait for several confirmations (blocks).
Example as of 27 November 2026: all Bitcoin miners together earn around 26 million Kč an hour. An attacker would have to run the same amount of computing power and, instead of earning rewards, would be "burning" money on rewriting history. On the smaller Ethereum Classic network, all miners together earn only about 56,000 Kč an hour – which is why attacks really did happen there.
You will find details with figures and tables in the technical explanation.
How the attack works technically
Bitcoin nodes treat as valid the chain into which the most cumulative work has been put (the most hashrate × time, in practice the "longest" chain by difficulty). The attacker therefore proceeds as follows:
- They send a transaction (for example a deposit to an exchange) and it is included in a block on the honest chain.
- At the same time, they secretly mine their own branch in which, instead of this transaction, they spend the same coins elsewhere – to themselves.
- They wait until the exchange credits the deposit after the required number of confirmations, and withdraw or exchange the coins.
- As soon as their branch is longer, they publish it. Nodes switch to it (a reorganisation), the blocks of the honest branch become orphaned and the original payment ceases to exist.
Bitcoin's developer documentation is clear on this: only someone who gains a majority of the network's power can carry out such an attack reliably; even with a smaller share, however, there is some chance of success, which is why people wait for more confirmations.
Probability of success according to the whitepaper
In section 11 of the whitepaper, Satoshi Nakamoto calculated the probability that an attacker with a share of power q catches up with the chain when z blocks behind. For the honest miners' share p = 1 − q: if q ≥ p, the attacker always catches up (probability 1). If weaker, the probability falls exponentially as (q/p)z, adjusted for the random nature of mining (Poisson distribution).
| Attacker's share (q) | Confirmations for an attack chance below 0.1% |
|---|---|
| 10% | 5 |
| 15% | 8 |
| 20% | 11 |
| 25% | 15 |
| 30% | 24 |
| 35% | 41 |
| 40% | 89 |
| 45% | 340 |
| 50% or more | no number is enough |
For an attacker with 10% of the power, the whitepaper gives a chance of 0.024% after 6 confirmations. This is where the well-known "6 confirmations" rule comes from – Bitcoin's documentation itself describes the number 6 as "somewhat arbitrary"; it makes sense on the assumption that nobody controls more than a small share of the power.
What an attacker can and cannot do
| Can | Cannot |
|---|---|
| Reverse and re-spend their own recent transactions (double spend) | Spend coins from other people's addresses – they do not have the private keys and a signature cannot be forged |
| Refuse to include selected transactions (censorship) | Create a block with a reward higher than subsidy + fees – nodes will reject it |
| Orphan other miners' blocks and take all the rewards | Change the rules (the 21 million BTC limit, block size) – every node checks them |
| Rewrite history ever deeper the longer they sustain the attack | Rewrite old blocks "for free" – they must redo all the work from that block onwards |
The whitepaper says it directly: honest nodes will never accept a block containing an invalid transaction. Why a signature cannot be produced without the key is explained in the guide Why a Bitcoin or Kaspa transaction cannot be forged.
What an attack would cost: our calculation
A lower estimate of the cost of an attack is what the attacker would have to spend on computing power comparable to the whole network. A good indicator is how much the whole network earns per day – roughly what honest miners spend on hardware and electricity. Calculation from our hourly profitability data (hashprice and network hashrates) as of 27 November 2026:
| Network (algorithm) | Network hashrate | Revenue of all miners per hour |
|---|---|---|
| Bitcoin (SHA-256) | around 1,029 EH/s | about 25.9 million Kč |
| Litecoin + Dogecoin (Scrypt, merged mining) | around 2.5 PH/s | about 870,000 Kč |
| Bitcoin Cash (SHA-256) | around 3.8 EH/s | about 93,000 Kč |
| Ethereum Classic (Etchash) | around 181 TH/s | about 56,000 Kč |
| Kaspa (kHeavyHash) | around 304 PH/s | about 42,000 Kč |
Bitcoin: 144 blocks a day × average reward of 3.15 BTC (subsidy + fees) × price of 1,374,319 Kč = about 623 million Kč a day, i.e. 26 million Kč an hour. The same result comes from hashprice: 0.6003 Kč/TH/day × 1,029 million TH/s.
Physically, the attacker would need to match more than 1,000 EH/s. At an efficiency of 17.5 J/TH (Antminer S21 200 TH/s according to the manufacturer), that is about 5.1 million machines and 18 GW of power draw excluding cooling – 18 GWh of electricity per hour, i.e. more than 27 million Kč even at a price of 1.50 Kč/kWh. That many machines simply cannot be bought on the market.
Bitcoin Cash uses the same algorithm as Bitcoin but has roughly 270 times less computing power. An attacker with just 0.4% of Bitcoin's hashrate could therefore theoretically overpower the entire BCH network – which is why smaller coins on the same algorithm require more confirmations.
The website crypto51.app estimates the cost of a one-hour attack based on renting hashrate on NiceHash: as of 27 November 2026, about 1.57 million USD for BTC, but with the note that 0% of the required power is available to rent – the figure is purely theoretical. For ETC it gives about 2,100 USD, for BCH 6,600 USD and for Kaspa around 3,000 USD. These are rough estimates (they do not include the rewards the attacker would mine).
Real attacks in history
| When | Network | What happened |
|---|---|---|
| May 2018 | Bitcoin Gold | a series of reorganisations; more than 388,000 BTG passed through the attacker's address |
| 5–7 January 2019 | Ethereum Classic | 15 reorganisations up to 123 blocks deep, 219,500 ETC double-spent (about 1.1 million USD); Coinbase suspended ETC until March |
| 23 January – 5 February 2020 | Bitcoin Gold | 8 reorganisations (the deepest 15 blocks), about 12,858 BTG double-spent |
| August 2020 | Ethereum Classic | three attacks within a month; the first rewrote more than 3,500 blocks and double-spent 807,260 ETC (about 5.6 million USD), the third more than 7,000 blocks |
| February 2021 | Verge | a reorganisation of around 560,000 blocks (about 200 days of history) |
| August 2021 | Bitcoin SV | a 14-block reorganisation; the chain's maintainers advised nodes to invalidate the attacking branch |
| August–September 2025 | Monero | the Qubic pool claimed to hold a majority; reorganisations of 6 and 18 blocks occurred. A study measured Qubic at around 22% of the hashrate on average, so this was not a proven 51% attack but a "selfish mining" campaign. |
According to an analysis by Bitquery, the 2020 attacks on ETC cost the attacker about 17.5 BTC in rented hashrate, while the double spend was worth around 5.6 million USD. Small networks whose hashrate can be rented short-term are therefore the most vulnerable.
Selfish mining: an attack even without 51%
In 2013, Eyal and Sirer showed that a pool can earn more than its fair share even without a majority: it secretly holds back the blocks it finds and publishes them only when the honest network finds a competing block. According to their model, this pays off from 1/3 of the hashrate, or even earlier with unfavourable block propagation; with their proposed fix, from 1/4. That is why it is healthy for the network when no pool holds a large share over the long term.
How many confirmations exchanges require
| Coin | Confirmations for a Kraken deposit |
|---|---|
| Bitcoin (BTC) | 3 |
| Litecoin (LTC) | 12 |
| Bitcoin Cash (BCH) | 15 |
| Monero (XMR) | 32 |
| Kaspa (KAS) | 100 |
| Ethereum Classic (ETC) | 2,880 (about 12 hours) |
The high number for ETC is a direct consequence of the 2019–2020 attacks. Exchange rules change, so check the current values directly with the exchange.
What this means for miners
- Block revenue: during an attack on the network you mine, your blocks may be orphaned and the pool loses the reward.
- Coin price: after an attack, confidence and the exchange rate usually fall – and with them the hashprice of the whole algorithm.
- Payouts: exchanges may suspend deposits of the coin or raise the number of confirmations.
- Decentralisation: mining in smaller pools or solo reduces the concentration of hashrate.
This is not investment advice.
What next
- Transaction confirmation: how many confirmations are enough
- Orphaned block and chain reorganisation
- Why a Bitcoin or Kaspa transaction cannot be forged
- All terms in the Mining wiki
Sources
- Satoshi Nakamoto: Bitcoin whitepaper, section 11 (bitcoin.org/bitcoin.pdf)
- developer.bitcoin.org – Block Chain Guide and Payment Processing
- mempool.space – network hashrate and difficulty (27 November 2026)
- crypto51.app – estimated cost of a one-hour attack (27 November 2026)
- Coinbase blog (ETC, January 2019); Bitquery (ETC, August 2020); The Block (ETC 2020, Monero 2025); MIT DCI (Bitcoin Gold); CoinDesk (BSV 2021, Verge 2021)
- Eyal, Sirer: Majority is not Enough (arXiv 1311.0243); study on Qubic (arXiv 2512.01437)
- Kraken – Cryptocurrency deposit processing times
- Bitmain – Antminer S21 specifications
- Own calculation from PC Praha's hourly profitability data, as of 27 November 2026
Figures as of 27 November 2026. This is not investment advice.
Frequently asked questions
Can an attacker with 51% of the hashrate steal my bitcoins?
What would a 51% attack on Bitcoin cost?
Has a 51% attack ever actually happened?
Why do exchanges wait for so many confirmations on some coins?
Does a 51% attack threaten miner owners?
This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.