Home

Crypto Education

Crypto Tax-Loss Harvesting: How It Works and Why Crypto's Rules Differ From Stocks

Spot the edge. Swoop in.

Selling a depreciated crypto position can turn an unrealized loss into a real tax deduction — one that offsets gains, carries forward indefinitely, and (unlike stocks) is not blocked by a wash-sale rule if you buy back in right away. This guide walks through the mechanics, the annual $3,000 limit, and a worked year-end example.

By Swoopr Editorial Team

Published · Updated

AI-assisted content · Swoopr is responsible for the final published article.

Educational-use notice

This guide provides general U.S. federal tax information, not individualized tax, legal, accounting, or investment advice. Tax-loss harvesting outcomes depend on a taxpayer's full trading history, other income, filing status, state rules, and the specific facts of each transaction. Consult a qualified tax professional before acting on any strategy described here.

Key Takeaways

How Tax-Loss Harvesting Works, Mechanically

Tax-loss harvesting starts from the same gain-or-loss formula used for any capital-asset disposal: gain or loss = amount realized − adjusted basis. When the market price of a held crypto asset has fallen below the adjusted basis of the specific lot a taxpayer chooses to sell, closing that position at the current price locks in a negative number — a realized capital loss.

The word "harvesting" describes the deliberate part: rather than passively watching a position sit underwater, a taxpayer chooses to sell it specifically because the resulting loss has tax value. Three things happen in sequence when a loss is harvested:

  1. The loss is realized. Selling, swapping, or otherwise disposing of the position converts a paper loss into a specific dollar amount tied to a specific lot, a specific sale date, and a specific holding period.
  2. The loss is netted. On Schedule D, all short-term gains and losses for the year are netted against each other, and all long-term gains and losses are netted against each other. The two net results are then combined into one overall net capital gain or net capital loss for the year.
  3. The result is applied. A net gain is taxed. A net loss is first available to reduce other capital gains already realized during the year — crypto or otherwise — and only the amount left over after that is subject to the annual limit against ordinary income, with any remainder carried forward.

A loss that is never realized has no tax effect. An asset that has fallen 80% but is still held produces no deduction — the tax code does not allow a deduction for a decline in value alone. The disposal is what converts the decline into a usable number.

The $3,000 Capital Loss Limit and Unlimited Carryforward

After the short-term and long-term netting described above produces one overall net result for the year, the following rules apply:

A carried-forward loss retains its original short-term or long-term character into the following year. That distinction still matters once the carryforward is applied, because it determines which category of gain it offsets first under the netting rules.

Capital loss carryforward is the portion of a net capital loss that exceeds what a taxpayer can use in the current year (against gains, plus the $3,000 ordinary-income allowance) and that rolls forward to future tax years indefinitely, retaining its short-term or long-term character, until it is fully absorbed by future gains and future annual deductions.

Crypto Losses Can Offset Stock Gains — and Vice Versa

The Internal Revenue Code does not maintain separate netting rules for different types of capital assets. Stocks, mutual funds, crypto, and most other property held for investment are all "capital assets," and gains and losses from all of them are combined on the same Schedule D before any limits are applied.

In practice, this means a loss harvested in a crypto portfolio is not walled off from a brokerage account. A short-term crypto loss nets against short-term stock gains in the same short-term bucket; a long-term crypto loss nets against long-term stock gains in the same long-term bucket. There is no requirement to hold both types of gains and losses in the same account, the same platform, or even the same custody model — self-custody crypto losses count exactly the same as losses realized on a regulated exchange or brokerage.

This is one of the more commonly misunderstood parts of crypto taxation: some taxpayers assume crypto gains and losses are tracked in a separate silo because crypto trades often happen on different platforms with different reporting (Form 1099-DA rather than a brokerage's consolidated 1099-B, for example). The reporting platform does not change the underlying netting rule. What matters for netting purposes is the character of the gain or loss (short-term or long-term) and the fact that both assets are capital assets — not which exchange, wallet, or brokerage the disposal happened on.

Why the Wash-Sale Rule Doesn't Apply to Crypto (Yet)

For stocks and other securities, the wash-sale rule under Internal Revenue Code Section 1091 disallows a loss deduction when a taxpayer sells a security at a loss and buys the same or a "substantially identical" security within 30 days before or after the sale. The disallowed loss isn't gone forever — it's added to the basis of the replacement shares — but it cannot be used in the year of the sale. This is what makes stock tax-loss harvesting mechanically fiddly: an investor who wants to stay invested has to either wait out the 30-day window or buy something similar-but-not-identical instead.

Section 1091 is written narrowly, applying to "stock or securities." Under IRS Notice 2014-21 and subsequent guidance, the IRS treats convertible virtual currency as property for federal tax purposes, not as a security. Because crypto held directly falls outside the statute's scope, current guidance means a crypto sale at a loss followed by an immediate repurchase of the same token does not trigger the wash-sale disallowance that a comparable stock trade would.

For a deeper look at the wash-sale rule itself, how it works for stocks, and how the crypto exception fits into the broader picture, see The Wash-Sale Rule and Crypto.

Practically, this gap is what makes crypto harvesting mechanically simpler than stock harvesting today:

StepHarvesting a stock lossHarvesting a crypto loss
Selling the losing positionSell shares at a lossSell tokens at a loss
Staying exposed to the assetMust wait 31+ days, or buy a similar-but-not-identical substitute, to avoid a wash saleMay repurchase the identical token immediately under current guidance
Risk while out of the positionReal market-timing risk during the 30-day window if a substitute isn't usedMinimal — repurchase can happen the same day
Basis of replacement positionIf wash-sale applies, disallowed loss is added to the new basisNew basis is simply the repurchase price; no carryover adjustment required
Record complexityMust track 61-day window per lot to confirm no wash sale occurredNo such window to track under current rules

This does not mean crypto harvesting is risk-free. It means the specific mechanical friction that a wash sale creates for stock investors does not currently apply. Other frictions — trading costs, spreads, network fees, and slippage on the sell and the immediate repurchase — still reduce the economic benefit of harvesting and should be weighed against the tax savings.

This treatment is a function of current guidance, not a permanent feature of the tax code. Lawmakers have repeatedly proposed extending wash-sale-style rules to digital assets. A taxpayer relying on this gap should confirm the rule has not changed for the tax year in question before repurchasing.

Worked Example: A Mixed Portfolio at Year-End

Hypothetical example — for education only.

Consider a taxpayer reviewing their portfolio in December with the following positions, all held for less than one year (short-term) unless noted:

PositionBasisCurrent valueUnrealized gain/(loss)Holding period
BTC lot$18,000$26,000$8,000Long-term
ETH lot$9,000$6,200($2,800)Short-term
Small-cap token A$5,500$1,100($4,400)Short-term
Small-cap token B$3,000$700($2,300)Short-term
Stock ETF shares$12,000$15,500$3,500Short-term

Scenario 1: No harvesting

The taxpayer sells only the stock ETF shares to rebalance, realizing a $3,500 short-term gain, and leaves every crypto position untouched. Net short-term result: $3,500 gain. Net long-term result: $0 (BTC unsold). Total taxable capital gain for the year: $3,500, taxed at ordinary income rates because it's short-term. The three underwater crypto positions remain unrealized losses with no tax value this year.

Scenario 2: Harvesting the crypto losses

Before year-end, the taxpayer also sells the ETH lot and both small-cap token positions, realizing their losses: ($2,800) + ($4,400) + ($2,300) = ($9,500) in short-term losses. The BTC position is left alone since the taxpayer wants to keep that long-term exposure.

Netting for the year: short-term gain from the stock ETF ($3,500) combines with short-term crypto losses (($9,500)) in the same short-term bucket, because both are capital assets: $3,500 − $9,500 = ($6,000) net short-term capital loss. There is no long-term gain or loss to net against it (BTC still held). The overall result for the year is a net capital loss of $6,000.

Of that $6,000 net loss: $3,000 is deductible against ordinary income this year (assuming single or married filing jointly). The remaining $3,000 carries forward to next year, retaining its short-term character, available first against next year's capital gains and then, if any remains, against next year's ordinary income up to the annual limit.

Comparing the outcomes

OutcomeNo harvestingHarvesting
Net capital result for the year$3,500 taxable gain$6,000 net loss
Amount deductible against ordinary income this year$0 (no loss to deduct)$3,000
Amount carried forward$0$3,000 (short-term)
Crypto positions still heldBTC, ETH, token A, token B (three underwater)BTC only (the other three sold)

Harvesting turned a $3,500 taxable gain into a $3,000 current-year deduction plus a $3,000 loss available next year — a meaningful swing in taxable income for the same underlying portfolio activity, achieved simply by choosing to realize losses that already existed economically. If the taxpayer wants to maintain exposure to ETH or the small-cap tokens after selling them, they may repurchase immediately under current crypto wash-sale guidance discussed above — something that would not be straightforward if these were stock positions instead.

This example ignores trading fees, spreads, and price movement between the sale and any repurchase, all of which reduce the real-world benefit and should be factored into an actual decision.

Common Misconceptions About Crypto Tax-Loss Harvesting

MisconceptionWhat's actually true
"An unrealized loss already reduces my taxes."No deduction exists until the position is sold, swapped, or otherwise disposed of. A decline in value alone has no tax effect.
"I can only deduct $3,000 in losses total, ever."The $3,000 figure is an annual limit on the amount deductible against ordinary income after gains are netted, not a lifetime cap. Excess losses carry forward indefinitely and keep offsetting future gains in full.
"Crypto losses can only offset crypto gains."Crypto and stocks are both capital assets and are netted together on the same Schedule D, in the same short-term and long-term buckets.
"Buying crypto back right away is illegal, just like with stocks."The wash-sale rule currently applies only to stock and securities. It's not that a crypto wash sale is legal where a stock one isn't — the crypto transaction simply isn't a wash sale under the current statute's scope at all.
"This loophole is guaranteed to exist forever."It reflects current law and IRS guidance treating crypto as property. Legislation extending wash-sale treatment to digital assets has been proposed multiple times and could pass in a future tax year.
"Harvesting is always worth doing before year-end."Trading costs, spreads, network fees, and the risk of missing a rebound are real costs. Harvesting should reflect an actual view of the position, not just a mechanical ritual to generate a deduction.
"Short-term and long-term losses are interchangeable."Netting happens within each category first. A short-term loss offsets short-term gains before spilling over to long-term gains, and vice versa — the order affects how much of a loss is "used" at more favorable rates.

Year-End Tax-Loss Harvesting Checklist

When Harvesting May Not Make Sense

Crypto Tax-Loss Harvesting FAQs

What is crypto tax-loss harvesting?

Crypto tax-loss harvesting is the practice of selling a digital asset whose price has fallen below its adjusted basis in order to realize a capital loss. The realized loss can offset capital gains from other sales and, within annual limits, ordinary income. The taxpayer can then choose to stay out of the position, rotate into a different asset, or repurchase the same asset, since crypto is not currently subject to the wash-sale rule.

How much capital loss can I deduct against ordinary income each year?

After capital losses are netted against capital gains, up to $3,000 of any remaining net capital loss ($1,500 if married filing separately) can be deducted against ordinary income in a single tax year. This limit applies to the net result after all short-term and long-term netting, not to each individual losing trade.

What happens to capital losses above the $3,000 limit?

Any net capital loss that exceeds the amount usable in the current year carries forward to future tax years indefinitely. There is no expiration date and, for an individual taxpayer, no dollar cap on the total amount that can be carried forward. Carried-forward losses retain their short-term or long-term character and are used first to offset capital gains in the following year, with any remainder again eligible for the $3,000 ordinary-income deduction.

Can crypto losses offset stock gains?

Yes. The Internal Revenue Code applies the same capital-gain and capital-loss netting rules across all capital assets a taxpayer holds, including cryptocurrency, stocks, mutual funds, and other property held for investment. Losses realized on crypto sales are netted together with gains and losses from stock sales in the same short-term and long-term categories before the annual limits are applied. The two asset classes are not tracked or limited separately.

Does the wash-sale rule apply to cryptocurrency?

Under current IRS guidance, cryptocurrency is treated as property rather than as a security, and the wash-sale rule in Internal Revenue Code Section 1091 applies only to stock and securities. As a result, a crypto sale at a loss followed by an immediate repurchase of the same or a substantially identical digital asset generally does not disallow the loss the way a comparable stock trade would. Proposals to extend a wash-sale-style rule to digital assets have been introduced but had not been enacted as of this writing, and the rule could change in a future tax year.

Is tax-loss harvesting the same thing as an illegal wash sale?

No. Tax-loss harvesting is a lawful use of the capital-loss rules that Congress has written into the tax code. A wash sale becomes relevant only for assets to which Section 1091 actually applies, such as stock and securities; even there, a wash sale is not illegal, it simply defers the loss deduction until a later sale rather than disallowing it permanently. Because crypto is not currently within the scope of Section 1091, repurchasing crypto immediately after a loss sale does not trigger a wash-sale deferral under existing guidance.

Do I need to worry about a "substantially identical" asset test for crypto?

The substantially-identical-asset test is a component of the wash-sale rule itself, which currently does not extend to direct crypto holdings. Because the rule does not apply, there is currently no requirement to analyze whether a repurchased token is substantially identical to the one sold. A taxpayer should still watch for a separate rule change, since Congress has repeatedly proposed extending wash-sale treatment to digital assets.

Should I sell every losing position at year-end to harvest losses?

Not automatically. Tax-loss harvesting is a tax-efficiency tool, not an investment strategy on its own, and selling should still reflect the taxpayer's actual view of the asset, its liquidity, and transaction costs such as spreads and network fees. A loss that is not economically real, or a sale used purely to generate a paper deduction while immediately repurchasing a far larger position, may draw additional scrutiny under general tax-law principles even where a specific statute like the wash-sale rule does not apply.

Related Reading

Sources and Methodology

This guide is based on publicly available IRS guidance and the Internal Revenue Code as of August 2026. Key sources include:

This content was reviewed by the Swoopr Markets Education Team in August 2026 and reflects U.S. federal tax guidance available at that time. Tax law changes frequently, including proposals that would extend wash-sale treatment to digital assets — verify current guidance before relying on any information in this guide.