A 51% attack occurs when a single entity or group gains control of more than 50% of a blockchain network's mining hash rate or staked tokens. This majority control allows the attacker to disrupt the network by reversing transactions, double-spending coins, and preventing new transactions from being confirmed.
How It Works
In Proof-of-Work Networks
An attacker needs to accumulate more computational power than all honest miners combined. With majority hash rate, they can:
- Mine blocks faster than the rest of the network
- Create a private chain and release it to replace the honest chain
- Reverse transactions that occurred on the overridden chain
In Proof-of-Stake Networks
An attacker would need to accumulate more than 50% of all staked tokens. To actually revert finalized blocks or double-spend, they would need at least 66% of total staked ether on networks like Ethereum.
Real-World Examples
| Network | Year | Hash/Stake Controlled | Outcome |
|---|
| Bitcoin SV | 2021 | ~51% hash rate | Multiple chain reorganizations |
| Ethereum Classic | 2019 | >51% hash rate | Multiple 51% attacks, millions in double-spends |
| Vertcoin | 2018 | >51% hash rate | Double-spending on exchanges |
Why Major Networks Are Safer
Bitcoin and Ethereum are extremely difficult to attack because:
- Bitcoin: The cost to sustain 51% hash rate would exceed billions of dollars in hardware and electricity
- Ethereum: Acquiring 51% of staked ETH would cost tens of billions and the attacked ETH would lose value during the attack itself
- Economic disincentives: The attacker's own holdings would lose value as the network's reputation suffers
Defense Mechanisms
- Checkpointing: Periodic finality checkpoints that cannot be reversed
- Slashing: Proof-of-stake networks penalize malicious validators by destroying their stake
- Decentralization: The more distributed the network, the harder it is to accumulate majority control
- Exchanges: Delayed confirmation requirements for large deposits
Why It Matters for Creators
Understanding 51% attacks helps creators evaluate the security of the blockchains they build on. Smaller chains are more vulnerable, which could affect the safety of NFTs, tokens, and smart contracts deployed on those networks.