How Crypto Taxes Generally Work: Concepts to Understand
Crypto tax basics in plain English: taxable events, cost basis, gains vs income, record keeping and common mistakes, with notes on how rules vary by country.
In most countries, crypto is taxed when you dispose of it or receive it as income: selling, swapping or spending crypto can create a capital gain or loss, while earnings such as wages, mining or some rewards are often taxed as income. Simply buying and holding is usually not taxable on its own. The exact rules, rates and reporting requirements differ by country and change over time.
Many new investors only discover these rules at tax time, after hundreds of trades they never recorded. Understanding the core concepts early makes record keeping easier and helps you avoid surprises. This guide explains those common concepts; it cannot tell you what applies in your country, so use it alongside official guidance or a qualified professional.
How Tax Authorities Usually Classify Crypto
Most tax systems do not treat crypto as foreign currency. Instead, they typically classify it as property, a capital asset or a special category of asset. In the United States, for example, the IRS has treated virtual currency as property since guidance issued in 2014. Many other countries take a similar approach for individual investors. We cover this in more detail in DAC8 Explained.
This classification matters because it determines which rules apply. Property treatment usually means capital gains rules on disposal, while some countries tax frequent trading as business income. A few countries offer exemptions for long-held assets or small amounts, and some have no capital gains tax at all. Because of this variety, the first step is always to find your own tax authority's crypto guidance. If you want to go further, read The OECD Crypto-Asset Reporting Framework (CARF) Explained.
Common Taxable Events
The table below shows how many tax systems commonly treat typical activities. Treat it as a map of concepts, not a rule book for your country.
| Activity | Common treatment | Notes |
|---|---|---|
| Buying crypto with fiat | Usually not taxable | Record the cost basis |
| Selling crypto for fiat | Capital gain or loss | Based on value received minus basis |
| Swapping crypto for crypto | Often a disposal | Gain or loss even without cash |
| Spending crypto on goods | Often a disposal | Same as selling at market value |
| Receiving crypto as salary | Income | Value when received becomes basis |
| Mining or validator rewards | Often income | Treatment varies by country |
| Staking or lending rewards | Varies widely | Some tax at receipt, some at sale |
| Airdrops and forks | Varies widely | Rules differ and are still evolving |
| Moving between your own wallets | Usually not taxable | Keep records to prove ownership |
| Gifts and donations | Varies | Special rules often apply |
Key Concepts Explained
Cost basis
Cost basis is what you paid to acquire an asset, generally including transaction fees. When you dispose of it, your gain or loss is usually the proceeds minus the cost basis. If you bought ETH in several purchases at different prices, you need a method to decide which units you sold.
Cost basis methods
Countries prescribe or allow different methods for matching sales to purchases. Common ones include first in, first out (FIFO), specific identification, and average cost or pooling. Some countries require one method, while others let you choose within rules. Using the wrong method can change your taxable gain significantly.
Holding period
Some tax systems tax assets held longer at lower rates, or exempt them after a set holding period. Others make no distinction. Tracking the acquisition date of each purchase lets you apply any holding-period rules correctly.
Fair market value
When crypto is received as income, or swapped for another crypto, you usually need its value in your local currency at that moment. Reliable historical price data helps here; our historical price data pages can serve as a reference, though your tax authority may specify acceptable sources.
DeFi, Staking and Other Gray Areas
Decentralized finance creates situations tax rules were not written for. Providing liquidity, wrapping tokens, receiving liquidity pool tokens, borrowing against collateral and bridging between chains may or may not be treated as disposals, depending on the country.
Staking and lending rewards are another gray area. Some authorities tax them as income when received, while others tax them only when sold. If you use DeFi heavily, expect more complex records and consider professional help. Our guide to staking vs lending explains the mechanics behind these rewards.
Record Keeping: What to Save
Good records are the foundation of accurate tax reporting. For every transaction, aim to keep:
- 1The date and time.
- 2The type of transaction (buy, sell, swap, transfer, reward, payment).
- 3The asset and amount.
- 4The value in your local currency at the time.
- 5Fees paid.
- 6Wallet addresses, exchange names and transaction hashes.
Download exchange statements regularly, since exchanges can close or lose data. Our guides on record-keeping obligations for crypto holders and how to keep records of crypto transactions for taxes go into more detail. Related reading: How to Export Your Transaction History From an Exchange.
Common Mistakes to Avoid
- Assuming crypto-to-crypto swaps are tax-free. In many countries they are not.
- Ignoring small transactions. Many small trades and payments can add up to meaningful gains.
- Forgetting fees. Fees often adjust your cost basis or proceeds, reducing your taxable gain.
- Losing records when an exchange shuts down. Keep your own copies.
- Double counting transfers. Moving coins between your own wallets is usually not a sale, but tax software may mislabel it if records are incomplete.
- Relying on social media tax tips. Advice that is correct in one country can be wrong in another.
Where to Get Reliable Information
Rules differ by country and change regularly as authorities issue new guidance and international reporting standards develop. The most reliable sources are your national tax authority's website and a qualified tax professional who understands crypto. Crypto tax software can help organize data, but you remain responsible for checking that its classifications match your local rules.
For a broader view of how governments approach crypto, see is crypto legal and other articles in our regulation category.
Bottom line
Crypto taxes usually hinge on two questions: did you dispose of an asset, and did you receive crypto as income? Swaps, sales and spending are often taxable disposals, while wages and some rewards are often income. Keep complete records from day one, learn your country's specific rules from official sources, and get professional help if your activity is complex.
Frequently asked questions
Is swapping one crypto for another taxable?
In many countries, yes. Tax authorities often treat a crypto-to-crypto swap as disposing of the first asset at its market value, which can create a gain or loss even though you never received cash. Rules differ between countries, so check your tax authority's guidance or ask a qualified tax professional.
Do I pay tax if I just buy and hold crypto?
In most countries, simply buying crypto with your own money and holding it is not a taxable event. Tax usually arises when you sell, swap, spend or otherwise dispose of it, or when you receive crypto as income, such as wages, mining or certain rewards.
What is cost basis in crypto?
Cost basis is what you paid to acquire an asset, usually including fees. When you dispose of the asset, your gain or loss is generally the value you received minus the cost basis. Keeping accurate records of every purchase is essential, because without them it can be hard to prove your basis.
Are crypto losses useful for taxes?
In many tax systems, realized losses can offset realized gains, and sometimes other income within limits. Whether and how losses can be used, including any rules about buying the same asset back shortly afterward, depends on your country. A local tax professional can explain what applies to you.
