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
- Tax-loss harvesting means selling a crypto position below its adjusted basis to realize a deductible capital loss, on purpose, before year-end.
- Realized capital losses first net against realized capital gains within the same short-term and long-term categories.
- Only after that netting does the $3,000-per-year limit ($1,500 if married filing separately) apply against ordinary income.
- Any net capital loss above the annual usable amount carries forward to future tax years with no expiration and no dollar cap.
- Crypto losses and stock losses are not tracked in separate buckets — both are capital assets, netted together on Schedule D.
- The wash-sale rule (Internal Revenue Code Section 1091) currently applies only to stock and securities, not to direct crypto holdings, under existing IRS guidance treating crypto as property.
- That gap means a crypto holder can sell at a loss and immediately repurchase the same token without the loss being disallowed the way a comparable stock trade would be — for now; proposals to close this exist but have not become law as of this writing.
- Harvesting still has real costs: bid-ask spreads, network fees, and the risk of missing a rebound, so it should reflect an actual view of the position, not just a mechanical year-end ritual.
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:
- 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.
- 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.
- 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:
- If the net result is a gain, it is reported and taxed at the applicable short-term or long-term rate.
- If the net result is a loss, an individual taxpayer may deduct up to $3,000 of that loss against ordinary income in the current tax year ($1,500 if married filing separately). This is a per-return annual limit, not a per-transaction or per-asset limit.
- If the net loss exceeds $3,000, the excess is not lost. It carries forward to the next tax year and is treated as if it had been incurred in that year — available first to offset new capital gains, and then, if any remains, up to $3,000 again against ordinary income.
- Carryforward has no expiration date for an individual taxpayer and no cap on the cumulative amount that can be carried forward across years. A large enough loss can carry forward for many years, offsetting gains and a small slice of ordinary income each year until it is used up.
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:
| Step | Harvesting a stock loss | Harvesting a crypto loss |
|---|---|---|
| Selling the losing position | Sell shares at a loss | Sell tokens at a loss |
| Staying exposed to the asset | Must wait 31+ days, or buy a similar-but-not-identical substitute, to avoid a wash sale | May repurchase the identical token immediately under current guidance |
| Risk while out of the position | Real market-timing risk during the 30-day window if a substitute isn't used | Minimal — repurchase can happen the same day |
| Basis of replacement position | If wash-sale applies, disallowed loss is added to the new basis | New basis is simply the repurchase price; no carryover adjustment required |
| Record complexity | Must track 61-day window per lot to confirm no wash sale occurred | No 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:
| Position | Basis | Current value | Unrealized gain/(loss) | Holding period |
|---|---|---|---|---|
| BTC lot | $18,000 | $26,000 | $8,000 | Long-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,500 | Short-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
| Outcome | No harvesting | Harvesting |
|---|---|---|
| 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 held | BTC, 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
| Misconception | What'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
- Pull a complete list of every open lot across every exchange, wallet, and protocol, with basis, acquisition date, and current value for each.
- Separate lots into short-term (held one year or less) and long-term (held more than one year) categories.
- Tally realized gains and losses already recognized this year, by category, from every capital asset — not crypto alone.
- Identify lots trading below their adjusted basis and estimate the loss each would realize if sold today.
- Decide, position by position, whether the loss reflects a genuine change in view of the asset or is being sold purely to harvest — and whether transaction costs make the sale worthwhile.
- Use specific-lot identification, where the platform supports it, to choose exactly which lot to sell rather than a default method that might pick a less advantageous lot.
- Confirm the current wash-sale rule's scope for the tax year before repurchasing — this guide reflects law and guidance current as of publication, which can change.
- Record the sale with a specific transaction identifier, date, quantity, proceeds, fee, and resulting gain or loss in the tax ledger immediately, not from memory later.
- Recalculate the year's net short-term and net long-term results after the harvested sales to confirm the expected deduction and carryforward.
- If a large net loss carries forward, note the amount and its short-term/long-term character somewhere it will be found when preparing next year's return.
When Harvesting May Not Make Sense
- The trading costs exceed the tax benefit. On a small position, spreads and network fees can consume most or all of the value of the deduction.
- The position is illiquid. A thinly traded token may not have a reliable price at which the sale can actually be executed at the assumed loss.
- There's no gain to offset and income is already low. If the taxpayer has minimal ordinary income and no capital gains, the immediate benefit of harvesting may be limited to the $3,000 allowance or less, though the loss still preserves value through carryforward.
- The taxpayer genuinely wants to keep the position long enough to reach long-term status. Selling a short-term loser that's close to its one-year holding-period anniversary, only to immediately repurchase and restart the clock, can convert a future long-term gain opportunity into a fresh short-term holding period on the replacement lot.
- Recordkeeping isn't ready to support the sale. A harvested loss is only as good as the basis and holding-period documentation behind it — see Crypto Taxes and Recordkeeping for what a complete ledger needs to contain.
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
- Crypto Taxes and Recordkeeping — the complete pillar guide to how trades, swaps, staking, and airdrops are tracked and reported.
- The Wash-Sale Rule and Crypto — a closer look at Section 1091, how it works for stocks, and why it currently doesn't reach direct crypto holdings.
- Cost-Basis Methods: FIFO, LIFO, and HIFO — how the lot-selection method used at sale changes the size of a harvested gain or loss.
Sources and Methodology
This guide is based on publicly available IRS guidance and the Internal Revenue Code as of August 2026. Key sources include:
- Topic no. 409, Capital gains and losses (IRS.gov): IRS guidance describing the capital-loss deduction limit and the treatment of net capital losses.
- Instructions for Schedule D (Form 1040): IRS instructions describing the netting of short-term and long-term capital gains and losses and the capital-loss carryover computation.
- Internal Revenue Code Section 1211 and Section 1212: Statutory basis for the annual capital-loss limitation against ordinary income and the carryover of unused losses.
- Internal Revenue Code Section 1091: The wash-sale statute, which by its terms applies to "stock or securities."
- IRS Notice 2014-21 and the IRS digital-assets guidance (IRS.gov): IRS position that convertible virtual currency is treated as property for federal tax purposes, not as a security.
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.