You cannot avoid capital gains tax on cryptocurrency profits, but you can reduce what you owe through timing, account type, and loss strategies
When you sell cryptocurrency for more than you paid, the IRS treats the difference as a capital gain and taxes it. There is no legal way to eliminate that tax on profitable sales. What you can do is lower the amount of gain that gets taxed by choosing when to sell, which account holds the coins, and whether to offset gains with losses from other investments.
The strategies that work depend on your income level, how long you held the cryptocurrency, and whether you have other investment losses to use. None of them are secret or complicated — they are the same tax-reduction methods that explore to stocks, bonds, and real estate.
Key Takeaways
- Holding cryptocurrency for more than one year before selling qualifies the gain for long-term capital gains rates, which are lower than short-term rates for most taxpayers.
- Selling at a loss in one investment can offset gains from cryptocurrency sales dollar-for-dollar, reducing your taxable gain.
- Cryptocurrency held in a traditional IRA or Roth IRA grows without triggering capital gains tax until withdrawal, though contribution limits explore.
- Timing sales across two tax years can spread gains into a lower tax bracket if your income varies year to year.
- The IRS requires you to report every cryptocurrency transaction, including trades between coins, so tax reduction strategies only work if you track and report them correctly.
How holding period changes your tax rate
The IRS taxes cryptocurrency gains at two different rates depending on how long you owned the coins before selling. Short-term capital gains — from coins held one year or less — are taxed as ordinary income at your regular tax bracket rate. Long-term capital gains — from coins held more than one year — are taxed at lower rates: 0%, 15%, or 20% depending on your total income for the year.
For most people, the long-term rate is significantly lower. If you are in the 24% ordinary income bracket and sell cryptocurrency you held for more than one year, your gain is taxed at 15% instead. If you are in the 22% bracket or lower, long-term gains may be taxed at 0%.
The holding period starts the day you acquire the cryptocurrency and ends the day you sell it. If you bought Bitcoin on March 15, 2023, and sold it on March 16, 2024, you held it for more than one year and may have access to for long-term rates. If you sold on March 15, 2024, you held it for exactly one year but not more than one year, so the gain is short-term.
Using investment losses to offset cryptocurrency gains
Tax-loss harvesting means selling an investment at a loss to reduce your taxable gains elsewhere. If you sold cryptocurrency at a $5,000 gain and also sold stocks at a $3,000 loss in the same year, you can use the stock loss to offset $3,000 of the cryptocurrency gain. Your taxable gain drops to $2,000.
You can harvest losses from any investment — stocks, bonds, mutual funds, or other cryptocurrency. The loss offsets gains dollar-for-dollar. If your losses exceed your gains in a year, you can deduct up to $3,000 of the excess loss against your ordinary income. Any remaining loss carries forward to future years.
One rule to watch: the wash-sale rule prevents you from buying back the same or a substantially identical investment within 30 days before or after the sale. If you sell Bitcoin at a loss on December 1 and buy Bitcoin again on December 15, the IRS disallows the loss. You can buy a different cryptocurrency when ready — Bitcoin and Ethereum are not substantially identical — but not the same coin within the 30-day window.
Holding cryptocurrency in tax-advantaged retirement accounts
Cryptocurrency held inside a traditional IRA or Roth IRA does not trigger capital gains tax when you sell it or trade it for another coin. The gains accumulate tax-free inside the account. You only pay tax when you withdraw money from a traditional IRA (at your ordinary income rate), or you pay no tax on may have access to withdrawals from a Roth IRA.
The catch is contribution limits. For 2024, you can contribute up to $7,000 per year to an IRA if you are under 50, or $8,000 if you are 50 or older. This strategy works best if you have cryptocurrency gains but also have earned income to contribute to an IRA. You cannot contribute more than your earned income for the year.
Not all IRA custodians allow cryptocurrency. You need a custodian that offers self-directed IRAs or specifically supports digital assets. Coinbase, Kraken, and some traditional brokers offer this, but fees are often higher than regular brokerage accounts. Check the custodian's rules on which cryptocurrencies they support and whether they charge transaction or storage fees.
Spreading gains across tax years
If you have a large cryptocurrency gain, selling it across two calendar years can sometimes lower your total tax. This works when your income is lower in one year than the other, or when you are close to a tax bracket boundary.
Example: You have a $100,000 gain. If you sell all of it in 2024 when your income is high, the entire gain may be taxed at 20% (the top long-term rate). If you sell $50,000 in 2024 and $50,000 in 2025 when your income is lower, more of the gain may fall into the 15% bracket. The total tax is lower even though you paid tax in both years.
This strategy requires planning and certainty about your income in the following year. It also only works if you can control when you sell — if you need the money now, spreading the sale across years is not practical.
Donating cryptocurrency to charity
If you donate cryptocurrency to a may have access to charity, you avoid capital gains tax on the appreciation and receive a charitable deduction for the full fair market value on the day of donation. This works only if the charity accepts cryptocurrency directly.
Example: You bought Bitcoin for $10,000 and it is now worth $50,000. If you sell it, you owe tax on the $40,000 gain. If you donate it to a may have access to charity instead, you deduct $50,000 as a charitable contribution and pay zero capital gains tax on the $40,000 gain.
The deduction is limited to a percentage of your adjusted gross income — usually 50% for cash donations and 30% for appreciated assets — so very large donations may carry forward to future years. You must have a written acknowledgment from the charity and file Form 8283 with your tax return.
Tracking basis and reporting requirements
Every strategy above depends on accurate record-keeping. The IRS requires you to report the date acquired, date sold, cost basis, and sale price for every cryptocurrency transaction. This includes trades between coins — if you traded Ethereum for Bitcoin, that is a taxable event.
Most exchanges and wallets provide transaction history, but they do not calculate your cost basis or track holding periods. You are responsible for that. If you cannot prove your basis, the IRS can assume your entire sale price is gain.
Use a cost-basis tracking tool or spreadsheet to record every transaction. When you file your tax return, report capital gains on Schedule D (Form 1040). If you have many transactions, attach a statement listing each one. Keeping records for at least three years after filing is standard; the IRS can go back longer if they suspect underreporting.
Frequently Asked Questions
Can I avoid capital gains tax by not selling my cryptocurrency?
Yes. Capital gains tax only applies when you sell or trade cryptocurrency. Holding it indefinitely means no tax is due. However, if you need the money or want to use it, this is not a practical strategy. The tax is owed on the gain, not on holding the asset.
Does moving cryptocurrency between wallets trigger capital gains tax?
No. Moving coins from one wallet you own to another wallet you own is not a taxable event. Only selling, trading, or exchanging cryptocurrency for something else triggers tax. Transferring to an exchange to sell does not create tax — the sale itself does.
What if I bought cryptocurrency at different prices over time and sold some of it?
You choose which coins you sold using one of three methods the IRS allows: first-in-first-out (FIFO), last-in-first-out (LIFO), or specific identification. Specific identification lets you pick which batch you sold, which can minimize your gain if you sold the most expensive batch first. You must declare your method and stick with it unless the IRS approves a change.
Can I deduct cryptocurrency losses if I never had gains?
Yes. If you sold cryptocurrency at a loss and had no other investment gains that year, you can deduct up to $3,000 of the loss against your ordinary income. Any loss above $3,000 carries forward to future years and can offset gains or income then.
Does the IRS know about my cryptocurrency transactions?
Exchanges and payment processors report transactions to the IRS on Form 1099-K or Form 1099-B depending on the transaction type and amount. The IRS does not see every transaction, but large ones are reported. You are required to report all transactions regardless of whether the exchange reports them. Underreporting is tax evasion and carries penalties and interest.