Crypto taxes are complicated but the fundamentals are learnable in an hour. This guide covers what you actually need to know for 2026: which events are taxable, how to calculate gains and losses, the specific complications DeFi introduces, tax-loss harvesting strategies that reduce your bill, and how to keep records that survive an audit. Nothing here is legal or tax advice — get a local professional for anything meaningful — but the concepts below prevent 80% of the mistakes casual crypto users make.
The general principle
In most developed jurisdictions, crypto is treated as property, not currency. This means every sale, trade, or spend creates a taxable capital gains event, similar to how selling stocks does.
Every taxable event has two components you need: the fair market value of what you received (usually in local fiat), and your cost basis in what you gave up. The difference is your gain or loss.
What is taxable and what is not
Typically TAXABLE:
- Selling crypto for fiat (BTC → USD).
- Swapping one crypto for another (ETH → BTC).
- Spending crypto on goods or services.
- Receiving crypto as income: mining rewards, staking rewards, DeFi yield, airdrops.
- Receiving crypto as payment for work.
- Some jurisdictions: unwrapping/wrapping tokens (WBTC → BTC).
Typically NOT TAXABLE:
- Buying crypto with fiat.
- Moving crypto between your own wallets.
- Holding crypto (no matter how much its value changes).
- Sending crypto as a gift (subject to gift tax rules over certain thresholds).
These rules vary by jurisdiction, but the pattern is nearly universal in developed markets.
Calculating gains and losses
The formula is straightforward for a single transaction:
Gain or loss = Sale price - Cost basis
Cost basis is what you originally paid for the crypto, including transaction fees.
Example 1: simple sale
You buy 1 BTC for $30,000 (including fees). Two years later you sell it for $60,000. Gain: $30,000. This is a long-term capital gain (>1 year hold) taxed at preferential rates.
Example 2: crypto-to-crypto swap
You buy 1 ETH for $2,000. Six months later, you swap it for 0.06 BTC when ETH is worth $3,000. This is a taxable event even though no fiat was involved. Gain: $1,000 (short-term). Your new BTC has a cost basis of $3,000 for future sale.
Example 3: partial sale
You buy 2 BTC at $30,000 each ($60,000 total). Later you sell 0.5 BTC for $40,000. Which purchase does the sold BTC come from? This is where accounting methods matter — FIFO (first in, first out), LIFO (last in, first out), or specific identification. Most jurisdictions default to FIFO but allow specific identification with proper records.
Short-term vs long-term gains
In the US (as of 2026):
- Holdings > 1 year: long-term capital gains, taxed at 0%, 15%, or 20% depending on income.
- Holdings ≤ 1 year: short-term capital gains, taxed as ordinary income (10-37%).
The gap is massive. A high-income earner selling a $10,000 gain at short-term rates pays $3,700. At long-term rates, they pay $2,000. Difference: $1,700 saved just by waiting until the holding period is over 1 year.
This is one of the strongest arguments for buy-and-hold over active trading. Even setting returns aside, the after-tax gap between trading and holding is enormous.
DeFi complications
DeFi introduces several complications that don't exist for basic buying and selling:
1. Lending deposits
Depositing USDC into Aave and receiving aUSDC in return may or may not be a taxable event depending on jurisdiction. Most guidance treats it as non-taxable (functionally the same asset). Interest received IS income when accrued.
2. Liquidity provision
Depositing tokens into a liquidity pool typically triggers a taxable event in the US (viewed as disposing of both tokens in exchange for LP tokens). Some jurisdictions treat it as non-taxable. Withdrawal is another taxable event.
3. Yield farming rewards
All rewards received count as income at fair market value on the day received. Later selling the reward tokens triggers a capital gain or loss on the difference from that basis. This means every yield harvest is TWO taxable events.
4. Airdrops
Airdropped tokens are typically ordinary income at fair market value on the day received. Even if you never claimed them, some jurisdictions count them.
DeFi participation without tax software is nearly impossible to track manually. If you actively use DeFi, use Koinly, CoinTracker, or TaxBit from day one.
Tax-loss harvesting
This is the single most valuable tax strategy for crypto investors. In most jurisdictions, capital losses offset capital gains dollar-for-dollar. Unused losses often carry forward to future years.
The strategy:
- At year-end, identify positions currently at unrealized losses.
- Sell them, realizing the losses.
- Use the realized losses to offset any realized gains you have, and (in the US) up to $3,000 of ordinary income.
- If you still want exposure to that asset, wait 30 days before rebuying (US) or comply with your jurisdiction's wash-sale rules.
Example: You have $20,000 of realized long-term gains for the year, plus $8,000 of unrealized losses on a specific altcoin. Sell the altcoin to realize the loss. Now your net long-term gains are $12,000, saving roughly $1,600 in federal tax (at 20% rate).
The US does NOT currently apply wash-sale rules to crypto (though this may change). Many other jurisdictions do. Check your specific rules.
Record keeping
Records you need for every transaction:
- Date and time of transaction.
- Type (buy, sell, swap, deposit, withdraw, reward).
- Asset name and amount.
- Fair market value in fiat at transaction time.
- Transaction fees paid.
- Wallet or exchange address (for on-chain verification).
- Cost basis of what you gave up.
The reality: For anyone with more than 20-30 transactions per year, manual record keeping is impractical. Use tax software from year one. Popular options:
- Koinly
- CoinTracker
- TaxBit
- CoinLedger
- ZenLedger
All connect to major exchanges via API and read on-chain wallets automatically. Cost: $50-300 per year depending on transaction volume. This is essential infrastructure for any active user.
The specific mistakes to avoid
- Not tracking swaps. Every ETH → BTC swap is a taxable event, not just fiat sales.
- Not accounting for airdrops. They are income at fair market value on receipt.
- Assuming losses aren't reportable. You must report losses to use them against future gains.
- Missing DeFi yield events. Every harvest is income; every LP action might be a taxable event.
- Ignoring tax software until year-end. Catching up on 12 months of transactions in April is a nightmare.
- Not consulting a professional at high dollar amounts. DIY works for simple cases. Complex cases need real advice.
The tax code rewards long-term holders and punishes active traders. This is not a coincidence — it's policy. Any crypto strategy that ignores the tax layer is measuring returns before their most consistent drag. Understanding tax rules is not optional for serious investors.
Continue learning
Related: Long-Term Holding vs Day Trading · Crypto Portfolio Diversification · Crypto Risk Management.

