<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/what-is-a-51-attack-and-how-does-it-work-in-practice--bbpkm3drn" -->

---
title: What Is a 51% Attack and How Does it Work in Practice?
description: A 51% attack is when a person, group, or entity gains control of 51% of a blockchain's hashing power. The method in which this is obtained is different for...
canonical: https://daily.dev/posts/what-is-a-51-attack-and-how-does-it-work-in-practice--bbpkm3drn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: What Is a 51% Attack and How Does it Work in Practice? | daily.dev
og:description: A 51% attack is when a person, group, or entity gains control of 51% of a blockchain's hashing power. The method in which this is obtained is different for...
og:url: https://daily.dev/posts/what-is-a-51-attack-and-how-does-it-work-in-practice--bbpkm3drn
og:image: https://api.daily.dev/og/posts/Bbpkm3DRN.png
og:image:alt: What Is a 51% Attack and How Does it Work in Practice?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What Is a 51% Attack and How Does it Work in Practice?

**[Hashnode Web3](https://daily.dev/sources/hashnode_web3)** · 6 min read · 10 upvotes · 2 comments

## Summary

A 51% attack is when a person, group, or entity gains control of 51% of a blockchain's hashing power. The method in which this is obtained is different for each consensus mechanism. The network has no choice but to choose the attacker's chain, as it requires an insane amount of computing power and, in turn, a lot of money.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://web3.hashnode.com/what-is-a-51-attack>

## Community discussion

Top comments from developers on daily.dev.

**@orkhanshirin** · 0 upvotes

> Smooth explanation. Thanks

**@sbmagar13** · 0 upvotes

> This is so informative and the coolest post of the day!!

---

Tags: [#bitcoin](https://daily.dev/tags/bitcoin), [#blockchain](https://daily.dev/tags/blockchain), [#proof-of-stake](https://daily.dev/tags/proof-of-stake), [#proof-of-work](https://daily.dev/tags/proof-of-work)

[View this post on daily.dev](https://daily.dev/posts/what-is-a-51-attack-and-how-does-it-work-in-practice--bbpkm3drn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"What Is a 51% Attack and How Does it Work in Practice?","url":"https://daily.dev/posts/what-is-a-51-attack-and-how-does-it-work-in-practice--bbpkm3drn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/what-is-a-51-attack-and-how-does-it-work-in-practice--bbpkm3drn"},"datePublished":"2022-07-28T14:41:31.396Z","dateModified":"2022-09-23T02:12:25.705Z","description":"A 51% attack is when a person, group, or entity gains control of 51% of a blockchain's hashing power. The method in which this is obtained is different for...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/605752f5bd5721c29d331ad09b728c98","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/605752f5bd5721c29d331ad09b728c98","isAccessibleForFree":true,"articleSection":"Hashnode Web3","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hashnode Web3","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f11336242ced460395ddd42414f2e8b6","url":"https://daily.dev/sources/hashnode_web3"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/what-is-a-51-attack-and-how-does-it-work-in-practice--bbpkm3drn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":10},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"bitcoin,blockchain,proof-of-stake,proof-of-work","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hashnode Web3","item":"https://daily.dev/sources/hashnode_web3"},{"@type":"ListItem","position":3,"name":"What Is a 51% Attack and How Does it Work in Practice?"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/what-is-a-51-attack-and-how-does-it-work-in-practice--bbpkm3drn","comment":[{"@type":"Comment","text":"Smooth explanation. Thanks","datePublished":"2022-10-21T12:07:16.115Z","url":"https://daily.dev/posts/Bbpkm3DRN#c-_022WJRpl","author":{"@type":"Person","name":"Orkhan Shirin","url":"https://daily.dev/orkhanshirin","image":"https://avatars.githubusercontent.com/u/62020621?v=4"}},{"@type":"Comment","text":"This is so informative and the coolest post of the day!!","datePublished":"2022-08-02T03:40:55.651Z","url":"https://daily.dev/posts/Bbpkm3DRN#c-KOIt6jB8E","author":{"@type":"Person","name":"Sagar Budhathoki","url":"https://daily.dev/sbmagar13","image":"https://avatars.githubusercontent.com/u/28835494?v=4"}}]}
```

