Does the wash sale rule apply to Bitcoin?
As of 2026, no. Section 1091 of the Internal Revenue Code applies to securities. Bitcoin is treated as property under IRS Notice 2014-21, so the wash sale rulewash sale ruleAn IRS rule preventing you from claiming a tax loss if you repurchase the same security within 30 days. Currently does not apply to Bitcoin.Full definition does not apply. This page explains what that means for tax-loss harvestingtax-loss harvestingSelling an investment that has declined to realize a tax loss, then buying a similar investment, reducing your tax bill without changing your portfolio.Full definition, the legislative risk that the loophole closes, and a worked example.
This page is editorial. The framing assumes a long-term Bitcoin position; the underlying tax mechanics apply regardless of your view.
You can sell Bitcoin at a loss, claim the loss against capital gainscapital gainsThe profit from selling an asset for more than you paid for it. Taxed differently depending on how long you held the asset., and rebuy the same Bitcoin minutes later. The IRS treats Bitcoin as property, not as a security, so Section 1091's 30-day "substantially identical" wash-sale prohibition does not apply. This is meaningfully different from how stocks work, and it is the foundation of Bitcoin tax-loss harvesting. Congress has tried to close this loophole multiple times. Plan as if it could change in any tax year.
§1091 mechanics: the four elements
Before getting to the Bitcoin-specific carve-out, it helps to know how §1091 actually works on traditional securities. A wash sale exists when ALL of the following are true:
- A sale at a loss. Gains are fine; the rule only triggers on realized losses. Tax-gain harvesting (sell, immediately rebuy) is not affected.
- "Substantially identical" replacement property. Same security, same CUSIP, or a security so similar the IRS considers them interchangeable. Apple common and Apple common is the easy case. VTI swapped for VOO is the case the IRS has never directly ruled on but most preparers treat as safe (different indices, different sponsors). Apple common and Apple preferred are not substantially identical.
- A 61-day window centered on the sale. 30 days before plus 30 days after plus the sale date. Any acquisition of substantially identical property inside that window triggers the rule, regardless of order.
- The replacement is in an account you, your spouse, or a controlled entity owns. This includes your IRAIndividual Retirement Account (IRA)A personal retirement savings account with tax advantages. Two main types: Traditional (tax now, pay later) and Roth (pay now, tax-free forever).Full definition, your Roth IRA, your spouse's IRA, and accounts of corporations you control. See the Rev. Rul. 2008-5 trap below.
When a wash sale triggers, the loss is disallowed. The disallowed loss is normally added to the cost basiscost basisWhat you originally paid for an asset. Used to calculate how much profit (or loss) you made when you sell.Full definition of the replacement shares, which preserves the deduction for whenever you eventually sell those replacements. Normally.
The Rev. Rul. 2008-5 trap: harvested loss disappears permanently
The single most expensive wash sale mistake retail investors make is harvesting a loss in a taxable brokerage and then rebuying the same security in an IRA or Roth IRA within 30 days. The IRS's Rev. Rul. 2008-5 addresses this case directly verify×DON'T TRUST, VERIFYClaim: Rev. Rul. 2008-5 holds that a loss disallowed under §1091 because of replacement property purchased inside an IRA cannot be added to the IRA's basis, so the loss is permanently lost.Verify at: IRS Rev. Rul. 2008-5 ↗The ruling is short. Read directly. Confirms that the wash sale rule applies across taxable and IRA accounts AND that the basis-recovery mechanism does not work because IRAs do not track basis the same way as taxable accounts..
- December: sell 100 VTI in your taxable account at a $5,000 loss.
- Same day (or any time in the next 30): buy 100 VTI in your Roth IRA.
- Wash sale triggers. The $5,000 loss is disallowed.
- Normally the disallowed loss would add to the basis of the replacement shares. It cannot, because the Roth IRA does not track basis the way a taxable account does.
- The $5,000 loss is gone. Permanently. No carryforward, no future deduction, no basis recovery on the eventual Roth withdrawal.
The cleanest defense: when you harvest losses in a taxable account, do not buy the substantially identical security in any household IRA, Roth IRA, or 401(k) within 30 days. The wash sale rule does not care which account the replacement landed in.
DRIP and auto-reinvest: the #1 accidental trigger
Dividend reinvestment plans (DRIPsDividend Reinvestment Plan (DRIP)A program that automatically uses dividend payments to buy more shares of the same stock.Full definition) and brokerage auto-reinvest features take quarterly dividends and immediately buy more shares of the same fund. If you harvested a loss on that fund in the last 30 days — or are about to harvest a loss in the next 30 — the auto-reinvest is a substantially-identical purchase. It triggers the wash sale on whatever fraction of the harvested lots its purchase price overlaps. Most retail tax-loss harvesting failures come from forgetting this.
Practical defense: turn off DRIP / auto-reinvest in any taxable account where you plan to tax-loss-harvest. The dividends settle as cash and you reinvest manually after the 30-day window clears. The 0.25%-ish drag from delayed reinvestment is trivially small versus a disallowed harvest.
Side-by-side: successful harvest vs failed harvest
Move: sell VTI at $5,000 loss, immediately buy VOO (S&P 500). Hold 31 days, then optionally swap back to VTI.
- Different indices (Total Market vs S&P 500): not substantially identical (settled industry treatment).
- Different sponsors (Vanguard, both — but distinct funds).
- Loss deductible against gains; up to $3,000 absorbs ordinary income.
- Economic exposure roughly maintained.
- DRIP off in both legs during the window.
Move: sell 100 VTI at $5,000 loss in taxable, two weeks later VTI dividend auto-reinvests in Roth IRA.
- Substantially identical: VTI = VTI.
- Inside 30-day window: yes.
- Account owned by household: yes.
- Rev. Rul. 2008-5 applies: loss disallowed, no basis recovery in Roth.
- $5,000 loss permanently lost.
The Bitcoin ETF carve-out (and its own trap)
Spot BTCBitcoin (BTC)The ticker symbol for Bitcoin, used on exchanges and in price quotes.Full definition is property under Notice 2014-21, so §1091 does not reach it. Spot Bitcoin ETFExchange-Traded Fund (ETF)A basket of investments (stocks, bonds, or Bitcoin) that trades on a stock exchange like a single share. shares (IBIT, FBTC, BITB, etc.) are securities. §1091 applies to them in the normal way verify×DON'T TRUST, VERIFYClaim: Spot Bitcoin ETFs are securities subject to §1091 wash sale rules.Verify at: IBIT prospectus ↗ · 26 USC §1091 ↗ETFs are registered securities under the '40 Act. §1091 applies to securities. Sponsor prospectuses confirm tax treatment.. That creates a specific trap for households who hold both: sell IBIT at a loss in a taxable brokerage and buy FBTC inside the 30-day window, and there is a serious argument the two are substantially identical (both spot BTC trusts tracking the same underlying). The IRS has not ruled on cross-sponsor ETF wash sales for spot BTC specifically, so the conservative play is to treat them as identical and either wait 31 days or harvest by selling spot BTC instead.
The cleanest workflow for households running both self-custody BTC and spot ETFs: harvest losses on the spot side (no wash sale), hold the ETF position untouched. The carve-out only applies to the spot side, so use it on the spot side.
Why this asymmetry exists
The wash sale rule, codified at Section 1091 of the Internal Revenue Code, was passed in 1921 to stop investors from realizing artificial losses on stocks and bonds at year-end while keeping their position. The text of 1091 explicitly applies to "stock or securities" verify×DON'T TRUST, VERIFYClaim: IRC Section 1091 applies to "stock or securities"; the IRS classifies virtual currency as property (Notice 2014-21).Verify at: 26 USC §1091 ↗ · IRS Notice 2014-21 ↗The statute names securities specifically. The IRS's 2014 guidance classifying virtual currency as property pulls Bitcoin outside that scope.. Bitcoin is classified as property under IRS Notice 2014-21. Property is not a security. Section 1091 therefore does not reach it.
This is not a clever interpretation. It is the plain reading of the statute combined with the IRS's own definitional guidance.
Worked example
You bought 1 BTC at $80,000 in March. By December the price is $60,000. You have an unrealized $20,000 loss.
- Sell 1 BTC at $60,000. Realize the $20,000 loss.
- Buy 1 BTC at $60,000 the same minute. Stack unchanged.
- Use the $20,000 loss to offset $20,000 of capital gains this year.
- If your losses exceed gains, deduct up to $3,000 against ordinary income; carry the rest forward indefinitely.
Your new cost basis on the rebuy is $60,000. Future gains are calculated from there. The economic position is identical to doing nothing; the tax position improved by $20,000 of recognized loss.
Legislative risk
Congress has proposed extending Section 1091 to digital assets in multiple tax bills since 2021. None has passed as of May 2026 verify×DON'T TRUST, VERIFYClaim: No enacted federal legislation has extended Section 1091 to digital assets as of May 2026.Verify at: Congress.gov bill tracker ↗ · IRS virtual currency FAQ ↗Tax bills move continuously. Confirm the current statutory text before relying on this exemption.. Treat the loophole as potentially closing in any tax year. The practical implication is to harvest losses in the year they occur rather than save them for later, because the rules might change.
What this loophole does not do
- It does not eliminate gains tax. The new cost basis means future appreciation is taxable from $60,000, not from $80,000.
- It does not work on Bitcoin ETFs. IBIT, FBTC, and other spot ETFs are securities. Section 1091 applies to them. A wash sale across two Bitcoin ETFs would be disallowed.
- It does not eliminate the holding period reset. The rebuy starts a new short-term holding period. If you held the original lot for less than a year, you may want to wait 31 days before rebuying to avoid converting long-term gains into short-term gains on the next sale.
Common questions
Does the wash sale rule apply to Ethereum or other altcoins?
The same property classification applies under IRS Notice 2014-21. So as a matter of statutory text, no. But the legislative risk is the same; a future bill that extends 1091 to "digital assets" likely covers everything the IRS classifies as virtual currency.
Can I harvest losses in my IRA or 401(k)?
No. Losses inside a tax-advantaged account are not deductible because the gains inside that account are also tax-deferred or tax-free. Tax-loss harvesting only works in taxable accounts.
What about the economic substance doctrine? Could the IRS challenge a same-day rebuy?
The economic substance doctrine targets transactions with no economic effect other than tax savings. Same-day rebuys have been a normal pattern in property markets for decades and are well outside the doctrine's typical application. The settled position as of 2026 is that crypto wash sales are allowed; the cleaner tax planning is to make sure each transaction has a real-world execution and is not a mark-to-market accounting trick.
Can I claim losses against W-2 income?
Up to $3,000 per year of net capital losses can offset ordinary income (including W-2 wages). The remainder carries forward to future years indefinitely. Married filing separately: $1,500.
Related reading
- Bitcoin tax-loss harvesting · the full mechanics
- Bitcoin cost basis methods · FIFO vs HIFO vs Specific ID
- Bitcoin taxes · the umbrella page
- Tax-gain harvesting · the 0% bracket strategy
Last updated 2026-05-16. Not financial advice. Do your own research.
Subscribe via RSS for new articles.