Blog / Blockchain and Mining

What Is a 51% Attack and Could It Happen?

Cointechies

Blockchains rely on majority honesty. A 51% attack happens when one party gains control of more than half of the mining power, or in proof of stake, the stake, and uses it to manipulate the network.

What an attacker can do

  • Reverse their own recent transactions, which allows double spending.
  • Block other people’s transactions from confirming.
  • Stop other miners from earning rewards.

What they cannot do

  • Steal coins from other people’s wallets
  • Create coins out of nothing
  • Change the rules of the protocol
Bar chart of illustrative relative attack cost for three proof-of-work networks
Large networks cost far more to attack, which is why attacks hit small chains.

Real cases

Smaller proof-of-work coins, including Ethereum Classic, Bitcoin Gold and others, have suffered such attacks, with attackers reversing blocks and stealing from exchanges. These networks have little mining power, so renting enough hash rate was affordable.

Could it happen to Bitcoin?

In theory yes, in practice it is extremely unlikely. An attacker would need to buy or control a vast amount of specialised hardware and electricity, which would cost billions. The same attacker would then likely destroy the value of what they gained by undermining trust. Honest mining is more profitable.

Proof of stake

In proof of stake, an attacker would need to acquire a majority of the staked coins. Here, cheating can be punished: validators can lose their stake, and the community can respond by forking.

How exchanges protect themselves

They wait for more confirmations on smaller coins, and some flag deep reorganisations.

What you can do

  • Be careful with small proof-of-work coins, particularly when receiving large payments.
  • Wait for more confirmations on smaller networks.
  • Prefer networks with a large, decentralised base of miners or validators.

The bottom line

A 51% attack is a real threat for small chains, and a remote one for the largest networks. Security scales with the cost of attacking.

This article is for educational purposes only and is not financial advice. Crypto assets are volatile and you can lose some or all of your investment.

Follow the market in real time on the live crypto prices page, or go back to all articles.

More from the blog

All articles