THE PEARL FUND Join the 2027 List
Guide · Tax planning

Tax-Loss Harvesting With Bitcoin and Opportunity Zone Funds

The short answer: Tax-loss harvesting means selling an investment that is worth less than you paid so the loss offsets capital gains you have realized. Net losses beyond your gains can offset up to $3,000 of ordinary income a year, and the rest carries forward with no time limit. For stocks, the wash sale rule disallows the loss if you buy the same or a substantially identical security within 30 days before or after the sale. As of this writing that rule does not apply to Bitcoin, which the IRS treats as property. Harvesting and an Opportunity Zone fund work well together: harvested losses can absorb some gains, and the gains you want to keep working can be invested in a Qualified Opportunity Fund to defer the tax and, after 10 years, potentially exclude the appreciation.

How tax-loss harvesting works

A capital loss is realized when you sell. Until then it is only a paper loss. Harvesting simply means choosing to realize losses in a year when they are useful, usually a year in which you also have gains.

Example

You sold stock this year for a $400,000 long-term gain. You also own a different position worth $150,000 less than you paid for it. If you sell that position before December 31, the $150,000 loss offsets part of the gain and you are taxed on $250,000 instead of $400,000. At a 23.8% federal rate (20% plus the 3.8% net investment income tax), that saves about $35,700 this year.

The netting rules

The wash sale rule, and why Bitcoin is different

For stocks, bonds, mutual funds and ETFs, the wash sale rule disallows a loss if you buy the same or a substantially identical security within 30 days before or after the sale, a 61-day window in total. The disallowed loss is added to the basis of the new shares, so it is postponed rather than lost. Purchases in an IRA count too, and a loss blocked that way can be lost permanently.

The rule applies to stock and securities. The IRS treats Bitcoin as property, so as of this writing you can sell Bitcoin at a loss and buy it back right away and still claim the loss. Congress has proposed extending the wash sale rule to digital assets more than once, so confirm the current rule with your advisor before you rely on it. Bitcoin ETFs and other exchange-traded products are securities, so the wash sale rule may apply to them.

Using harvested losses alongside an Opportunity Zone fund

Harvesting and an Opportunity Zone fund solve different problems. Harvesting reduces tax on gains you have already realized, as long as you have losses to use. An Opportunity Zone fund defers the tax on a gain you reinvest and, if you hold the investment for 10 years, can exclude federal capital gains tax on the appreciation of that investment.

Under the Treasury regulations, the gain you can invest in a Qualified Opportunity Fund is generally measured gain by gain, without first netting it against your capital losses. In practice that gives you a choice:

Section 1231 gains from business property are an exception: they are netted against section 1231 losses for the year first. Ask your tax advisor how the rules apply to your mix of gains and losses before you file.

Common mistakes

For other ways to reduce the tax on Bitcoin gains, see how to legally reduce or avoid capital gains tax on Bitcoin.

Common questions

What is tax-loss harvesting?

Selling an investment worth less than you paid so the realized loss offsets capital gains. Net losses beyond your gains can offset up to $3,000 of ordinary income a year, and the rest carries forward indefinitely.

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, so you can sell at a loss and buy back right away and still claim the loss. Congress has proposed changing this, and Bitcoin ETFs are securities, so confirm the current rule with your advisor.

Can I harvest losses and invest gains in an Opportunity Zone fund in the same year?

Yes. Under the Treasury regulations, the gain you can invest in a Qualified Opportunity Fund is generally measured gain by gain, without first netting it against capital losses. You can use harvested losses against some gains and invest other gains in a QOF within 180 days. Section 1231 gains are netted first.

How long can I carry forward a capital loss?

For individuals, indefinitely. Unused capital losses carry forward to future years and keep their short-term or long-term character.

When is the deadline to harvest losses?

The sale must happen by December 31 to count for that tax year. Leave time for trades to settle and for checking wash sale windows on stock positions.

Subscriptions · Resuming 2027

Be first to hear when Pearl reopens.

We expect to welcome new investors in 2027.

Join the 2027 List See the Tax Calculator

Sources