Crypto taxes: when you owe them and how to keep records

Free crypto course
Level 8: Regulation and TaxesLesson 8.2 · 50 of 6910 min read

A lot of people only start thinking about crypto taxes when a letter from the tax office shows up. In this lesson we'll cover which transactions count as a taxable event in most countries, how to calculate the gain on a trade, how different countries approach it, and how to keep records so that doing your tax return doesn't turn into an archaeological dig. This is an overview of the principles, not tax advice: every country has its own rules, and they change regularly.

Key takeaways
  • Tax usually kicks in not when you buy, but when you sell, swap or receive crypto as income.
  • Your gain is the difference between the sale price and the purchase price, taking fees into account.
  • Exchanges increasingly share customer data with tax authorities, so hiding transactions is getting harder.
  • Rules depend on the country and keep changing, so check the current law or talk to a tax advisor.

Why crypto stopped being a gray zone long ago

Not so long ago, plenty of people believed crypto transactions went unnoticed. That was never true: the blockchain is open to everyone, and exchanges hold data on their verified customers. Now governments are agreeing to get this information automatically.

In the EU, the DAC8 directive has been in force since January 1, 2026: crypto service providers collect information on their customers' transactions and report it to tax authorities. The OECD has developed a similar data-sharing framework, CARF, which many countries outside the EU have signed up to. In the US, starting with 2025 transactions, brokers issue a new form, 1099-DA, to their customers and the IRS.

The practical takeaway: keep records of your trades even if you're not yet sure whether you owe any tax. When the question comes up, you'll have the numbers you need for the calculation at hand, not just the statement the exchange has already sent to the government.

Term · Taxable event

A transaction after which you may have to pay tax or report income. In most countries, simply buying crypto with regular money doesn't count as a taxable event.

Which transactions are usually taxed

Most countries follow a similar logic: when you lock in a gain or receive something of new value, tax kicks in. Holding the bitcoin you bought? No income yet. Sold it for more than you paid? Now you have a gain, and tax may be due on it.

Swapping one coin for another, however, catches a lot of people off guard. In the US, Germany or the UK, for example, swapping ETH for SOL counts as selling your ETH at market price, even if you haven't cashed out a single dollar to your card. Moving funds between your own wallets usually isn't taxed, but you need to be able to prove they're yours.

Futures and leverage make things even more complicated. In some places, gains from derivatives are taxed the same way as selling coins; in others, they have their own rules and limits on offsetting losses. If you trade futures actively, sort this out before the year starts, not after.

  • Selling crypto for regular money.
  • Swapping one cryptocurrency for another, in many countries.
  • Paying for goods and services with crypto.
  • Salaries, fees and payment for work in crypto.
  • Rewards from staking, mining and token airdrops; how they're treated depends on the country.
  • Gains from trading derivatives, such as futures.

How your gain is calculated

The formula is simple: take the sale proceeds and subtract the purchase cost (also called the cost basis) and any fees you're allowed to deduct. If the result is positive, that's your gain; if it's negative, it's a loss, which some countries let you offset against gains.

Things get tricky when you've bought the same coin several times at different prices: which batch did you actually sell? Some countries require the FIFO method, where the earliest purchases are treated as sold first; others use the average price; still others let you pick a specific batch. The method can make a big difference to how much tax you owe.

Income you receive in crypto is handled separately. Staking rewards or a salary paid in USDT are usually valued at the market price at the moment you receive them. That price becomes your cost basis, and when you sell later, your gain is calculated from it.

Example · An example with two purchases

You bought 1 ETH for $2,000, then another for $3,000, and later sold 1 ETH for $3,500. Under FIFO, the first purchase is the one sold, and your gain is $1,500. Using the average price, the cost basis is $2,500 and the gain is $1,000. Fees will reduce both amounts.

How it works in different countries

There are no universal rules, and even within one country they change from year to year. The table below shows how several jurisdictions handled it at the time this lesson was written. Use it as a reference point, not as a basis for your tax return: before filing, check the current law on your tax authority's website.

It's not just your citizenship that matters but also your tax residency. If you live in one country and use an exchange based in another, you'll usually have to pay tax in the country where you're a resident. For how different countries treat crypto in general, see the lesson on crypto regulation by country.

Country General approach What to keep in mind
US Crypto is property, and gains are subject to capital gains tax The rate depends on whether you held the asset for more than a year; staking rewards are taxed as income
Germany Private sales are subject to income tax Gains from a sale are tax-free after holding for more than a year; there's an annual threshold of €1,000
UK Capital gains tax on selling and swapping Swapping crypto for crypto also counts as a sale
Russia Since 2025, digital currency has been treated as property for tax purposes Income from transactions is subject to personal income tax, with separate rules for mining
EU countries Each country has its own rules Since 2026, crypto service providers report customer data under DAC8

Important · No legal guarantees

This lesson covers general principles. Rates, deadlines, exemptions and reporting forms change, and a mistake on your tax return can lead to penalties. If significant amounts are involved, go through your situation with a tax advisor.

How to keep records so tax season doesn't hurt

When you're doing your tax return, the hard part isn't the math itself but gathering the data. Your trades are scattered across several wallets and exchanges, some platforms no longer exist, and transfers between your own addresses don't add up. If you keep records throughout the year, you'll avoid most of these headaches.

A regular spreadsheet works fine for record-keeping, and so do services like Koinly and CoinTracking, which import your history from exchanges and calculate gains using the method you choose. Only connect them with read-only API keys. We covered how to set up the trade journal itself in the lesson on how to build and manage a crypto portfolio.

If you use several wallets and exchanges, put together a simple map: which addresses are yours, where you have accounts, and when you last exported your history. Without records, you won't be able to piece it all together a couple of years from now, and the tax authority has the right to request data for past years too.

  1. Once a quarter, export your trade and transfer history from every exchange.
  2. Save your wallet addresses and mark transfers between them.
  3. Record the market price at the moment you receive rewards, salary and airdrops.
  4. Store your exports outside the exchange: a platform can shut down or delete old data.
  5. Before filing your return, reconcile your totals with the data the exchange may have sent to the tax authority.

Tip · Record your losses too

In many countries, a loss on a sale can be offset against gains to reduce your tax, but you need to be able to prove it. So record your losing trades just as carefully as your winning ones.

Common mistakes on crypto tax returns

The first mistake is thinking tax only applies when you cash out to your card. Picture a trader who swaps coins all year and never takes any money out of crypto. In a country where swaps count as sales, they've already racked up dozens of taxable events. If the market crashes before the year ends, it gets ugly: tax is owed on past gains, and there's nothing left to pay it with.

The second mistake is forgetting about small income. Staking income, exchange bonuses, token airdrops and crypto cashback don't amount to much on their own, but over a year they add up. The third is not recording fees: they reduce your taxable gain, and without records you won't be able to reconstruct them later.

There are often legal ways to lower your tax: the holding period, offsetting losses, deductions and special regimes. What's available and where is covered in the lesson on tax breaks for crypto investors. Sham trades and hiding income, on the other hand, aren't legal ways to do it and usually end in penalties.

Lesson task

Set up a record-keeping spreadsheet with the columns date, transaction, coin, amount, price and fee, and enter the example from this lesson: buy 1 ETH for $2,000, buy another 1 ETH for $3,000, sell 1 ETH for $3,500, with a $5 fee on each transaction. Calculate the gain using FIFO and the average price: you should get $1,490 and $990. Then check your country's tax authority website to find out which of these methods applies where you live.

Learn and earnFree tournaments every day — your way to USDT prizes

Entry is free and you trade on a demo account, so you need no money of your own. Free tournaments pay out Tour Passes, and those get you into tournaments with USDT prizes. The best go further — to a $5,000 funded account.

FAQ

Do I have to pay tax if I bought crypto and haven't sold it?

In most countries, simply buying and holding isn't taxed: tax kicks in when you sell, swap or receive income. But some jurisdictions require you to declare foreign accounts and assets, so check your country's rules.

Is swapping one cryptocurrency for another taxable?

In many countries, yes: a swap counts as selling the first coin at market price. But other approaches exist, so check your country's rules for the specific year.

What happens if you don't pay taxes on crypto?

The consequences depend on the country, ranging from back taxes, interest and fines to criminal liability for serious violations. And with exchanges and tax authorities sharing data, the chances that your transactions go unnoticed keep shrinking.

How do you prove your purchase cost if the exchange has shut down?

Saved exports, email confirmations, bank statements showing deposits and blockchain records can all help. That's why you should export your trade history regularly, not just before filing your return.

Discussion

Comments from BuyCrypt Live. Sign in with Google or Apple — we create your BuyCrypt account on the way, the same one as in the app.