تخطَّ إلى المحتوى الرئيسي

Double-Spending

Beginner

الإنفاق المزدوج

Also known as: Double Spending, Double-Spend

Cryptocurrencies
Last updated

Definition reviewed before publishing

Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.

Last updated on 25 November 2026

Double-spending is an attempt to use the same digital units in more than one transaction, such as one person paying the same coins to two different merchants. It is a core problem for any digital money, because digital files are easy to copy, unlike physical banknotes.

Quick summary

• Spending the same digital units more than once. • Prevented by blockchains and consensus without an intermediary. • Security grows with each confirmation, but a 51% attack can still enable it.

How it works

In traditional systems, a central party such as a bank prevents double-spending by keeping the ledger of balances and deducting the amount as soon as a payment is made. Bitcoin and similar cryptocurrencies solve the problem without an intermediary through a shared public ledger, the blockchain, which the network agrees on through a consensus mechanism such as proof of work. When two conflicting transactions try to spend the same units, the network accepts whichever enters a confirmed block first and rejects the other. Each new block added on top of the block containing the transaction makes it harder to alter, which is why merchants and exchanges wait for a number of confirmations before treating a payment as final. The risk remains if a single party controls most of the network's power, because it can rewrite recent blocks. This is known as a 51% attack, and smaller networks such as Ethereum Classic suffered such attacks in 2019 and 2020.

Example

A merchant requires 6 confirmations before handing over goods worth a hypothetical 1 bitcoin. With Bitcoin's average block time of 10 minutes, the merchant waits about 60 minutes (6 × 10). If the merchant accepted payment with no confirmation, the buyer could in theory send the same coins to another wallet with a higher fee so that it beats the merchant's transaction.

Where you will see it

In the Bitcoin white paper, in exchanges' policies on the number of confirmations required for deposits, and in network security reports on 51% attacks.

Why it matters

This problem is the reason cryptocurrencies needed blockchains and consensus mechanisms in the first place. Understanding it explains why exchanges make users wait for confirmations before deposited funds become available, and why small networks with little computing power are more exposed to attacks.

How it is calculated

There is no direct formula for double-spending, but approximate waiting time = required confirmations × average block time.

How it differs from similar terms

• 51% attack: a way to carry out double-spending by controlling more than half of a network's power. • Proof of work: the consensus mechanism that makes double-spending extremely costly, not the problem itself. • Counterfeiting: copying physical money, while double-spending concerns digital copying or reuse.

Common mistakes

Treating a transaction as final as soon as it appears in a wallet, before it is confirmed. An unconfirmed transaction can be replaced, and security increases with each additional confirmation.

Related terms