A bitcoin 51% attack is the scenario that comes up every time someone asks whether Bitcoin can be hacked. The idea is simple: one group gains control of more than half of the computing power that secures the network, then uses that majority to rewrite recent history. The reality is far less dramatic than the headlines suggest. No one has ever pulled it off against Bitcoin, the attacker cannot touch your coins, and the cost of trying is enormous. This guide explains what the attack is, what it can and cannot do, why waiting for confirmations changes the odds, and where the real danger sits for people in Canada who buy and hold Bitcoin.
Table of Contents
- What Is a Bitcoin 51% Attack?
- What a Majority Attacker Can and Cannot Do
- Why the Attack Is So Expensive
- Confirmations and Your Odds
- Where the Real Risk to Your Bitcoin Sits
- Frequently Asked Questions
What Is a Bitcoin 51% Attack?
Bitcoin has no central server that decides which transactions are valid. Miners compete to add the next block to a shared ledger, and every node on the network follows the chain that carries the most accumulated proof of work. The original Bitcoin whitepaper puts the assumption in one sentence: as long as a majority of computing power is controlled by nodes that are not cooperating to attack the network, they will generate the longest chain and outpace attackers.
A 51% attack, also called a majority attack, is what happens when that assumption fails. One miner or one coalition controls more than half of the network’s hash rate. With that lead, they can build a private chain faster than everyone else combined and publish it whenever it is longer than the public one. Nodes follow the longest valid chain, so the public blocks get replaced.
The double spend is the whole point
Nobody mounts this attack for sport. The payoff is a double spend. The attacker sends coins to a merchant or an exchange on the public chain, collects the goods or the cash, and meanwhile mines a hidden fork in which those same coins went back to a wallet the attacker controls. When the hidden fork overtakes the public one, the payment to the merchant disappears and the attacker keeps both the goods and the coins. The Bitcoin Wiki entry on the majority attack describes exactly this sequence, and it also notes that the attack has never been carried out on Bitcoin, although it has been shown to work against some small altcoins.
Why smaller coins get hit and Bitcoin does not
Several smaller proof-of-work coins, including Bitcoin Gold and Ethereum Classic, have suffered real reorganizations because renting enough hash power to out-mine them was cheap. Security through proof of work scales with the money burned on electricity and machines. A coin with a small network is a small target, and Bitcoin has the largest mining network in the world by a wide margin.
What a Majority Attacker Can and Cannot Do
Plenty of people picture a 51% attacker as someone who can drain any wallet or print new coins. That picture is wrong, and the difference matters for how worried you should be. The Bitcoin Wiki page on Bitcoin’s known weaknesses lists both sides of the ledger.
What the attacker can do
- Reverse transactions the attacker sent while in control, which is the double spend described above.
- Reverse confirmations on recent transactions for as long as the attacker keeps control.
- Stop some or all transactions from getting confirmations.
- Stop other miners from producing valid blocks, so the attacker collects the block rewards.
What the attacker cannot do
- Spend coins that never belonged to them. Spending needs a private key signature, and hash power cannot forge one.
- Create coins out of thin air or change the number of coins issued per block.
- Reverse other people’s transactions without their cooperation, apart from coins that share a history with a reversed double spend.
- Stop transactions from being sent at all. They would sit unconfirmed instead.
Full nodes enforce these rules no matter how much hash power the attacker holds. A block that pays the miner too many coins, or spends an output without a valid signature, is rejected by every honest node and never becomes part of the chain they follow. If you hold your own keys, an attack on mining cannot move your balance.
A note on light wallets
Those limits describe Bitcoin as seen by full nodes. Lightweight wallets lean on servers for some of their checks, so they trust the network a bit more than a full node does. That is one more reason serious holders pair a hardware wallet with their own node, a setup covered further down.
Why the Attack Is So Expensive
Control of 51% of the hash rate means owning or renting more mining hardware than all the other miners together. Bitcoin mining runs on specialized ASIC machines that cost real money and draw serious power, and the combined network has spent years scaling up. If you want the background on how that industry works and why Canada has become a notable mining location, our guide to Bitcoin mining in Canada covers the machines, the power costs and the pools.
There are three practical barriers, and an attacker has to clear all of them.
Hardware is hard to get
Enough ASICs to beat the network are not sitting on a shelf, buying that many would be hard to hide, and the machines are useless for anything except mining. Renting hash power is what made attacks on small coins affordable. A rental market large enough to overpower Bitcoin’s network is not something anyone has shown to exist.
The attack destroys what it targets
An attacker with a majority of the hash rate earns more by mining honestly than by cheating. Honest mining pays block rewards and fees steadily. A visible attack would likely hammer the price of Bitcoin, and the attacker’s own hardware and any BTC they hold would lose value in the same moment. Whatever they gained from a double spend would have to outweigh that damage.
Pools are not owners
Mining pools bundle the hash power of thousands of independent machine owners. A pool that briefly looks large on a chart does not own that hardware. If a pool operator tried to attack, the miners behind it could leave in minutes, and pools have publicly pledged to stay under the halfway line when they got close to it in the past. Pool concentration is still a fair topic to watch and argue about, but it is a different thing from one party owning the majority.
Confirmations and Your Odds
Even an attacker who holds less than half the hash rate has some chance of winning a short race, and that chance shrinks quickly as more blocks pile on top of your payment. The whitepaper models the race as a Gambler’s Ruin problem and shows the probability of an attacker catching up falling exponentially with each block. The Bitcoin Wiki gives concrete figures: an attacker with 10% of the hash rate against a merchant who waits six confirmations has a success chance on the order of 0.1%, while an attacker holding 40% faces roughly even odds of overturning a six-deep payment.
Those two numbers explain why exchanges, merchants and ATM operators wait for confirmations before they treat a payment as final. Each confirmation is another block an attacker would have to out-mine in secret. Our explainer on Bitcoin transaction confirmations in Canada walks through what one, three and six confirmations mean in practice and how long each takes.
What to do with the confirmation count
- For small purchases, one or two confirmations is the usual trade-off between speed and risk.
- For large payments, wait for more blocks. The cost of an attack has to be compared against what the payment is worth.
- Treat an unconfirmed transaction as a promise, not a settled payment.
A majority attacker is the extreme case. With more than half the hash rate the success probability reaches 100%, and no amount of waiting stops it. Waiting still raises the resource cost of the attack and gives the network time to react, which is why confirmation counts are the first line of defense, and not a perfect one.
Where the Real Risk to Your Bitcoin Sits
For a typical Canadian holder, losing Bitcoin to a majority attack is a remote concern. Losing it to a phishing page, a fake support agent or a leaked seed phrase is not. People get hurt where the humans are, and the protocol has held up well in the meantime.
Protect the keys, not the chain
- Keep your seed phrase offline. Anyone who has it controls your coins, and no support team ever needs it.
- Use a hardware wallet for savings. Our guide to a Bitcoin hardware wallet in Canada compares signing devices and shows how to set one up safely.
- Double-check every address before sending, and be skeptical of anyone who creates urgency or promises guaranteed returns.
- Never send Bitcoin to a stranger who says it will unlock a refund, a prize or a government payment.
Buying with cash on your own terms
If you prefer to buy with cash and take your coins straight to your own wallet, you can find a machine near you on our Bitcoiniacs ATM locations page. Scan your own wallet’s QR code and check the address on the screen before you confirm. Cash purchases do not remove every risk, but they do take the exchange account and its custody out of the picture.
Frequently Asked Questions
Is Bitcoin vulnerable to a 51% attack, and is such an attack plausible?
In theory, yes: any proof-of-work network can be attacked by someone with a majority of its hash rate. In practice, no one has done it to Bitcoin. The attacker would need more mining hardware than every other miner combined, and the attack would likely wreck the value of the coins they were trying to steal. Plausible for tiny coins, very unlikely for Bitcoin.
How did Bitcoin prevent a 51% attack when it first launched?
It mostly did not need to. In the early years the network was small and a majority attack would have been technically easier, but almost nobody had the incentive or the computing power, and early transactions carried little value. As more miners joined, the cost of attacking climbed, and each new block made the old ones harder to rewrite.
If a 51% attack works, can the attacker steal other people’s coins?
No. The attacker can reverse their own recent payments and block others from confirming, but they cannot sign for coins they do not own. Anyone holding Bitcoin in a wallet they control keeps access to it even if a reorganization occurs. Funds at risk are payments that were accepted too early, such as a merchant who shipped goods after zero or one confirmation.
Would hacking the Bitcoin network be illegal in Canada?
Almost certainly. The Criminal Code’s mischief provisions in section 430 cover wilfully altering computer data or interfering with its lawful use, and a deliberate double spend that defrauds a merchant would raise fraud concerns as well. This is general information, not legal advice, and an actual case would depend on the facts and the jurisdiction.
The short version is that Bitcoin’s mining network is a bigger target for headlines than for attackers. Keep your keys safe, wait for confirmations on large payments, and spend your worry on scams, which are where people actually lose money.
