How to Legally Reduce or Avoid Capital Gains Tax on Bitcoin
The short answer: The IRS treats Bitcoin as property, so you owe capital gains tax only when you sell, trade or spend it at a profit. The main legal ways to reduce that tax are holding for more than a year, harvesting losses, choosing which coins you sell, donating to charity, gifting, holding until death, using a retirement account, and investing your gain in an Opportunity Zone fund. An Opportunity Zone fund is the only one of these that can eliminate federal capital gains tax on future appreciation without contribution limits or age rules, if you hold it for 10 years.
When Bitcoin is taxed
Holding Bitcoin is not taxable, and neither is moving it between your own wallets. Tax applies when you dispose of it: selling it for dollars, trading it for another coin, or spending it. The gain is the difference between what you receive and your cost basis. Brokers now report crypto sales to the IRS on Form 1099-DA, so accurate records matter.
The options at a glance
| Strategy | Tax effect | Main trade-off |
|---|---|---|
| Hold more than a year | Lower long-term rates | Tax is reduced, not removed |
| Harvest losses | Offsets gains | Needs losses to harvest |
| Choose which coins you sell | Smaller reported gain | Needs good records |
| Donate to charity | No gain, plus a deduction | You give the Bitcoin away |
| Gift to family | Gain may be taxed at their lower rate | The asset is theirs |
| Hold until death | Heirs' basis steps up | You never sell |
| Retirement account | Tax-deferred or tax-free growth | Contribution limits and age rules |
| Opportunity Zone fund | Deferral, then tax-free appreciation after 10 years | Accredited investors only, 10-year hold for the full benefit |
1. Hold for more than a year
Bitcoin sold after more than a year qualifies for long-term capital gains rates of 0%, 15% or 20%, depending on your income. Short-term gains are taxed at ordinary income rates of up to 37%. Higher earners also pay the 3.8% net investment income tax on either kind.
2. Harvest losses
If some of your Bitcoin is worth less than you paid, selling it realizes a loss that offsets capital gains. Up to $3,000 of net losses a year can also offset ordinary income, and the rest carries forward. The wash sale rule, which blocks this when you rebuy the same stock within 30 days, applies to securities. Bitcoin is property, so as of this writing you can sell and buy back immediately and still claim the loss. Congress has proposed changing that, so confirm the current rule before you rely on it. For the netting rules and how harvesting fits with an Opportunity Zone fund, see our tax-loss harvesting guide.
3. Choose which coins you sell
If you bought at different prices, you can identify specific lots to sell, such as the ones with the highest cost, instead of defaulting to first in, first out. Since 2025, basis must be tracked separately for each wallet or exchange account, so make your choice for each account before the sale.
4. Donate appreciated Bitcoin
Giving Bitcoin you have held for more than a year to a qualified charity, or to a donor-advised fund, generally means no capital gains tax on the appreciation and a deduction for its fair market value, subject to income limits. Gifts valued over $5,000 need a qualified appraisal.
5. Gift to family in a lower bracket
A gift is not a sale. The recipient takes over your cost basis and holding period. If they are in a lower bracket, possibly the 0% long-term bracket, they may pay less tax when they sell. The kiddie tax limits this for children and many students, and gifts above the annual exclusion count against your lifetime exemption.
6. Hold until death
Under current law, heirs generally receive inherited Bitcoin with its basis stepped up to fair market value at the date of death. Gains during your lifetime are never taxed as income. Large estates may still owe estate tax.
7. Use a retirement account
A Bitcoin IRA lets Bitcoin grow tax-deferred, or tax-free in a Roth IRA. Contributions are capped at around $7,500 a year, withdrawals are restricted until age 59½, and you cannot move Bitcoin you already own into the account. See Bitcoin IRA vs. Opportunity Zone fund.
8. Invest your gain in an Opportunity Zone fund
If you have already sold Bitcoin, or any other asset, at a gain, you can invest the gain in a Qualified Opportunity Fund within 180 days. Tax on the original gain is deferred, for up to five years on investments from 2027. If you hold the fund investment for at least 10 years, you can elect to pay no federal capital gains tax on its appreciation. Unlike an IRA, there is no cap on the amount and no age rule. See how to reinvest crypto gains in an Opportunity Zone fund.
Most Opportunity Zone funds invest in real estate, so this usually means leaving Bitcoin. The Pearl Bitcoin Fund invests through the Pearl Bitcoin Company, an operating Opportunity Zone business that holds Bitcoin in segregated custody at Anchorage Digital Bank, so the appreciation that can become tax-free is Bitcoin's. A U.S. patent application on the process is pending. The fund is open only to accredited investors with a $1,000,000 minimum, and new subscriptions are expected in 2027.
What does not work
- Not reporting. Exchanges report sales on Form 1099-DA, and every federal return asks whether you disposed of digital assets.
- Trading into another coin. A crypto-to-crypto trade is a taxable sale. Like-kind exchanges now apply only to real estate.
- Borrowing against Bitcoin is not a sale, so it is not taxed. But a forced liquidation is a sale, and the loan carries real risk if the price falls.
Common questions
Do I pay tax if I just hold Bitcoin?
No. Buying and holding Bitcoin is not taxable, and neither is moving it between your own wallets. Tax applies when you sell, trade or spend it at a gain.
Does the wash sale rule apply to Bitcoin?
Not as of this writing. The wash sale rule applies to stock and securities, and the IRS treats Bitcoin as property. You can sell Bitcoin at a loss and buy it back right away and still claim the loss. Congress has proposed changing this, so confirm the current rule with your advisor.
How can I avoid tax on Bitcoin I have already sold?
Once you have sold, you can offset the gain with capital losses, or invest the gain in a Qualified Opportunity Fund within 180 days of the sale to defer the tax. After 10 years in the fund, the investment's appreciation can be free of federal capital gains tax.
What is the tax rate on Bitcoin gains?
Bitcoin held more than a year is taxed at long-term capital gains rates of 0%, 15% or 20%. Bitcoin held a year or less is taxed at ordinary income rates up to 37%. Higher earners pay an additional 3.8% net investment income tax.
Is it legal to avoid capital gains tax on Bitcoin?
Yes. Each strategy in this guide is based on rules in the Internal Revenue Code. Lowering your tax through these rules is tax avoidance, which is legal. Failing to report gains is tax evasion, which is not.
Be first to hear when Pearl reopens.
We expect to welcome new investors in 2027.
Join the 2027 List See the Tax Calculator