Skip to content
Intermediate 12 min read 2026-04-09

Crypto Taxes: What You Need to Know

A practical guide to understanding your cryptocurrency tax obligations, taxable events, and record-keeping requirements.

#taxes #regulation #capital-gains #tax-reporting #compliance

Crypto Taxes: What You Need to Know

Many cryptocurrency users are surprised to learn that nearly every crypto transaction can trigger a tax obligation. Buying crypto with fiat is generally not taxable, but selling, trading, spending, earning, staking rewards, and even some DeFi interactions may be. Tax authorities worldwide are increasing enforcement, and the days of flying under the radar with unreported crypto gains are ending.

This guide covers the most common taxable events, how gains are calculated, record-keeping requirements, and practical strategies for staying compliant.

The Basic Principle

In most jurisdictions, cryptocurrency is treated as property, not currency, for tax purposes. This means the same rules that apply to selling stocks, real estate, or other assets apply to selling crypto. When you dispose of an asset for more than you paid for it, you have a capital gain. When you dispose of it for less, you have a capital loss.

The critical word is “dispose.” A disposition is not limited to selling for fiat currency. It includes any event where you give up ownership of a crypto asset.

Taxable Events

Selling Crypto for Fiat

The most obvious taxable event. If you bought 1 BTC at $30,000 and sold it at $60,000, you have a $30,000 capital gain. If you sold it at $25,000, you have a $5,000 capital loss.

Trading One Crypto for Another

Swapping ETH for SOL is a taxable event in most jurisdictions. It is treated as selling ETH (triggering a gain or loss) and buying SOL. This catches many people off guard — no fiat was involved, but a tax obligation was created.

Spending Crypto on Goods or Services

Using Bitcoin to buy a coffee is technically a disposition. If your BTC was worth more at the time of spending than when you acquired it, you owe tax on the gain. This is why crypto as a payment method creates a bookkeeping headache.

Earning Crypto as Income

If you receive crypto as payment for work, as a bonus, or through airdrops, it is typically taxed as ordinary income at the fair market value on the day you received it. This establishes your cost basis for future capital gains calculations.

Mining and Staking Rewards

Newly minted coins from mining or staking are generally treated as income at their fair market value when received. When you later sell or trade those rewards, you may owe additional capital gains tax on any appreciation since you received them.

DeFi Activities

DeFi introduces complex tax scenarios:

  • Providing liquidity: Adding tokens to a liquidity pool may or may not be a taxable event depending on your jurisdiction. Receiving LP tokens in return adds complexity.
  • Yield farming rewards: Token rewards from yield farming are typically taxable income when received.
  • Borrowing: Taking a collateralized loan (e.g., depositing ETH and borrowing USDC on Aave) is generally not a taxable event because you have not disposed of the collateral. However, liquidation of that collateral is a taxable event.
  • Token swaps through DEXs: Treated the same as any crypto-to-crypto trade.

NFTs

Buying, selling, and trading NFTs follows the same rules as other crypto assets. Creating and selling an NFT you made is typically treated as business or self-employment income.

Generally Non-Taxable Events

  • Buying crypto with fiat currency (this establishes your cost basis)
  • Transferring crypto between your own wallets (no change of ownership)
  • Holding crypto without selling (“unrealized gains” are not taxable)
  • Donating crypto to a qualified charity (may even provide a tax deduction in some jurisdictions)

How Capital Gains Are Calculated

Cost Basis

Your cost basis is what you paid for the asset, including any fees. If you bought 1 ETH for $3,000 and paid a $10 exchange fee, your cost basis is $3,010.

Capital Gain or Loss

Capital Gain = Sale Price - Cost Basis - Selling Fees

If you sold that ETH for $4,000 and paid $15 in fees:

Gain = $4,000 - $3,010 - $15 = $975

Short-Term vs. Long-Term

In many countries (notably the US), the tax rate depends on how long you held the asset:

  • Short-term gains (held less than one year) are taxed as ordinary income, which means your regular income tax rate. This can be as high as 37% in the US.
  • Long-term gains (held more than one year) benefit from reduced rates, typically 0%, 15%, or 20% in the US depending on your total income.

This distinction creates a strong incentive to hold assets for at least one year before selling, a strategy called “tax-loss optimizing” or simply being mindful of holding periods.

Cost Basis Methods

When you have bought the same cryptocurrency at different prices over time, you need a method to determine which units you are selling:

  • FIFO (First In, First Out): Assumes you sell the oldest units first. This is the default in most jurisdictions and often results in higher gains during rising markets (because older units have a lower cost basis).
  • LIFO (Last In, First Out): Assumes you sell the newest units first. Can reduce short-term taxable gains if recent purchases were at higher prices. Note: LIFO is not accepted in all jurisdictions.
  • Specific identification: You choose exactly which units to sell. Offers the most control but requires meticulous record-keeping.
  • Average Cost Basis (ACB): Uses the weighted average purchase price across all units. Common in Canada, the EU, and some other jurisdictions.

Choose a method and apply it consistently. Switching methods mid-year or between tax filings can create problems with tax authorities.

Tax-Loss Harvesting

When you hold crypto that has declined below your cost basis, you can sell it to realize a capital loss. This loss can offset capital gains from other trades, reducing your overall tax bill.

For example, if you have $10,000 in realized gains from selling Bitcoin and $4,000 in realized losses from selling a declining altcoin, your net taxable gain is $6,000.

In some jurisdictions (like the US), if your capital losses exceed your gains, you can deduct up to $3,000 of the excess against ordinary income and carry the remaining losses forward to future tax years.

Important: some countries have “wash sale” rules that prevent you from selling at a loss and immediately rebuying the same asset. As of 2026, the US has extended wash sale rules to include digital assets, meaning you must wait at least 30 days before repurchasing a crypto asset you sold at a loss. Check the rules in your specific jurisdiction.

Record-Keeping Requirements

Good records are the foundation of tax compliance. For every crypto transaction, you should record:

  • The date and time of the transaction
  • The type of transaction (buy, sell, trade, receive, send)
  • The amount of cryptocurrency involved
  • The fair market value in your local currency at the time of the transaction
  • Any fees paid
  • The counterparty (exchange, wallet address, DeFi protocol)
  • For dispositions: which specific units were sold (if using specific identification)

Tools for Record-Keeping

Manually tracking hundreds of transactions is impractical. Several tools can help:

  • Exchange export tools: Most exchanges provide CSV downloads of your transaction history
  • Crypto tax software: Services like CoinTracker, Koinly, TokenTax, and CryptoTaxCalculator import data from exchanges and wallets, calculate gains, and generate tax reports
  • On-chain data: For DeFi transactions, tools that read your wallet address and decode smart contract interactions are particularly valuable

Start tracking from your very first transaction. Reconstructing years of history after the fact is time-consuming and error-prone.

Common Mistakes

  • Not reporting at all. Tax authorities are increasing enforcement. Exchanges report data to governments. On-chain analysis firms help authorities trace unreported activity. The risk of non-compliance is growing.
  • Forgetting crypto-to-crypto trades. Every swap is a taxable event. A portfolio of 50 altcoin trades creates 50 taxable events, regardless of whether any fiat was involved.
  • Ignoring small transactions. Buying coffee with Bitcoin, receiving a $50 airdrop, earning $10 in staking rewards — they are all taxable. Individually small, but they add up and omitting them creates risk.
  • Using the wrong cost basis method. Apply a consistent method that is accepted in your jurisdiction. LIFO is not valid everywhere. Switching methods without justification raises flags.
  • Not accounting for fees. Transaction fees, gas fees, and exchange fees are part of your cost basis (on purchases) or reduce your proceeds (on sales). They reduce your taxable gain, so track them carefully.

When to Consult a Professional

Consider working with a tax professional if:

  • You have significant crypto gains or complex DeFi activity
  • You have transactions across multiple countries or jurisdictions
  • You are involved in mining, staking, or running a crypto-related business
  • You have not reported crypto in previous years and need to correct the situation
  • You received a notice from a tax authority regarding crypto activity

The cost of professional advice is almost always less than the cost of penalties, interest, and audits from incorrect or missing tax filings.

Summary

Cryptocurrency is taxed as property in most jurisdictions, which means selling, trading, spending, and earning crypto all create potential tax obligations. Capital gains calculations require knowing your cost basis, holding period, and disposal method. Good record-keeping from day one is essential and far easier than reconstructing history later. Tax-loss harvesting can reduce your bill, but be aware of wash sale rules. When in doubt, use crypto tax software for calculations and consult a professional for complex situations. Compliance may not be exciting, but it protects you from penalties and allows you to participate in the crypto economy with confidence.

Start Trading

We may earn a commission when you sign up through our referral links.