This article reflects federal tax rules as of June 2026 and covers tax year 2025 (the 2026 filing season). Tax law changes — confirm current figures before you file.
Quick Answer
Yes. For tax year 2025, if you sell a stock or fund at a loss and your spouse buys substantially identical securities within 30 days before or after your sale, the IRS treats it as a wash sale and disallows your loss. This applies even when you file separate returns and use separate brokers.
The reason this catches so many people off guard is simple: the tax code treats a married couple as one economic unit, so a loss you took in your account can be wiped out by a purchase your spouse made in theirs — sometimes without either of you knowing it happened. The most painful version is when the replacement shares land in your spouse’s IRA, because then the loss is gone for good, with no way to recover it later.
Timing makes this worse. With more households running two or three brokerage accounts and automatic dividend reinvestment switched on, an estimated record number of investors are tax-loss harvesting, and brokers only police wash sales inside a single account. That leaves the spousal trap entirely on you to catch before you file.
Here’s what you’ll learn:
- 🔍 Exactly why a spouse’s purchase triggers the rule, under IRC §1091 and §267
- 💸 A fully worked dollar example so you can copy the math on your own return
- ⚠️ The IRA “permanent loss” trap from Revenue Ruling 2008-5 that destroys the deduction forever
- 🧭 A decision aid that branches by filing status, account type, and timing
- ✅ The step-by-step fix on Form 8949 and Schedule D, plus 7 mistakes to avoid
What a Wash Sale Actually Is
A wash sale happens when you sell a security at a loss and, within a 61-day window, you buy back the same or a “substantially identical” security. That window runs 30 days before the sale, the day of the sale, and 30 days after — 61 calendar days in total, not 60.
The governing law is 26 U.S. Code §1091, and the IRS explains it in plain terms in Publication 550. The rule exists to stop a specific trick: selling a loser purely to grab the tax deduction, then buying it right back so your real investment position never changes. Congress decided you should not get a tax break for a loss you did not truly accept.
The consequence is that your loss is disallowed for the current year. You do not lose the loss entirely in a normal taxable account — instead, the disallowed amount is added to the cost basis of the replacement shares, so you recover it later when you sell those shares. The catch is timing: you wanted the deduction now, and the wash sale pushes it into the future.
A common misconception is that wash sales must be intentional. They do not. Reinvested dividends, automatic purchases, and a spouse’s unrelated trade can all trigger the rule with no bad intent at all. What you should do about it is straightforward: before you harvest a loss, check every account in your household — including your spouse’s — for any purchase of that security in the 61-day window.
The 61-Day Window in Plain Terms
The window is wider than most people assume. If you sell on March 15, the danger zone starts February 13 and ends April 14. A purchase anywhere in that span — even one made before your sale — can trigger the rule.
The consequence of misjudging the window is a disallowed loss you were counting on. People often think only purchases after the sale matter; in fact a buy 30 days before the sale counts too. To stay safe, wait at least 31 days after your sale before rebuying, and confirm no automatic buys (like reinvested dividends) hit in the prior 30 days.
Why Your Spouse’s Account Is Pulled In
Two separate parts of the tax code reach into a spouse’s account, and understanding both explains why the loss is disallowed no matter how you slice it.
The first is the wash sale rule itself. Although the statute, §1091, does not literally use the word “spouse,” the IRS states the position directly in Publication 550: “If you sell stock and your spouse or a corporation you control buys substantially identical stock, you also have a wash sale.” So in the eyes of the IRS, a married couple is one taxpayer for this purpose, and your spouse’s purchase is treated as if you made it yourself.
The second is the related-party rule under 26 U.S. Code §267. Spouses are named explicitly in this statute as related parties, and losses on sales between related parties can be permanently disallowed. The consequence here is harsher than a wash sale, because §267 has no basis-adjustment mechanism — a loss disallowed under §267 is not added to the buyer’s basis the way a wash-sale loss is.
A common misconception is that filing separate returns or using separate brokerages breaks the link. It does not. Marriage, not filing status or account location, is what binds the two of you together for this rule. What you should do is treat both spouses’ taxable accounts, IRAs, and Roth IRAs as a single pool when planning any loss sale.
The §1091 vs. §267 Debate
There is genuine, unsettled debate among tax professionals about which statute governs a spousal wash sale. Spouses appear in both sections of Publication 550, which muddies the water.
The practical answer is that it rarely matters to the bottom line: the loss is disallowed either way. The technical difference is recovery. If the transaction is treated as a §1091 wash sale, the disallowed loss is added to the replacement shares’ basis, so you recover it on a future sale. If it falls under §267 as a related-party sale, there is no basis bump — though the related party may offset the disallowed loss against gain when they eventually sell. Section 267 itself states it does not apply when the loss is already disallowed under §1091, which is why most ordinary spousal cases are handled as wash sales. This is unsettled enough that a large dollar amount warrants a CPA’s review.
A Fully Worked Dollar Example
Numbers make this concrete. Walk through the math line by line so you can apply it to your own return.
Suppose you bought 200 shares of an S&P 500 ETF for $50 per share, a $10,000 cost. The price falls to $42, and on March 10, 2025, you sell all 200 shares for $8,400, locking in an $1,600 loss you plan to deduct. Eight days later, on March 18, your spouse — managing a separate account at a different broker — buys 200 shares of the same ETF for $43 per share, $8,600.
Because your spouse bought substantially identical shares inside the 61-day window, your $1,600 loss is disallowed for tax year 2025. You cannot deduct it now. Instead, the $1,600 is added to your spouse’s cost basis: their $8,600 purchase now has a basis of $10,200. When your spouse later sells those shares for, say, $11,000, the taxable gain is only $800 ($11,000 minus $10,200), not $2,400 — so the loss is recovered, just delayed.
Now change one detail. Suppose your spouse instead bought those 200 shares inside their Roth IRA on March 18. Per Revenue Ruling 2008-5, your $1,600 loss is still disallowed — but there is no basis adjustment in the Roth IRA. The $1,600 deduction is gone permanently, with no future recovery, because IRA shares have no taxable basis to bump. That single choice turns a timing inconvenience into a $1,600 cash loss at, say, a 24% bracket — roughly $384 of real tax benefit destroyed forever.
The IRA and Roth IRA Trap
This is the highest-stakes version of the spousal wash sale, and it deserves its own warning. Revenue Ruling 2008-5 confirms that when you sell at a loss in a taxable account and substantially identical shares are bought in an IRA or Roth IRA — yours or your spouse’s — the loss is disallowed under §1091.
The consequence is uniquely severe. In a normal taxable wash sale, the disallowed loss rides along as added basis on the replacement shares. But IRAs and Roth IRAs have no taxable basis that capital losses can attach to, so the ruling holds there is no basis increase. The deduction vanishes with no mechanism to ever get it back.
A common misconception is that the IRA’s tax-sheltered status somehow protects the loss. The opposite is true — the shelter is exactly why the loss disappears. What you should do is keep your taxable holdings and your (and your spouse’s) IRA holdings in different funds, and pause automatic IRA contributions and dividend reinvestment into any fund you might soon sell at a loss in a taxable account. The IRS has not ruled on whether 401(k) or 403(b) accounts are covered, so the cautious move is to treat them the same way.
Which Situation Applies to You?
The right answer depends on your facts. Use this branch to find the section that fits your household.
- You and your spouse both hold the same fund in taxable accounts — the standard spousal wash sale applies; your loss is disallowed but added to the replacement shares’ basis (see the worked example above).
- Your spouse’s replacement purchase landed in an IRA or Roth IRA — the loss is permanently disallowed under Revenue Ruling 2008-5 with no basis recovery; this is the worst case.
- You file Married Filing Separately — the rule still applies; marriage, not filing status, binds you, though you each report on your own return.
- The trade was purely coincidental and not prearranged — a narrow §267 exception may apply, but only if the rule is read as related-party rather than wash sale; do not rely on it without professional advice.
- You bought a similar but not identical fund (different index or provider) — likely no wash sale, because the securities are not substantially identical.
Married Filing Jointly vs. Married Filing Separately
People hope that filing separately will quarantine each spouse’s trades. It will not change whether the wash sale exists, but it does change the mechanics of reporting.
| Filing Status | How the Spousal Wash Sale Works |
|---|---|
| Married Filing Jointly | Both spouses’ gains and losses land on one Schedule D; the disallowed loss and the basis adjustment are easy to track because everything is on one return. |
| Married Filing Separately | The wash sale still applies because the IRS treats you as related under Publication 550; you each report your own trades, but the loss is still disallowed and the basis still shifts to whichever spouse bought the shares. |
The key takeaway is that filing separately is not a workaround. If anything, it makes the bookkeeping harder, because the loss and the offsetting basis adjustment can sit on two different returns.
Three Common Scenarios
Below are the three situations that come up most often, each shown as an action and its tax result.
Scenario 1: Same Fund, Two Taxable Brokers
| What Happens | Tax Result |
|---|---|
| You sell VTSAX at a $2,000 loss; 10 days later your spouse buys VTSAX in a separate taxable account | Wash sale: your $2,000 loss is disallowed for 2025 but added to your spouse’s basis, recoverable on a later sale |
Scenario 2: Spouse Rebuys in a Roth IRA
| What Happens | Tax Result |
|---|---|
| You sell an ETF at a $3,000 loss; your spouse’s Roth IRA buys the same ETF within 30 days | Wash sale under Rev. Rul. 2008-5: the $3,000 loss is permanently disallowed with no basis recovery |
Scenario 3: Spouse Buys a Different Index Fund
| What Happens | Tax Result |
|---|---|
| You sell an S&P 500 fund at a loss; your spouse buys a total-market or Russell 1000 fund instead | No wash sale, because the funds are not substantially identical; your loss stands |
Three Named Examples
Maria and David, joint filers. Maria sells 300 shares of a tech ETF on April 2, 2025, for a $4,500 loss. David, who runs his own brokerage account, buys 300 shares of the identical ETF on April 20 to “buy the dip.” Because they are married, Maria’s $4,500 loss is disallowed for 2025 and added to David’s cost basis. They recover it only when David sells.
Priya, harvesting into a spouse’s Roth. Priya sells an index fund in her taxable account for a $2,800 loss on June 5, 2025. Her husband’s Roth IRA has automatic monthly purchases of the same fund, and one buys shares on June 12. Under Revenue Ruling 2008-5, Priya’s $2,800 loss is gone forever — no basis adjustment exists in the Roth.
Tom and Lena, the coincidence. Tom sells a stock at a loss on the open market. Three weeks later Lena independently buys the same stock through a different broker, with no plan or coordination between them. Under the §267 “purely coincidental and not prearranged” exception, the related-party disallowance may not apply — but the IRS could still assert a §1091 wash sale, so they consult a CPA before claiming the loss.
How to Report It: Form 8949 and Schedule D
When a wash sale happens, you do not simply drop the loss. You report the sale and then back out the disallowed portion, following the Form 8949 instructions.
The process runs through Form 8949, which feeds into Schedule D. You enter the sale as usual, then use code W in column (f) to flag a wash sale, and enter the disallowed loss as a positive number in column (g). The net effect is that the disallowed amount is removed from your deductible loss for the year.
The consequence of skipping this step is an inaccurate return. Because brokers only report wash sales within one account and one CUSIP, your 1099-B will not show a spousal cross-account wash sale — so the IRS computer may not flag it, but the loss is still legally disallowed, and claiming it is an error. What you should do is manually adjust on Form 8949 for any household purchase you find, and keep records of both spouses’ trade confirmations in case you need to prove the basis adjustment years later. There is no separate filing deadline; this is handled on your regular return, due April 15, 2026, for tax year 2025.
Mistakes to Avoid
- Assuming separate brokers are safe. The rule spans all accounts in the household; the disallowed loss follows you regardless of which firm holds the shares.
- Forgetting reinvested dividends. An automatic dividend reinvestment in your spouse’s account can trigger a wash sale you never intended, costing you the deduction.
- Rebuying on day 30. The window is 61 days, including the sale date; buying on day 30 still falls inside it and disallows the loss.
- Letting a loss land in an IRA. A replacement buy in either spouse’s IRA or Roth IRA destroys the loss permanently under Revenue Ruling 2008-5.
- Trusting the 1099-B blindly. Brokers do not track cross-account or spousal wash sales, so a clean 1099-B does not mean you are clear.
- Filing separately to dodge the rule. Separate returns do not break the marital link; the loss is still disallowed and the bookkeeping gets harder.
- Buying a fund from the same provider tracking the same index. Two share classes of one fund, or an ETF and its mutual-fund twin, are likely substantially identical and will trigger the rule.
- Ignoring the year-end calendar. A December sale and a January rebuy still create a wash sale; the 30-day window crosses tax years.
Do’s and Don’ts
- Do map every household account before harvesting a loss, because the rule pools you and your spouse together.
- Do wait at least 31 days to rebuy, because that clears the 61-day window safely.
- Do switch into a similar-but-not-identical fund if you must stay invested, since that avoids the “substantially identical” trigger.
- Do turn off automatic dividend reinvestment in funds you may sell at a loss, because auto-buys cause accidental wash sales.
- Do keep both spouses’ trade confirmations, because you may need to prove the basis adjustment years later.
- Don’t rely on a clean 1099-B, because brokers do not report spousal cross-account wash sales.
- Don’t route a replacement purchase into an IRA, because the loss then disappears forever.
- Don’t assume “coincidental” trades are automatically safe, because the IRS may still assert a §1091 wash sale.
- Don’t treat married filing separately as a loophole, because marriage — not filing status — controls the rule.
- Don’t buy the same index fund from the same provider, because it is the highest-risk “substantially identical” pair.
Pros and Cons of the Wash Sale Outcome
- Pro: In a taxable account, the disallowed loss is not lost — it is added to the replacement shares’ basis, so you recover it on a later sale.
- Pro: Your original holding period carries over to the replacement shares, which can help you reach long-term capital-gains rates sooner.
- Pro: A higher basis on the replacement shares lowers your future taxable gain, deferring tax.
- Con: You lose the deduction this year, when you may have been counting on it to offset gains or income.
- Con: If the replacement buy is in an IRA or Roth IRA, the loss is permanently destroyed with no recovery.
- Con: Tracking the basis adjustment across two spouses’ accounts is complex and error-prone.
- Con: Because brokers do not catch spousal wash sales, the compliance burden falls entirely on you.
Does Your State Follow This Rule?
Start with the federal rule, then check your state. The wash sale outcome above is a federal rule under §1091, and it flows into your federal capital-gains figure.
Most states with an income tax begin with federal adjusted gross income or federal taxable income, so they generally conform to the federal wash sale treatment automatically — the disallowed loss is already baked into the federal number they import. States with no income tax — such as Florida, Texas, Washington, and Nevada — do not tax this at all, so the question is moot for residents there. Because a handful of states make their own capital-gain adjustments, you should confirm the rule with your state’s department of revenue before filing, especially if you have a large disallowed loss.
What to Do Next
- List every household account — yours and your spouse’s taxable, IRA, and Roth IRA accounts — before you sell anything at a loss.
- Check the 61-day window around your planned sale date for any purchase of the same security in any of those accounts.
- If you must stay invested, buy a similar but not substantially identical fund instead of the same one.
- If a wash sale already happened, flag it with code W on Form 8949 and adjust the loss before filing your 2025 return by April 15, 2026.
- Gather and keep trade confirmations from both spouses to support the basis adjustment.
- Call a CPA or tax attorney if the disallowed loss is large, if the replacement landed in an IRA, or if you are unsure whether §1091 or §267 governs your facts.
This article is educational and is not a substitute for advice from a licensed tax professional about your specific situation. When the dollars are significant or the facts are unusual, a CPA or tax attorney can confirm the treatment and help you report it correctly.
FAQs
Can my spouse’s stock purchase trigger a wash sale on my loss?
Yes. For tax year 2025, the IRS treats married couples as one taxpayer for the wash sale rule, so your spouse buying substantially identical shares within 30 days of your loss sale disallows your deduction, even with separate accounts.
Does filing separately avoid the spousal wash sale rule?
No. Marriage, not filing status, controls the rule. If you file Married Filing Separately, the wash sale still applies; you each report your own trades, but the loss is disallowed and the basis still shifts to the spouse who bought.
What happens if my spouse rebuys the shares in an IRA?
The loss is permanently destroyed. Under Revenue Ruling 2008-5, a replacement purchase in either spouse’s IRA or Roth IRA disallows the loss with no basis adjustment, so there is no way to ever recover the deduction.
How long is the wash sale window?
61 days. It covers 30 days before your sale, the sale date itself, and 30 days after. A purchase anywhere in that span — including before the sale — can trigger the rule.
Will my broker catch a spousal wash sale?
No. Brokers are only required to track wash sales on the same CUSIP within the same account. Cross-account and spousal wash sales are your responsibility to identify and report.
What counts as a substantially identical security?
There is no precise IRS definition. Two share classes of one fund, or an ETF and its mutual-fund twin, are likely identical. Funds tracking different indexes, or from different providers, are generally not.
How do I report a wash sale on my tax return?
On Form 8949. Enter the sale, use code W in column (f), and report the disallowed loss as a positive figure in column (g). The totals carry to Schedule D of your Form 1040.
Can I deduct the loss later?
Yes, in a taxable account. The disallowed loss is added to the replacement shares’ cost basis, so you recover it when those shares are sold. This recovery does not exist for IRA replacement purchases.
Does reinvested dividends in my spouse’s account cause a wash sale?
Yes. An automatic dividend reinvestment is a purchase. If it buys substantially identical shares within the 61-day window of your loss sale, it can disallow part or all of your loss.
Are coincidental spousal trades exempt?
Sometimes, but not reliably. A purely coincidental, non-prearranged trade may escape the §267 related-party rule, but the IRS can still assert a §1091 wash sale, so confirm with a professional before claiming the loss.
Does the wash sale rule apply across calendar years?
Yes. A sale on December 15 and a repurchase on January 4 still create a wash sale. The 30-day window is not confined to a single tax year.
Do 401(k) purchases trigger a spousal wash sale?
Unsettled. The IRS has not ruled that 401(k) or 403(b) accounts are exempt, and it has not ruled they are covered either. The cautious approach is to treat them like an IRA and avoid replacement buys.
Word count: approximately 3,650 words. This article reflects federal rules as of June 2026 for tax year 2025.
Related reading
- Do Stock Brokers Catch Every Wash Sale? (w/Examples) + FAQs
- Does a Wash Sale Apply Across Two Brokerages? (w/Examples) + FAQs
- Does a Wash Sale Make You Lose the Loss Forever? (w/Examples) + FAQs
- Does Your IRA Trigger a Wash Sale on Your Taxable Account? (w/Examples) + FAQs
- How Do You Tax-Loss Harvest Without a Wash Sale? (w/Examples) + FAQs
- Why Does Your 1099-B Show a Wash Sale? (w/Examples) + FAQs