Wash Sale 61-Day Rule: How the 30+1+30 Window Actually Works
The wash sale 61-day rule is the full window during which a repurchase kills your tax deduction: 30 days before you sell a security at a loss, the day of the sale itself, and 30 days after — 30 + 1 + 30 = 61 days. Buy the same or a "substantially identical" security (or an option to buy it) anywhere inside that window and the IRS disallows your loss under IRC Section 1091, deferring it into the basis of the replacement position instead.
Most articles stop at that definition. As options traders, we hit this rule in places the definition never mentions — assignments, rolls, December tax loss harvesting that spills into January, and a covered call you bought back at a loss. This guide maps the window day by day and flags the exact trades that trip it.
The 61-Day Window, Day by Day
The rule's arithmetic is simple but the direction trips people up. The window is anchored on the date of the loss sale, and it extends both backward and forward:
| Window segment | Calendar position | What it catches |
|---|---|---|
| Days −30 to −1 | 30 days before the loss sale | "Doubling up" — buying extra shares or contracts before you dump the old lot at a loss |
| Day 0 | The loss sale itself | Same-day repurchases, including automated rebalancing |
| Days +1 to +30 | 30 days after the loss sale | The classic trap: selling at a loss and buying back too soon |
The rule is governed by IRC Section 1091 and explained in plain language in IRS Publication 550 ("Investment Income and Expenses"). Two consequences follow from the day count:
- Your safe repurchase date is day 31 after the sale, not day 30. Sell at a loss on March 10 and the window runs through April 9. You can repurchase on April 10 with the loss fully deductible.
- The backward half of the window is invisible to most traders. Buy 100 shares of XYZ on November 20, then sell your older lot of 100 shares at a loss on December 5 — the November 20 purchase is your replacement lot and the loss is disallowed. You never "repurchased after the sale," yet the wash sale still applies.
Worked Example: Harvesting a Loss Without Tripping the Window
Say you own 200 shares of a semiconductor stock you bought at $85. In mid-December it trades at $60, and you want to harvest the $5,000 loss against this year's gains. Here is the timeline done correctly:
| Date | Action | Wash sale status |
|---|---|---|
| Dec 15 | Sell 200 shares at $60 → $5,000 realized loss | Day 0 — window opens |
| Dec 15 – Jan 14 | Own no shares, no calls, no deep ITM puts on this ticker, in any account | Window is running |
| Jan 14 | Last day of the 61-day window (day +30) | Do not buy yet |
| Jan 15 | Day +31 — repurchase 200 shares | Loss is deductible in full |
The $5,000 loss offsets gains this year; your repurchase in January starts a fresh basis and holding period.
Now the same trade done wrong. You sell on December 15, but on January 5 you see the stock pop 8% and buy back in. That January 5 purchase lands on day +21 — inside the window. The $5,000 loss is disallowed. It is not gone forever: it gets added to the basis of your new shares, and the holding period of the old shares tacks on. But you lose the deduction this year, which was the entire point of the harvest.
For the math on adjusted basis after a disallowed loss — including multi-lot and partial-repurchase cases — the wash sale calculator walkthrough has the formulas. The broader rulebook, including what counts as "substantially identical," is in our wash sale rules guide.
The Options-Specific Traps Nobody Warns You About
Publication 550 extends the rule to options, and this is where active traders get clipped. Acquiring "a contract or option to buy substantially identical stock or securities" inside the window triggers the wash sale just as buying the shares does.
| Trade inside the window | Wash sale risk |
|---|---|
| Buy shares of the same stock | Yes — direct repurchase |
| Buy a call option on the stock | Yes — acquiring an option to buy |
| Write a deep in-the-money put | Likely — economically equivalent to buying shares |
| Write an out-of-the-money cash-secured put | Generally no |
| Sell a covered call (hold long stock, sell calls) | Generally no — you are selling an option, not buying one |
| Roll a losing option to a new strike/expiration | Generally no — different contract, not substantially identical |
| Close a losing option leg and reopen the identical contract | Yes — same strike, same expiration, same type |
Three scenarios deserve extra attention:
Assignment chains. You sell a cash-secured put, it expires in the money, and you are assigned shares. If you then sell those shares at a loss and sell another put on the same ticker within the window, the analysis gets messy fast — a deep ITM put written inside the window can itself be the replacement acquisition. Keep assignment dates in a journal alongside your sale dates; our guide to options assignment tracking covers why those dates drive your basis.
Covered calls closed at a loss. You bought back a covered call at a loss, then sold a new call on the same stock within 30 days. If the new call has the same strike and expiration — or is close enough to be substantially identical — the loss on the buyback is deferred. Changing the strike or expiration is usually enough to stay clear. See covered call tax rules for how this interacts with qualified covered call treatment.
The Section 1256 escape hatch. Broad-based index options — SPX, RUT, NDX, XSP — are Section 1256 contracts. They are exempt from wash sale rules entirely and get 60/40 long-term/short-term treatment regardless of holding period. Traders who harvest losses frequently often migrate their index exposure to SPX options partly for this reason. The details are in SPX options tax treatment.
The Year-End Trap: December Losses, January Repurchases
The single most common 61-day violation happens around New Year's. You harvest losses in the last week of December, the market rallies in the first week of January, and you buy back in. January 5 is only day +9 after a December 27 sale — squarely inside the window.
Worse, a December loss sale has a second trap on the backward side: anything you bought in late November counts as a replacement lot. Before you harvest in December, audit your November purchases and your automatic dividend reinvestment settings — a DRIP buying shares on December 1 while you harvest on December 20 is a wash sale.
A practical workaround used by tax-aware traders: swap into a correlated but not substantially identical fund for the 31 days. Sell an S&P 500 index fund tracking one index and buy a fund tracking a different index (different index provider, different methodology). You keep market exposure through January without holding a substantially identical security. Whether two funds are substantially identical is a facts-and-circumstances call — funds tracking the same index are risky; different indices are the standard approach.
The IRA Trap: A Loss You Never Get Back
The 61-day window follows you across every account you control — taxable, IRA, Roth, and your spouse's accounts. Most cross-account wash sales are merely annoying: the loss defers into the replacement lot's basis.
The IRA version is permanent. Under IRS Revenue Ruling 2008-5, if you sell at a loss in a taxable account and repurchase the same security in your IRA within the window, the loss is disallowed and there is no basis adjustment inside the IRA to recover it later. The deduction dies. No other account type does this to you — it is the one wash sale that costs real money forever.
What Happens When You Do Trip the Rule
A disallowed loss is deferred, not deleted (except the IRA case above):
- The disallowed amount is added to the cost basis of the replacement shares or contracts.
- The holding period of the old position tacks on to the replacement, which can convert what would have been a short-term gain into a long-term one later.
- Your broker reports the adjustment in Box 3 of Form 1099-B — but only for identical securities in the same account. Cross-account wash sales, options-vs-shares cases, and anything involving your IRA are on you to catch. Our 1099-B walkthrough shows how to reconcile broker adjustments against your own records.
If you trade frequently, do not wait for the 1099-B. Track window dates as you trade — a trading journal that logs sale dates next to every repurchase is the difference between a clean December harvest and a surprise deferred loss in April. For a full estimate of your year-end liability after adjustments, run the numbers through the options tax calculator.
This article is for education, not tax advice. Wash sale application to options, correlated funds, and cross-account situations involves facts-and-circumstances judgment — confirm close cases with a CPA who works with active traders.
FAQ
What exactly is the wash sale 61-day rule?
It is the full lookback and lookforward window of IRC Section 1091: 30 days before the date you sell at a loss, the day of the sale itself, and 30 days after — 61 days total. If you buy or acquire substantially identical stock or securities (including an option or contract to buy them) anywhere inside that window, the loss is disallowed and added to the basis of the replacement position.
Does buying before the loss sale really count as a wash sale?
Yes. Most traders only think about the 30 days after the sale, but the rule looks backward too. If you buy shares on June 10 and sell your original lot at a loss on June 25, the June 10 purchase is the replacement lot and the loss is disallowed. This catches tax loss harvesting attempts where you "double up" before selling the old lot.
Does the 61-day window apply across different accounts?
Yes, the window applies to you as a taxpayer, not per account. Selling at a loss in your taxable brokerage account while your spouse buys the same stock, or while you buy it in your IRA within the window, triggers the wash sale. The IRA version is the worst case: per IRS Revenue Ruling 2008-5, a loss washed into an IRA is permanently disallowed with no basis adjustment to recover it later.
Does buying a call option trigger the 61-day wash sale rule?
Yes. IRS Publication 550 states that buying a call option on a stock you sold at a loss within the window counts as acquiring an option to buy substantially identical securities, so the loss is disallowed. Writing a deep in-the-money put can also be treated as acquiring the stock. Selling a covered call or a cash-secured put that is not deep in-the-money generally does not trigger the rule.
When does the 61-day wash sale window close?
On the 31st day after your loss sale. Count the sale date as day zero: the risk window ends once 30 full days have passed with no repurchase. On day 31 you can repurchase the same security with the loss intact. Mark both dates on your calendar at the moment you harvest the loss, because the sale date itself is included in the 61-day total.
Related Articles
- Wash Sale Rules for Options Traders – The complete rulebook, substantially identical tests, and broker traps
- Wash Sale Calculator – Compute adjusted cost basis after a disallowed loss
- Covered Call Tax Rules – How option buybacks interact with wash sales and qualified call treatment
- SPX Options Tax Treatment – Section 1256 contracts that bypass wash sales entirely
- Fix IBKR 1099 – Reconcile broker wash sale adjustments against your own records
- Options Trading Tax Calculator – Estimate your full options tax bill before year-end
Frequently Asked Questions
Written by Days to Expiry Trading Team
The Days to Expiry trading team brings together experienced options traders and financial analysts dedicated to helping investors generate consistent income through proven options strategies.
Apply The Tax Framework