top of page

The Wash Sale Rule — How Buying Back Too Soon Can Erase Your Tax Loss (and Leave You With a Phantom Gain)

Investor reviewing wash sale rule disallowed losses with a tax preparer at Pathfinding Consultants in Irvine Orange County

Here is a tax outcome that shocks investors every year: someone loses money in the market — real money — and still ends up owing tax on a large capital gain. How is that possible? The answer is almost always the same: the wash sale rule. Active investors who sell at a loss and buy the same investment back too quickly can have their losses DISALLOWED, while their gains remain fully taxable. The result can be a tax bill on a 'phantom gain' — a gain that exists on the tax return even though the investor actually lost money overall. This often happens to people doing tax loss harvesting without tracking the calendar, because the wash sale 30 day rule quietly undoes the loss they were trying to capture. This article explains exactly how the wash sale rule works, the precise time window that triggers it under the wash sale 30 day rule, what counts as buying back, the consequences, and how it can produce that phantom gain — all based on IRS rules. As a provider of business tax services Orange County investors rely on, Pathfinding Consultants sees the wash sale 30 day rule trip up active traders every filing season, and good tax loss harvesting only works when the wash sale rules are respected. If you want business tax services Orange County residents trust to review your trades, professional help is worthwhile here. It is not trading advice; the goal is to help you understand the trap so you can have a qualified tax preparer review your trades before you file.

What the Wash Sale Rule Is

The wash sale rule comes from Internal Revenue Code Section 1091. In plain terms: if you sell a stock or security at a LOSS, and you buy the same or a 'substantially identical' stock or security within a set window around that sale, the IRS does not let you deduct the loss for that year. The loss is 'disallowed.' The rule exists to stop investors from selling purely to claim a tax loss while immediately stepping right back into the same position (source: IRC §1091; IRS Publication 550).

THE CORE OF THE RULE

  • It applies to a sale of stock or securities at a LOSS — gains are never affected by the wash sale rule

  • It is triggered by buying the same or substantially identical securities within the window around the loss sale

  • When triggered, the capital loss is DISALLOWED for the current tax year

  • The disallowed loss is generally not gone forever — it is deferred (explained below) — but it cannot reduce your taxes this year

The key thing to understand up front is that the wash sale rule only ever works against a LOSS. It never reduces or defers a gain. That asymmetry — gains taxed, losses disallowed — is exactly what creates the painful outcomes later in this article (source: IRC §1091; IRS Publication 550).

The 61-Day Window: 30 Days Before AND 30 Days After

The wash sale window runs 30 days before and 30 days after the sale for 61 days tota

The single most important detail of the wash sale 30 day rule is that the window runs in BOTH directions. Many investors assume it is only about buying back after a sale. It is not. The rule looks 30 days BEFORE the sale and 30 days AFTER the sale (source: IRC §1091; IRS Publication 550).

HOW THE WINDOW WORKS

  • 30 calendar days BEFORE the loss sale

  • The day of the sale itself

  • 30 calendar days AFTER the loss sale

  • Total: a 61-day window centered on the sale date

  • A purchase of substantially identical securities ANYWHERE in that 61-day window can trigger the rule — even a purchase made BEFORE you sold at a loss

Illustrative timeline — dates simplified for explanation only:  You sell shares of a stock at a loss on June 15.  • Any purchase of the same or substantially identical stock from May 16 through July 15 (30 days before through 30 days after) falls inside the window. • If you bought that stock on June 10 (5 days before the sale) — wash sale. • If you bought it back on June 20 (5 days after the sale) — wash sale. • If you waited and bought it on July 20 (more than 30 days after) — generally NOT a wash sale.  The takeaway: counting only the days AFTER the sale is a common mistake. The 30 days BEFORE matter just as much.

What Counts as 'Buying Back' — Substantially Identical Securities, and Across Accounts

The wash sale rule is triggered by buying 'substantially identical' stock or securities — not only the exact same shares. It also reaches across more accounts and people than investors expect (source: IRC §1091; IRS Publication 550; Revenue Ruling 2008-5).

KEY POINTS ON WHAT TRIGGERS IT

  • 'Substantially identical' generally means the same company's stock; it can also include a contract or option to acquire substantially identical stock

  • It applies across ALL of your accounts — selling at a loss in one brokerage account and rebuying in another can still be a wash sale

  • A purchase in your IRA can trigger a wash sale on a loss taken in your taxable account (Revenue Ruling 2008-5)

  • A purchase by your spouse, or by a corporation you control, can also trigger the rule (IRS Publication 550)

  • Your broker reports wash sales for identical securities within the SAME account on Form 1099-B — but generally NOT across different accounts or for your spouse's trades, so those can be missed

That last point is where many wash sales slip through. Because the 1099-B from a single broker does not capture trades in your other accounts, your IRA, or your spouse's account, an investor (and even automated tax software) can easily overlook wash sales that span accounts. Catching those is part of an accurate return, and it is one reason a careful review of all your trades matters (source: IRS Publication 550; Revenue Ruling 2008-5).

The Consequence: Disallowed Loss and the Cost Basis Adjustment

When a wash sale happens, the loss is disallowed for the current year — but, in most cases, it is not permanently lost. The IRS rules move the disallowed loss into the cost basis of the replacement shares you bought. This is the cost basis adjustment, and understanding it is key to understanding why the loss is deferred rather than destroyed (source: IRC §1091; IRS Publication 550).

WHAT HAPPENS TO THE DISALLOWED LOSS

  • The disallowed loss is ADDED to the cost basis of the replacement shares

  • The holding period of the shares you sold is also added to the holding period of the replacement shares

  • Because the basis is higher, you will recognize a smaller gain (or a larger loss) when you eventually sell the replacement shares in a non-wash transaction — so the benefit is DEFERRED, not erased

  • CRITICAL EXCEPTION: if the replacement shares are bought in an IRA, the disallowed loss is PERMANENTLY lost — there is no basis increase to the IRA (Revenue Ruling 2008-5)

So in an ordinary taxable account, a wash sale is mainly a TIMING problem: you cannot use the loss now, but you get it back later through the higher basis on the replacement shares — as long as you eventually sell those replacement shares outside a wash window. The one place a wash sale can truly DESTROY a loss is when the replacement purchase happens inside an IRA, where the basis adjustment does not apply (source: IRC §1091; Revenue Ruling 2008-5).

The Phantom Gain: How a Real Loss Becomes a Taxable Gain

A real economic loss can become a taxable phantom gain when wash sale losses are disallowed

This is the outcome that hurts the most, and it is more common than people realize — especially for active traders who buy and sell the same names repeatedly. Remember the asymmetry: gains are always taxable, but wash sale losses are disallowed in the current year. If an active investor keeps selling at a loss and rebuying within the 61-day window, those losses keep getting disallowed — while any gains they realize stay fully taxable. The result can be a large TAXABLE capital gain on the tax return, even though the investor actually LOST money overall for the year (source: IRC §1091; IRS Publication 550).

Illustrative example — rounded figures for explanation only; not a specific taxpayer:  An active trader buys and sells the same volatile stock many times during the year. Across all the trades, the trader actually LOSES about $300,000 in real economic terms.  But here is what happens on the tax return: • The winning trades (the gains) are all fully taxable. • Most of the losing trades are wash sales — the trader rebought the same stock within the 61-day window each time — so those losses are DISALLOWED for the year. • The disallowed losses get added to the basis of the replacement shares — but if the trader is still holding those shares at year-end, the deferred loss has not yet been used.  The outcome: the tax return can show a large taxable gain — potentially $300,000 or more — even though the trader's account actually went DOWN by about $300,000 for the year. The economic loss is real; the taxable 'phantom gain' is the result of the wash sale rule disallowing the losses while the gains remained taxable.

This phantom-gain scenario is devastating precisely because it is invisible until the return is prepared. The investor feels they lost money — and they did — so a large tax bill comes as a complete shock. The disallowed losses are not gone forever (they sit in the basis of the shares still held, to be recognized when those shares are finally sold outside a wash window), but that is cold comfort when a tax bill is due now on money that was actually lost. Avoiding this outcome starts with understanding the 61-day window and tracking trades across every account (source: IRC §1091; IRS Publication 550).

How Wash Sales Are Reported

Wash sales have a specific place on the tax return, and knowing how they are reported helps explain why they are so easy to miss (source: IRS Publication 550; IRS Form 8949 and Schedule D instructions).

REPORTING FACTS

  • Wash sales are reported on Form 8949, using code 'W' in the adjustment column

  • The disallowed loss amount is entered as a positive adjustment, which removes it from the currently deductible loss

  • Totals carry to Schedule D, where capital gains and losses are netted

  • Brokers flag wash sales for identical securities in the SAME account on the Form 1099-B — but generally not across different accounts, IRAs, or a spouse's trades

Because the 1099-B only catches wash sales within one account, a return prepared straight from a single 1099-B can understate wash sales when trading is spread across multiple accounts. Identifying those cross-account wash sales — and applying the basis adjustments correctly — is detailed work, and it is exactly where a careful preparer adds value for an active investor (source: IRS Publication 550).

How Pathfinding Consultants Helps

The wash sale rule is one of the most misunderstood parts of investment taxation, and the phantom-gain outcome it can produce is one of the most painful surprises at filing time. The rule is built into IRC §1091, the 61-day window runs in both directions, and it reaches across accounts, IRAs, and even a spouse's trades — which is why it is so easy to miss. As a provider of business tax services Orange County investors and business owners rely on, Pathfinding Consultants reviews your full trading activity across all accounts, identifies wash sales the 1099-B may have missed, applies the cost basis adjustments correctly, and makes sure your capital gains and losses — including any tax loss harvesting you did — are reported accurately. If you are an active investor and want to avoid a phantom-gain shock, we can review your trades before you file. The earlier we look, the more we can help.

Active Investor? Don't Let a Wash Sale Surprise You — Talk to Pathfinding Consultants

Or call (949) 620-1036 to speak with the Pathfinding Consultants team.

IRS DISCLAIMER: This page is for general informational purposes only and does not constitute tax or legal advice, and is not investment advice. Tax laws are complex and subject to change. The examples shown are illustrative only and are not predictions of any specific result. Please consult a qualified tax professional before making any tax decisions. IRS.gov is the authoritative source for all federal tax information.

Sources (IRS): • Internal Revenue Code §1091 — Loss from wash sales of stock or securities • IRS Publication 550 — Investment Income and Expenses (wash sale rules; substantially identical securities) • IRS Publication 544 — Sales and Other Dispositions of Assets • Revenue Ruling 2008-5 — Wash sale where replacement shares are purchased in an IRA (loss permanently disallowed) • Internal Revenue Code §1211 and §1212 — Capital loss limitation and carryforward (context) • IRS Form 8949 and Schedule D — Reporting of sales and wash sale adjustments (code 'W')


Comments


bottom of page