Glossary termAttack technique

51% Attack

Also known as: Majority attack, 51 percent attack

Attack in which a party controlling most of a blockchain's mining or staking power rewrites recent history, enabling double-spending or censorship.

A 51 percent attack occurs when one party or coordinated group controls a majority of a blockchain's block-producing power, such as hash rate in a proof-of-work network. With that majority, the attacker can build a private chain faster than everyone else and then publish it, causing the network to reorganize and discard recent blocks. This lets the attacker reverse their own recent payments, a form of double-spending, or exclude other users' transactions. It does not let them forge signatures, take coins from other people's addresses or rewrite the protocol's rules.

Attacking a large network such as Bitcoin would require acquiring and running enormous amounts of specialized hardware, which is why such attacks have mostly hit smaller networks. Smaller chains that share a mining algorithm with larger ones are especially exposed, because attackers can rent computing power temporarily. Ethereum Classic suffered several such attacks in 2019 and 2020, and Bitcoin Gold was attacked in 2018. In 2014 the mining pool GHash.io briefly approached or exceeded half of Bitcoin's hash rate, prompting concern and voluntary limits.

In proof-of-stake systems the equivalent attack requires controlling a large share of staked tokens, and misbehavior can be punished by destroying stake. Defenses include waiting for more confirmations on high-value transfers, checkpoints, monitoring for unusual reorganizations and keeping mining or staking power widely distributed. After attacks, exchanges commonly raise the number of confirmations they require. The concept shows that a blockchain's security depends on the cost of acquiring majority control relative to what an attacker could gain.

Key points

  • A majority of block-producing power lets an attacker reorganize recent blocks.
  • Attackers can reverse their own payments but cannot steal coins from other addresses.
  • Small proof-of-work chains are most vulnerable, especially to rented hash power.
  • More confirmations and decentralized mining or staking reduce the risk.

Related entries

Glossary term

Double-Spending

Blockchain

Risk that the same unit of digital money is spent more than once, a central problem that digital cash systems and blockchains must prevent.

Glossary term

Proof of Work

Blockchain

Technique in which participants prove they spent computing effort by finding a value whose hash meets a difficulty target, used in many blockchains.

Glossary term

Proof of Stake

Blockchain

Blockchain consensus method in which validators lock up tokens as collateral to propose and confirm blocks, and can lose them for misbehavior.

Glossary term

Method by which the nodes of a distributed system agree on one shared state, such as which transactions a blockchain records and in what order.

Glossary term

Cryptocurrency Mining

BlockchainHardware

Use of computing hardware to validate transactions and add blocks to a proof-of-work blockchain in exchange for newly issued coins and fees.

Glossary term

Sybil Attack

BlockchainCybersecurity

Attack in which one adversary creates many fake identities to gain disproportionate influence in a network, vote or reputation system.

Featured in guides