Bogleheads has close to a dozen separate threads asking some version of the same question: does the wash-sale rule apply to crypto? The answer, consistently, and still accurate as of late 2026, is no. You can sell Bitcoin at a loss on a Tuesday and buy it right back on Wednesday, and the loss is still fully deductible. Do the exact same trade with a stock or an ETF and the IRS disallows the deduction entirely under Internal Revenue Code Section 1091.
This isn't a workaround or a gray area. It's a straightforward consequence of how the IRS classified crypto over a decade ago, and it's currently sitting in front of Congress as a bill that would close it. Here's how the gap works, the math behind why it matters, and where the legislation stands.
Why the wash-sale rule doesn't apply to crypto
The wash-sale rule, covered in detail for securities here, disallows a tax loss if you buy the same or a "substantially identical" security within 30 days before or after the sale that generated the loss. The rule's text, in Section 1091, is scoped specifically to "stock or securities."
The IRS settled how it treats cryptocurrency back in Notice 2014-21: for federal tax purposes, virtual currency is property, not a security. That classification is what excludes crypto from Section 1091's reach. It's the same reason crypto trades get reported differently than stock trades in the first place, on capital gains and losses like any other property, but without the specific anti-abuse rule Congress wrote for securities.
The practical result: a crypto investor can sell a losing position, immediately realize the capital loss for tax purposes, and buy the exact same coin back moments later, with no waiting period and no disallowed loss. A stock investor doing the identical trade in substance, selling and immediately rebuying the same holding, loses the deduction entirely under the wash-sale rule.
What this is actually worth
Say you hold $40,000 of a cryptocurrency that's now worth $28,000, a $12,000 unrealized loss. You still believe in the long-term position and don't want to be out of the market even briefly.
With crypto: sell the full position, realize the $12,000 loss, and buy back in immediately at the same $28,000 basis (now with a lower cost basis carried forward from the harvest). Your market exposure is uninterrupted. The $12,000 loss is available to offset capital gains elsewhere in your portfolio this year, or up to $3,000 against ordinary income if you have no offsetting gains, with the remainder carrying forward to future years.
With an equivalent stock position: you'd have to either sit out of the position for 31 days to avoid the wash sale, taking on the risk that the price moves against you during that window, or buy a different, non-identical holding as a placeholder, the way the standard securities harvesting approach works. Crypto skips that entire tradeoff.
At a 24% marginal federal bracket, a $12,000 loss used against a $12,000 capital gain elsewhere saves roughly $2,880 in tax for the year (using a blended rate that assumes the offset gain would otherwise have been taxed at ordinary short-term rates; long-term capital gains rates, generally 15% for this bracket, would put the savings closer to $1,800). Either way, the deduction is real money, and crypto is currently the only major asset class where you can capture it without changing your market exposure even for a day.
The uncertain edge case: swapping between different coins
The "substantially identical" language in the wash-sale rule, when it does apply to securities, has decades of IRS guidance and court cases defining its edges: same company's stock is identical, a different index fund tracking a similar but not identical benchmark generally isn't. No equivalent body of guidance exists yet for crypto, because the wash-sale rule doesn't reach it at all right now. That means the question of whether selling Bitcoin and buying Ethereum, or selling one stablecoin and buying another, would count as "substantially identical" if the rule were extended to crypto is genuinely unresolved. It comes up regularly in Bogleheads threads on the topic, without a settled answer, because it currently doesn't need one.
The bill that could close this
H.R. 9172, titled the Applying Existing Tax Anti-Abuse Rules to Digital Assets Act, was introduced in the House on June 8, 2026, and referred to the House Ways and Means Committee. It has not passed and is not law as of this writing. If enacted as drafted, it would extend the wash-sale rule, along with the separate constructive-sale rules that currently also apply only to securities, to a broader "specified assets" category that includes digital assets, with a specific carve-out for qualified U.S. dollar stablecoins.
The bill's wash-sale provision, as introduced, would apply to dispositions occurring after the bill's introduction date, meaning that if it passes later in the year, some transactions made before passage but after June 8, 2026 could retroactively lose their harvested-loss treatment. That detail alone is worth watching if you're harvesting crypto losses this year and plan to hold the position for a while afterward.
This isn't a new idea in Washington. Treasury included a version of this proposal in its 2024 revenue estimates, projecting that applying wash-sale rules to digital assets would raise close to $24 billion in tax revenue over a decade (U.S. Department of the Treasury, General Explanations of the Administration's Revenue Proposals). Similar language has appeared in prior budget proposals and stalled bills going back several years. It keeps resurfacing because the revenue number is real, not because the current bill is guaranteed to pass; treat any specific timeline for it becoming law as speculative.
How to actually use this while it lasts
Check your positions after any meaningful drop, not just at year-end. Crypto's volatility means harvestable losses can appear and disappear within weeks. Waiting until December to check, the way many people do with a stock portfolio, means missing losses that opened and closed earlier in the year.
Track your cost basis per lot, not as one blended average. If you bought the same coin at several different prices over time, most exchanges and portfolio tools let you identify which specific lots are underwater. Harvest those specifically and leave profitable lots untouched, the same specific-lot approach that works for securities.
Remember the $3,000 annual limit against ordinary income still applies. Crypto's exemption from the wash-sale rule doesn't change the broader capital loss rules: losses offset gains first, and only up to $3,000 of any leftover loss offsets ordinary income each year, with the rest carrying forward indefinitely (IRC Section 1212(b)).
Don't let the tax mechanics drive a change in your actual investment thesis. Harvesting a loss and buying right back only makes sense if you'd hold the position anyway. Selling a coin you no longer believe in and calling it "harvesting" is just selling.
Where this fits in your broader tax picture
A crypto position sitting at a loss is easy to ignore, since checking cost basis on an exchange usually takes more effort than checking a brokerage statement. It's worth including on your own tax map alongside contribution limits and account types, since a harvested loss this year can still be offsetting a gain you realize two or three years from now. If you're already reviewing your net worth for the month and notice a crypto holding down meaningfully from your cost basis, that's the actual trigger to check, not a date on the calendar.
Frequently asked questions
Do I have to wait 30 days before buying back crypto I sold at a loss?
No, not under current law. The wash-sale rule in Section 1091 applies only to stock or securities, and the IRS classifies cryptocurrency as property, not a security, under Notice 2014-21. You can realize the loss and repurchase the same crypto immediately with no waiting period, though this could change if pending legislation like H.R. 9172 becomes law.
Will crypto tax-loss harvesting still work next year?
It's uncertain. A bill introduced in June 2026, H.R. 9172, would extend wash-sale treatment to digital assets, but it has not passed as of this writing and its timeline is unclear. Treasury has proposed similar changes in past years without them becoming law. If it does pass with the provisions currently drafted, it could apply to dispositions made after the bill's June 2026 introduction date, so don't assume harvested losses from trades made this year are permanently safe from a retroactive rule change.
Does the crypto wash-sale exemption apply to NFTs and stablecoins too?
The current exemption follows from crypto's general classification as property rather than a security, which covers most digital assets broadly, including NFTs. The pending H.R. 9172 bill specifically carves out qualified U.S. dollar stablecoins from its proposed wash-sale extension, suggesting lawmakers see stablecoins, whose value doesn't fluctuate the way other crypto does, as a different case.
Can crypto losses offset stock gains, or only other crypto gains?
Crypto losses are capital losses like any other, and capital losses offset capital gains regardless of the asset type that produced them. A loss harvested from a crypto position can offset a gain realized from selling stock, real estate, or any other capital asset in the same tax year.
Ready to see your full financial picture?
Try Pro free for 30 days. No bank login required. No credit card.
Create your free dashboard