You are currently viewing Wash Sale Rule in Crypto and Stocks: A CPA’s Warning

Wash Sale Rule in Crypto and Stocks: A CPA’s Warning

If you’re selling investments at a loss and buying them back too quickly, you can accidentally trigger one of the IRS’s most misunderstood rules: the wash sale rule.

The stakes are real. A single mistimed trade can wipe out a legitimate tax deduction, push that loss into the future, and create reporting issues that are easy to miss until tax time.

As a tax advisor, I see the same mistakes every year – especially from people juggling multiple brokerage accounts, automatic reinvestments, IRAs, controlled entities, and crypto alongside traditional securities.

Wash sales are confusing enough with stocks. Crypto makes the issue even messier. Current federal tax law generally treats crypto differently from stocks and securities, but that does not mean crypto traders are in the clear. Reporting is tightening, and some crypto-related products can still trigger wash sale problems. (IRS)

This guide walks through what the wash sale rule actually says, how it works in practice, where crypto fits, and the mistakes that create IRS headaches.

TL;DR

The wash sale rule applies to stocks and securities, but generally not to crypto under current federal tax law.

The wash sale window is 61 days total: 30 days before the sale, the sale date itself, and 30 days after.

If a wash sale applies, the loss is generally not gone forever – it is deferred into the basis of the replacement shares. But if the replacement purchase happens in an IRA or Roth IRA, the result can be far worse: the loss can effectively disappear permanently because the basis adjustment does not carry over into the IRA.

The IRS also takes the position in Publication 550 that spouse purchases and purchases by a corporation you control can create wash sale issues.

Brokers report some wash sales on Form 1099-B, but they usually cannot see activity across all accounts.

Crypto is generally treated as property rather than stock or securities, so selling it at a loss and buying it back generally does not trigger the traditional wash sale rule, even though Form 1099-DA reporting has begun for digital asset transactions starting in 2025. (IRS)

What Is the Wash Sale Rule?

The wash sale rule is designed to stop investors from claiming a tax loss while effectively keeping the same economic position.

Under IRC §1091, if you sell stock or securities at a loss and, within the surrounding 61-day window, acquire substantially identical stock or securities, the loss is disallowed at that time. The rule also applies if you enter into a contract or option to acquire substantially identical stock or securities within that period. (IRS)

That means the rule is not just about buying back the exact same shares after the sale. It can also apply to purchases made before the loss sale, certain options activity, and related-party situations that investors often overlook. The 2025 Schedule D instructions describe the same 30-days-before-or-after framework, and Publication 550 expands on several of the practical traps. (IRS)

Why the Rule Exists

Without the wash sale rule, an investor could sell a losing position, claim the tax loss, then buy the same investment right back and continue holding it as if nothing happened. The point of the rule is to prevent a taxpayer from taking a current loss deduction without meaningfully exiting the position. That is why the deduction is deferred rather than allowed immediately. (IRS)

A Simple Example

Suppose you buy a stock for $100 a share. It drops to $80. You sell it and lock in a $20 loss per share. Three days later, you buy the same stock back.

That loss is not currently deductible.

The IRS treats the repurchase as a wash sale because you sold at a loss and reacquired substantially identical stock inside the 61-day window. Instead, the loss gets folded into the basis of the replacement shares. Publication 550 and the regulations both describe this basic structure. (IRS)

The 61-Day Wash Sale Window

61 day rule wash sale

This is one of the easiest places for people to get tripped up. The wash sale rule is not just about the 30 days after the sale. The relevant window is 30 days before the sale, the date of the sale itself, and 30 days after – 61 days total. The 2025 Schedule D instructions and Publication 550 both describe the rule this way. (IRS)

So if you sell at a loss on November 15, your wash sale window runs from October 16 through December 15. A purchase on either side of that sale can trigger the rule.

Example

You already own 100 shares of Apple. The stock falls, and on November 1 you buy 50 more shares. Then on November 15 you sell the original 100 shares at a loss. That November 1 purchase can create a wash sale because it happened within 30 days before the loss sale.

That is where people get blindsided. They think only a buyback after the sale matters, when in reality a recent pre-sale purchase can cause the same problem.

What Counts as “Substantially Identical”?

This is where people want a bright-line rule, and unfortunately the IRS does not really give one.

Publication 550 makes clear that whether securities are substantially identical depends on the facts and circumstances. It also says that stock of one corporation is ordinarily not considered substantially identical to stock of another corporation. (IRS)

The clearest cases are easy. If you sell the same stock and buy it right back, that is a wash sale. If you sell shares and buy call options on the same stock, that can be a problem too. Contracts, options, and similar rights tied to the same security can trigger the rule.

By contrast, selling one company’s stock and buying a different company’s stock usually is not a wash sale. Selling Coca-Cola and buying Pepsi is generally not treated as substantially identical. They may sell similar products, but they are still separate companies with different financials, management, risks, and market performance. (IRS)

The gray areas are where people get overconfident. Two ETFs with similar exposure are not automatically substantially identical just because they both track a broad market segment. But as the benchmark, methodology, and holdings get closer, the wash sale risk gets harder to ignore. If you want to harvest losses conservatively, move into a fund with meaningfully different holdings, strategy, or index exposure. (IRS)

How a Disallowed Loss Actually Works

A disallowed wash sale loss is usually deferred, not erased. The disallowed loss is added to the basis of the replacement shares. Publication 550 states that if your loss was disallowed because of the wash sale rules, you add the disallowed loss to the cost of the new stock or securities – except in the IRA situation. (IRS)

For example, say you bought stock for $1,000, sold it for $750, and then bought substantially identical replacement shares a few days later for $800. You do not deduct the $250 loss immediately. Instead, that disallowed loss gets rolled into the basis of the replacement shares, giving them a $1,050 basis. In other words, the loss is deferred rather than lost.

That is why wash sales are frustrating but not always catastrophic. In most taxable-account situations, the loss is delayed, not permanently lost.

Common Mistakes That Trigger Wash Sales

Dividend reinvestment

If your dividends automatically buy additional shares or fractional shares inside the 61-day window, those purchases can trigger a wash sale even if your main loss sale was much larger. The IRS discusses dividend reinvestment plans in Publication 550 and treats reinvested dividends as purchases of additional shares. (IRS)

Spouse’s account

The second is a spouse’s account. The IRS takes the position in Publication 550 that if you sell stock at a loss and your spouse buys substantially identical stock, you also have a wash sale. From a practical reporting standpoint, that is the conservative approach to follow. A lot of people think separate accounts solve the problem. They do not. (IRS)

Corporation you control

Publication 550 says the same issue can arise if you sell stock at a loss and a corporation you control buys substantially identical stock. That does not come up as often as the spouse or IRA scenarios, but for business owners it is very much worth knowing. (IRS)

RA or Roth IRA purchase

The fourth is an IRA or Roth IRA purchase. This is one of the harshest outcomes in the entire wash sale area. Revenue Ruling 2008-5 holds that if you sell stock at a loss and acquire substantially identical stock in your IRA or Roth IRA within the wash sale window, the loss is disallowed and your basis in the IRA or Roth IRA is not increased by §1091(d). Practically speaking, the loss is gone. (IRS)

Multiple brokerages

One broker may only see what happened inside that one account. If you sell at Fidelity and buy back in Robinhood, the broker may not report the wash sale correctly on the 1099-B. That does not save you. It just means the reporting burden falls back on you. IRS rules for brokers only require wash sale reporting within a single account on identical positions. The Form 8949 instructions make clear that the burden of accurate cross-account reporting falls on the taxpayer. (IRS)

Crypto vs. Stocks: The Split Reality

This is where the planning conversation changes.

The wash sale statute applies to stocks and securities, while the IRS generally treats digital assets as property for federal tax purposes. That is why crypto generally falls outside the traditional wash sale rule under current law. (IRSCryptoTaxCPA – Is Crypto Subject to the Wash Sale Rule?)

That distinction matters because the whole point of the wash sale rule is substance over form.

Stocks

With stocks, the IRS does not want someone “selling” an investment at a loss for tax purposes and then immediately buying it right back as if nothing really changed. On paper it looks like a sale. In substance, the investor never really exited the position. That is why stock losses can be disallowed when the same position is reacquired too quickly. As we explained in an earlier article, the rule exists to stop taxpayers from harvesting losses without meaningfully changing their economic exposure. (CryptoTaxCPA – Is Crypto Subject to the Wash Sale Rule?IRS)

Crypto

Crypto currently sits on the other side of that line. So if someone sells Bitcoin at a loss and buys Bitcoin back immediately, that generally does not trigger the classic wash sale rule the way it would for stock. That is the current federal tax reality. (IRSCryptoTaxCPA – Is Crypto Subject to the Wash Sale Rule?)

But that does not mean crypto is a free-for-all. It means the specific wash sale rule in §1091 does not clearly reach spot crypto under current law because crypto is generally treated as property rather than stock or securities. That is a much narrower statement than saying the IRS has approved every same-day crypto loss-harvesting strategy.

In the Jarrett litigation, the IRS even stated that “the United States denies that virtual currency is in all instances property for the purpose of U.S. tax law.” That quote should make people pause. It does not mean ordinary Bitcoin or Ethereum suddenly fall under the wash sale rule today. But it does show that crypto classification is not as fixed or clean as many investors assume. (IRSCryptoTaxCPA – IRS Says Not All Crypto Is Property)

Why the Crypto Opportunity Exists

This is why crypto loss harvesting can be so powerful.

Today’s Capital Losses Can Shelter Future Gains

In a bear market, a lot of investors are sitting on large unrealized losses. Selling those positions can turn paper losses into real capital losses that can offset capital gains. And even if you do not have enough gains this year, those losses are not wasted. Capital losses carry forward indefinitely, which means today’s harvested losses may shelter future gains when the market recovers. That is the real planning value in many cases. It is often less about saving tax on this year’s return and more about building a bank of losses for future years. (IRSCryptoTaxCPA – Tax-Loss Harvesting)

Under current federal tax law, a crypto investor can often sell at a loss, realize that capital loss, and buy the same coin or token back immediately without automatically triggering the statutory wash sale rule. Stock traders do not get that same flexibility because their assets are plainly within §1091. (IRSCryptoTaxCPA – Is Crypto Subject to the Wash Sale Rule?)

That is why people talk about a crypto wash sale “loophole.” The word loophole is not perfect, but it captures the practical point: current law treats the two asset classes differently.

That loophole has been on borrowed time for a while. Congress has repeatedly proposed extending wash sale treatment to crypto, and some draft versions of the OBBBA would have done exactly that. Those provisions did not survive into the final law, so the planning opportunity is still there for now. But it is clearly on lawmakers’ radar, which means crypto investors should view this as a current advantage, not a permanent one. (FraimCPA – OBBBA vs. TCJA)

Why Crypto Still Isn’t Invisible

Even though crypto generally falls outside the traditional wash sale rule, taxpayers should not assume those trades are hidden or consequence-free. Digital asset reporting has expanded significantly through Form 1099-DA beginning with transactions on or after January 1, 2025. But that does not mean standard spot crypto is suddenly being wash-sale reported the same way securities are. Form 1099-DA’s wash-sale box is limited to digital assets that are also stock or securities for tax purposes – not ordinary spot Bitcoin or Ethereum. The bigger point is that reporting is tightening, not that spot crypto has silently been folded into the normal wash-sale system. (IRS digital assets pageIRS Instructions for Form 1099-DA)

The 2025 instructions for Form 1099-DA also state that brokers are not required to report basis information for 2025 sales, although basis reporting applies more broadly beginning with certain covered digital asset transactions in 2026 and beyond. So the reporting system is expanding, but it is not yet the same as mature 1099-B securities reporting. (IRS Instructions for Form 1099-DA)

Just because a strategy is available does not mean it is worth doing. Gas fees, exchange fees, tokenomics, slippage, and spread can all eat into the benefit. Selling and rebuying also resets your holding period, which can matter if you were close to long-term capital gain treatment. The real question is whether the tax savings justify the costs and side effects. (CryptoTaxCPA – Tax-Loss Harvesting)

The Crypto ETF Trap

This is where crypto traders can accidentally drift back into wash sale territory.

A share of a Bitcoin ETF is a security, while Bitcoin itself is generally treated as property. The wash sale risk is clearest with crypto ETFs and other securities-based products. It can also apply to digital assets that are themselves stock or securities for tax purposes, but not to ordinary spot crypto like Bitcoin or Ethereum under current federal tax law. The clearer wash sale problem is selling one crypto ETF at a loss and buying another crypto ETF with nearly identical exposure inside the wash sale window. Once you move into ETF wrappers, you are back in securities territory. (IRS)

Likewise, if you are trading options, funds, or other wrappers tied to securities, you are much more likely to trigger wash sale treatment than if you are dealing with spot crypto itself. (IRS)

Tax-Loss Harvesting Opportunities and Traps

Tax-loss harvesting is the strategy of selling positions at a loss so those losses can offset capital gains and, to a limited extent, ordinary income. Done properly, it can be a very useful planning tool. Done sloppily, it creates wash sales that either defer the tax benefit or blow it up completely.

For stock investors, conservative harvesting usually means selling the position, avoiding substantially identical replacements for at least 31 days after the sale, and turning off DRIPs or automatic purchases that might create a surprise replacement buy inside the window. It also means checking spouse accounts, controlled corporations, and retirement accounts – not just your own taxable brokerage. Publication 550 is especially useful here because the broker’s reporting may not catch all of those related-party or cross-account situations for you. (IRS)

For crypto investors, tax-loss harvesting can be more flexible because crypto generally is not subject to the statutory wash sale rule under current law. You may be able to sell, lock in the loss, and immediately buy back to keep the same market exposure. But volatility, fees, and poor recordkeeping can still make the strategy backfire. (IRS)

The $3,000 Loss Rule

Another point people often miss is that capital losses are not always immediately useful in full.

If your capital losses exceed your capital gains, you can generally use only up to $3,000 per year against ordinary income, with the rest carrying forward to future years.

That is why harvested losses can still be valuable even if they do not save much tax this year. But if a wash sale disallows or defers the loss, you may lose not only a current-year deduction, but also a carryforward you were expecting to use later.

Reporting Reality: 1099-B vs. 1099-DA

Traditional brokers report securities transactions on Form 1099-B, and many brokers calculate wash sales they can see inside that account. But those calculations are limited. They often do not pick up activity in another account, another brokerage, a spouse’s account, a controlled corporation, or an IRA. So a clean-looking 1099-B is not proof that you have no wash sale issues. (IRS)

Digital assets are moving into a similar reporting framework, but not all at once. The IRS says Form 1099-DA reporting begins with digital asset transactions on or after January 1, 2025. The 2025 instructions also say basis reporting is not required for 2025 sales, with fuller basis reporting requirements applying in 2026 and beyond for covered digital assets. That timing nuance matters because taxpayers may wrongly assume the first year of reporting means complete reporting. It does not. (IRSIRS Instructions for Form 1099-DA)

And again, the wash-sale box on Form 1099-DA is limited to digital assets that are also stock or securities for tax purposes. That is an important nuance. Standard spot crypto is not suddenly being treated exactly like a stock just because a new information return exists. (IRS Instructions for Form 1099-DA)

Crypto reporting is also getting more complicated in another major way: the IRS is no longer allowing the old “universal wallet” approach beginning in 2025. Cost basis now has to be tracked on a wallet-by-wallet or account-by-account basis, which means where you hold and sell the asset can materially change the reported gain or loss. As we discussed in earlier articles on the end of universal wallet accounting, that shift is likely to create confusion, mismatches, and in some cases phantom gains for taxpayers who assume all of their crypto still functions as one combined pool. (CryptoTaxCPA – 2025 Crypto Basis Rules: How to Minimize Capital GainsCryptoTaxCPA – Crypto Cost Basis 2025)

So the bigger picture is this: crypto is still outside the traditional wash sale rule in many cases, but the reporting side is becoming stricter and less forgiving. Investors now need to worry not just about whether a loss is allowed, but also about whether basis is being tracked correctly in the right wallet, on the right exchange, under the right accounting method.

Real-World Scenarios

Can you sell a stock at a loss and rebuy it immediately? Generally no, not without triggering wash sale treatment if the replacement is substantially identical and the transaction falls inside the 61-day window. (IRS)

Can you rebuy crypto immediately? Under current federal tax law, direct crypto generally is treated as property rather than stock or securities, so the traditional wash sale rule generally does not apply the same way. (IRS)

Does your spouse’s purchase matter? The IRS says yes in Publication 550, and from a conservative filing standpoint that is the practical position to follow. (IRS)

What if a corporation you control buys the replacement shares? Publication 550 says that can also create wash sale treatment. (IRS)

What if you buy the replacement in your IRA? That is one of the worst outcomes. The loss can be disallowed without the normal taxable-account basis recovery mechanism. (IRS)

What if your broker did not flag it? You are still responsible for correct reporting. Broker reporting is helpful, not definitive. (IRS)

What Usually Creates Wash Sale Problems

Most wash sale issues come from the same places: trades inside the full 61-day window, DRIP reinvestments, automatic purchases, spouse accounts, controlled corporations, IRAs, Roth IRAs, and activity spread across multiple brokerages.

Crypto can add another layer of confusion when investors move between the coin itself and security-based products like ETFs.

The more complete the records, the easier it is to identify those issues before filing. The less complete the records, the more likely it is that the tax return just follows whatever the broker happened to report – whether it was complete or not.

Key Takeaways

For Stock Investors

If you are trading stocks, funds, options, or ETFs, respect the full 61-day window.

Do not focus only on the 30 days after the loss sale. Be careful with substantially identical replacements, but also be careful about overconfidence in gray-area swaps that look “different enough” at first glance.

Turn off DRIPs when harvesting losses. Check spouse accounts. Check controlled entities. And do not repurchase through an IRA or Roth IRA. (IRS)

For Crypto Traders

If you are trading direct crypto, current law generally allows same-asset loss harvesting without automatically triggering the statutory wash sale rule because crypto is generally treated as property, not stock or securities.

But do not confuse direct crypto with crypto ETFs or other securities-based products. And do not assume new digital asset reporting means you can be casual with basis tracking or records. (IRS)

The Safest Approach for Stocks – and the Conservative Option for Crypto

If you are selling stocks or securities at a loss, the safest practical rule is simple: wait at least 31 days before buying back anything that might plausibly be viewed as substantially identical.

Crypto is different. Under current federal tax law, many spot-crypto transactions are still outside the statutory wash sale rule, which is one reason crypto tax-loss harvesting can be more flexible than stock loss harvesting. That means some investors may choose to sell, realize the loss, and buy back immediately to keep the same market exposure. But that flexibility should be used intentionally, not casually. If your goal is maximum simplicity and minimum gray-area risk, waiting 31 days is still the most conservative approach. If your goal is to use one of crypto’s current planning advantages, immediate repurchase may be part of the strategy.

When to Talk to a CPA

If you trade frequently, use multiple platforms, have large unrealized losses, move between taxable accounts and IRAs, own investments through controlled entities, or move between direct crypto and ETF exposure, wash sale issues are much easier to address before year-end than after the 1099s show up.

If you want a year-end wash sale review or guidance on tax-loss harvesting strategies tailored to your situation, reach out.