Crypto Tax Basics
Every cryptocurrency transaction has tax consequences. The IRS treats most crypto activity as property transactions, meaning that selling, trading, spending, or even gifting crypto can create a tax obligation. The rules are not optional, and the IRS has made enforcement a priority. If you hold, trade, or earn cryptocurrency in any form - Bitcoin, Ethereum, Solana, stablecoins, NFTs, or tokens from DeFi protocols - you need to understand how the tax system applies to what you do.
This page maps the entire territory of US crypto taxation. Each section below introduces a key area and points you to the dedicated page that covers that topic in full.
The Two Types of Crypto Tax: Capital Gains and Income
Crypto taxation in the United States falls into two broad categories: capital gains tax and ordinary income tax. Almost everything you do with crypto will trigger one or both.
Capital gains tax applies when you sell, trade, spend, or otherwise dispose of crypto at a gain or loss. This is called a "disposal event." The gain is the difference between what you paid for the crypto (your cost basis) and what you received when you disposed of it. If you held the crypto for one year or less, the gain is short-term and taxed at your ordinary income tax rate. If you held for more than one year, the gain is long-term and taxed at 0%, 15%, or 20% depending on your total income. A full breakdown of these rules, including exactly what counts as a disposal event and how to calculate your gain, is on the page How Are Crypto Capital Gains Taxed When You Sell or Trade.
Ordinary income tax applies when you receive crypto without paying for it - through mining, staking rewards, airdrops, hard forks, or as payment for goods or services. The fair market value of the crypto at the time you receive it is taxable as ordinary income, just like cash wages. If you later sell that same crypto, you owe capital gains tax on any increase in value after receipt. The page When Are Crypto Staking Rewards and Airdrops Taxed as Income covers the exact timing and valuation rules for every type of crypto income.
These two layers - income at receipt, then capital gains on later sale - apply to nearly every crypto earning activity. Staking rewards are income at the moment you gain control over them, then become a capital asset with their own cost basis. Airdropped tokens are income at receipt, even if you never claimed them. Mining income is subject to self-employment tax in addition to ordinary income tax. Each of these scenarios is detailed in the spoke pages listed above.
Cost basis: the number that determines your tax bill
Your cost basis is the amount you paid to acquire a crypto asset, including fees. When you dispose of that asset, your gain or loss is the difference between the sale proceeds and your cost basis. Getting the basis right is the single most important factor in accurate crypto tax reporting.
The IRS allows several methods for assigning cost basis to individual units of crypto when you sell only part of your holdings. The most common methods are FIFO (first in, first out), LIFO (last in, first out), HIFO (highest in, first out), and Specific Identification (Specific ID). Each method can produce a significantly different tax result. FIFO tends to produce the largest gains in a rising market because it sells your oldest, cheapest coins first. HIFO sells your highest-cost coins first, minimizing gains. Specific ID lets you choose exactly which tax lot to sell at the time of the transaction. The page FIFO vs LIFO vs HIFO vs Specific ID for Crypto Cost Basis explains each method in detail, including which exchanges and tax software support them and what recordkeeping each requires.
Tracking cost basis across multiple wallets and exchanges is one of the hardest parts of crypto tax compliance. When you move crypto from Coinbase to MetaMask to a DeFi protocol and back, the cost basis should travel with each specific unit. But many exchange tax reports and portfolio trackers lose this connection. The page How to Track Tax Lots for Crypto Across Wallets and Exchanges covers practical methods for maintaining lot-level tracking, including which tools can do it and what to do when records are incomplete.
Special situations that change the tax treatment
Several common crypto activities do not fit neatly into the capital-gains-versus-income framework. Each has its own set of rules, risks, and recordkeeping requirements.
Gifting and donating crypto have different tax treatments. When you gift crypto to another person, you do not owe capital gains tax, but the recipient takes over your original cost basis. When you donate appreciated crypto to a qualified charity, you avoid paying capital gains tax entirely and can deduct the full fair market value as a charitable contribution - up to 30% of your adjusted gross income. These rules are explained on What Happens to Cost Basis When You Gift or Receive Crypto and How Donating Appreciated Crypto Reduces Your Tax Bill.
DeFi transactions create some of the most complex tax questions in crypto. Swapping one token for another on a decentralized exchange is a taxable disposal event, just like a trade on Coinbase. Depositing tokens into a liquidity pool may or may not be a taxable event depending on how the pool issues LP tokens. Lending crypto and earning interest creates income. Bridging tokens between chains is probably not taxable, but the IRS has not issued clear guidance. The page Which DeFi Transactions Trigger a Taxable Event walks through every common DeFi activity and its current tax treatment.
Wash sale rules prevent taxpayers from selling an asset at a loss and immediately buying it back to claim the loss for tax purposes. For stocks and securities, the rule disallows the loss if you buy a substantially identical asset within 30 days before or after the sale. The IRS has not officially applied wash sale rules to crypto, and most tax professionals believe they do not currently apply. But there is a risk that Congress or the IRS could extend them to crypto in the future. The page Do Wash Sale Rules Apply to Crypto in 2025 covers the current state of the law and what to watch for.
Like-kind exchange treatment was available for crypto trades before 2018 under Section 1031 of the tax code, which allowed taxpayers to defer capital gains tax when swapping one asset for a similar one. The Tax Cuts and Jobs Act of 2017 limited like-kind exchanges to real estate, effective January 1, 2018. Crypto-to-crypto trades after that date are fully taxable. If you have open tax years before 2018 where you treated crypto trades as like-kind exchanges, you may need to revisit those returns. The page Crypto Like Kind Exchange Rules Before and After 2018 explains the rules and the current IRS position.
NFTs add another layer of complexity. The IRS has indicated that NFTs may be treated as collectibles for tax purposes, which means any gain on a collectible held for more than one year is taxed at a maximum 28% rate rather than the standard long-term capital gains rate of 20%. This treatment is not yet settled law, and the page on NFT taxation (linked in the NFT section of the entity inventory) covers the uncertainty in detail.
Reporting what you owe: forms, deadlines, and penalties
All crypto capital gains and losses must be reported on Form 8949 and Schedule D of your tax return. Form 8949 lists every individual transaction: date acquired, date sold, proceeds, cost basis, and gain or loss. Schedule D summarizes the totals. The page How to Fill Out Form 8949 and Schedule D for Crypto Trades provides a line-by-line walkthrough with examples.
If you hold crypto on foreign exchanges - Binance, KuCoin, or any exchange incorporated outside the United States - you may have additional reporting obligations. The FBAR (Foreign Bank and Financial Accounts Report) requires you to report foreign financial accounts totaling more than $10,000 at any point during the year. The FATCA Form 8938 has different thresholds depending on your filing status and whether you live in the US or abroad. Penalties for non-compliance can reach $10,000 per violation for FBAR and escalate from there. The page FBAR and FATCA Reporting for Foreign Crypto Exchange Accounts covers the thresholds, the forms, and the penalties.
The IRS has been sending warning letters to crypto taxpayers since 2019. The three main letters - 6173, 6174, and 6174-A - range from a general educational notice to a demand for a response with potential penalties for ignoring it. The page IRS Crypto Warning Letters 6173 6174 and 6174-A Explained tells you what each letter means and how to respond.
Tools That Do the Work for You
Crypto tax software is the most practical way to handle the volume of transactions most active users generate. The leading tools - CoinTracker, Koinly, TokenTax, CoinLedger, ZenLedger, CryptoTaxCalculator, and TaxBit - all connect to exchanges and wallets via API, import transaction history, calculate gains and losses using your chosen cost basis method, and generate the forms you need for filing. The page Best Crypto Tax Software Compared for 2025 Filing compares each tool on price, chain support, DeFi handling, and ease of use.
But tax software is not a set-it-and-forget-it solution. Exchange-generated tax forms are often incomplete or wrong. Common errors include missing cost basis for transferred coins, incorrect holding periods, and failure to account for DeFi transactions. The page Why Your Crypto Exchange Tax Form May Be Wrong lists the most frequent errors and how to spot them. The page How to Fix Common Crypto Tax Software Sync and Import Errors covers the specific error messages you are likely to encounter - "Unmatched transfer," "Duplicate transaction detected," "Chain not supported" - and what to do about them.
For taxpayers with high transaction volumes, complex DeFi activity, or significant crypto wealth, hiring a CPA who specializes in crypto may be worth the cost. The page Hiring a Crypto CPA vs Using Tax Software Yourself helps you decide which approach fits your situation.
Reducing your tax bill within the rules
Tax-loss harvesting is the practice of selling crypto at a loss to offset gains elsewhere in your portfolio. The losses can also offset up to $3,000 of ordinary income per year, with any excess carried forward to future years. The strategy is most effective when executed before December 31, but it requires careful attention to the wash sale rules discussed above. The page How to Harvest Crypto Tax Losses Before Year End provides a step-by-step plan.
Donating appreciated crypto to charity, as mentioned earlier, is one of the most tax-efficient moves available. You avoid capital gains tax on the appreciation and get a deduction for the full value. The page How Donating Appreciated Crypto Reduces Your Tax Bill explains the mechanics and the documentation requirements.
None of these strategies require predicting price movements or taking speculative positions. They are mechanical applications of existing tax law.
What the IRS Knows and How They Find Out
Many crypto users assume the IRS cannot see their transactions. That assumption is increasingly false. The IRS has contracted with Chainalysis and other blockchain analytics firms to trace transactions on public ledgers. It has issued John Doe summonses to obtain user data from major exchanges. It has required exchanges to report transactions over certain thresholds on Form 1099-K and Form 1099-B. The page Can the IRS Really Track Your Crypto Transactions explains exactly what the IRS can see, what it cannot see, and which behaviors increase your audit risk.
The safest approach is to assume the IRS can see every transaction you make on a public blockchain. Report everything, keep complete records, and use the tools and professionals available to get it right.
Not financial advice. babybuilder.xyz publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.
Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.