Topic · Bitcoin from zero · Lesson 2

How a Bitcoin transaction works, step by step

By · Updated

In short

When you send bitcoin, your wallet signs a message with your private key saying which coins move and to which address. The message is broadcast to the network and waits in a queue, the mempool, until a miner includes it in a block. A new block is added on average every ten minutes, and miners pick first the transactions that pay the highest fee per unit of size. Once your transaction is in a block it has one confirmation; each new block on top adds another, and after a few the payment is, in practice, irreversible.

Next, lesson 3 of 6: Wallets, keys and the seed phrase. Go to the next lesson

This page is part of Bitcoin from zero, a free course in six short lessons. See all the lessons

Key facts

Who approves it
No one: your signature proves the coins are yours, and thousands of computers check it
Average time between blocks
About 10 minutes
Fee
Set by you or your wallet; miners prefer higher fees per unit of size, not per amount sent
Final when
Each new block adds a confirmation; six (about an hour) is the traditional rule of thumb for large amounts
Can it be cancelled?
Not once confirmed. There is no bank to call

How much has inflation eaten from your savings, and how would the same money have done in bitcoin? The free calculator shows the history, with no advice. Open the savings calculator

Bitcoin from zero · Lesson 2

1. You sign

A Bitcoin address is like an account number you can share. Behind it is a private key that only you should hold. To send coins, your wallet writes a message (these coins, to this address, with this fee) and signs it with your private key. Anyone can check the signature with the public information, but no one can forge it without the key.

2. It waits in the mempool

The signed transaction is passed from computer to computer across the network in seconds. Each one checks it and keeps it in a waiting area called the mempool. Public sites such as mempool.space show this queue live, with the fees people are paying at that moment.

3. A miner puts it in a block

Miners gather waiting transactions into a block and compete to add it to the chain, which costs real electricity. The rules adjust the difficulty so that a block is found on average every ten minutes. Space in each block is limited, so when the queue is long the transactions paying a higher fee per unit of size go first. The fee depends on the size of the transaction in data, not on how much money it sends.

4. Confirmations make it final

When your transaction is in a block it has one confirmation. Every block added after it is another confirmation, and rewriting the history would mean redoing all that work faster than the rest of the network. For a coffee, one confirmation or even none may be enough; for large amounts, six confirmations, about an hour, is the traditional rule of thumb. Once confirmed, a transaction cannot be reversed by anyone: if you send to the wrong address, the coins are gone. That is why the next lessons are about keys and safety.

Borja’s view

Why Bitcoin Had to Exist explains why this design matters: a payment that needs no bank’s approval and that no one can reverse is exactly what ordinary money cannot offer. Borja’s book tells the story of money first, so that the mechanics in this lesson make sense.

Questions

How long does a Bitcoin transaction take?

It reaches the network in seconds. The first confirmation comes with the next block, on average about ten minutes, longer if the fee is low and the queue is long.

Why are Bitcoin fees sometimes high?

Block space is limited. When many people want to transact at once, they bid with higher fees per unit of size and the cheaper ones wait.

Does the fee depend on the amount I send?

No. It depends on the size of the transaction in data and on how busy the network is.

Can I cancel a Bitcoin transaction?

Once confirmed, no. Some wallets can replace an unconfirmed transaction with one paying a higher fee, but a confirmed one is final.

How many confirmations are enough?

It depends on the amount. Small payments are often accepted with one; six, about an hour, is the traditional rule of thumb for large amounts.

Sources

  1. Satoshi Nakamoto, Bitcoin: A Peer-to-Peer Electronic Cash System (2008)
  2. Bitcoin Developer Documentation, Transactions
  3. Bitcoin Developer Documentation, Block Chain
  4. Bitcoin Wiki, Confirmation
  5. Learn Me A Bitcoin, Transaction fees

Updated:

Free tools

Calculators built on the official rules, with their sources. Free, no sign-up.

See all free tools →

More books

Guides

Bitcoin from zero: a free course in six short lessonsA free course in six short lessons: what Bitcoin is, transactions, wallets, safety, scams and tax in Spain.What is Bitcoin, and why does it exist?What it is, who made it, and why a money with fixed rules had to exist.What are stablecoins, and why do they matter?Digital dollars: how they hold their value, why they matter and the rules arriving.Money and pay: why money loses value and how pay is changingInflation, total rewards, pay transparency and what digital money changes for HR.Web3 and the business of sportFan tokens, crypto sponsorship and prediction markets: how money is changing sport.Can you be paid your salary in crypto or stablecoins?Can your salary be paid in crypto or stablecoins? The rules in the UAE and Spain.The best books to understand Bitcoin, for beginnersThe best books to understand Bitcoin, from first steps to the technical detail.The best books on stablecoinsThe best books and reports to understand stablecoins, from inclusion to regulation.Which banks are launching stablecoins, and what does it mean for you?Qivalis, Santander, BBVA, CaixaBank: which banks are launching stablecoins, and what it means for customers.Books on Web3 and sport: what to read firstThe few books worth reading on Web3, fan tokens and the business of sport, and what each one is for.Stablecoins in the UAE: what is allowed, who issues them and what it means for youWhat the UAE allows, who regulates it, and the first dirham stablecoins: AE Coin, DDSC and RAKBank.Open lists in Spain: how Spaniards vote today, and what would changeHow Spaniards vote for Congress and the Senate today, and what open lists would change.How does the D’Hondt method work? Spain’s seat formula, step by stepHow Spain turns votes into seats, with a worked example, and why the province matters more than the formula.How to vote from abroad in Spain’s 29 November 2026 electionHow Spaniards living abroad vote on 29 November 2026: the consulate urn, postal vote and deadlines.How many votes does a seat cost in Spain? Province by province, 29 November 2026How many voters stand behind each seat in Congress, province by province, for 29 November 2026.Postal vote for 29 November 2026: request it by 19 NovemberHow to vote by post from Spain on 29 November 2026: request by 19 November, send by 25 November.Polling station duty on 29 November 2026: pay, hours and time offCalled to sit on a polling station on 29 November 2026? Pay, hours, time off work and what to do if you cannot go.Can stablecoins make sending money home cheaper?Do stablecoins make sending money home cheaper? What the World Bank and IMF data show.How pay works in the UAE: basic salary, allowances and gratuityBasic salary, allowances, gratuity, no income tax: what a UAE pay package really means.Paying employees in stablecoins: what employers need to know in the UAE and SpainWhat employers in the UAE and Spain can and cannot do when they pay staff in stablecoins.Take-home pay index 2026: how much of your salary you keep in nine countriesHow much of a $40,000 to $250,000 salary you keep in nine countries, under 2026 rules.Spain vs Dubai salary 2026: what you keep, and the Spanish salary that matches DubaiWhat the same salary leaves in Spain and in Dubai, and the Spanish salary that matches a Dubai one.How AI is changing the job market: what the major reports sayWhat the WEF, IMF, ILO, Stanford and PwC data say about AI, jobs and pay.Will Bitcoin be the money of AI agents? How machines pay, and what is still missingAI agents are starting to pay for things. Cards, stablecoins and Bitcoin compared as money for machines.Why does Bitcoin go up and down so much?Fixed supply, big funds, interest rates and leverage: why Bitcoin’s price swings so much.What is a Bitcoin wallet? Keys, seed phrase and custodyA wallet does not hold coins: it holds keys. What the seed phrase is, and custody by an exchange versus your own.How to keep bitcoin safe: six habits for beginnersSix habits that protect bitcoin: the seed phrase on paper, never online, small tests, updates and a plan for your family.Bitcoin scams: the most common ones and how to spot themThe most common bitcoin scams, what they have in common, and how to check a platform before you send money.How bitcoin is taxed in Spain in 2026When bitcoin is taxed in Spain, the 19% to 30% scale, crypto-to-crypto swaps, FIFO and the Modelo 721.Token compensation explained: grants, vesting, lockups and taxHow token grants, vesting, cliffs and lockups work, how they differ from shares, and when they are taxed.Jobs in stablecoins and digital money: the roles, the skills and the talentThe roles stablecoins and tokenisation create in banks, issuers and corporates, the skills they need and where the talent comes from.Paid in a dollar stablecoin: who carries the exchange-rate risk?If part of the pay is a dollar stablecoin, who carries the exchange-rate risk: the employer or the employee? Four designs, with examples.Financial literacy at work: why digital money makes it HR’s jobOnly a third of adults reach the OECD’s minimum level of financial literacy. Why digital money makes it an HR question, and what a basic programme covers.
Portrait of Borja Burguillos

Borja Burguillos

Borja writes for people who want to understand money and incentives without the jargon. Born in Madrid and based in Dubai since 2012, he has advised companies on people and pay, built tech startups, and co-chairs the People & Organisation Committee at the Middle East Stablecoin Association.

WorldatWork Total Rewards and CAIA certified, CFA Investment Foundations, executive programmes at Wharton and IE Business School.