The 61-Day Window: Timing Wash Sale Rules
The 61-Day Window: Timing Wash Sale Rules
The wash sale rule uses a precise timing mechanism: a 61-day window spanning 30 days before the sale, the sale date itself, and 30 days after the sale. For many investors, the confusion begins here. Why 30 days before and 30 days after? How exactly is the window calculated? What happens on day 31? This article breaks down the calendar mechanics that determine whether your loss is deductible or disallowed, so you can plan your trades with certainty.
Quick definition: The 61-day window extends from 30 days before a loss sale through 30 days after it; buying the same or substantially identical security on any day within this window triggers a wash sale.
Key Takeaways
- The wash sale window covers 61 calendar days total: 30 days before the sale, the sale date, and 30 days after.
- If you buy the same security on day 31 after the sale (or day 31 before, looking backward), the wash sale rule does not apply.
- The rule applies across multiple accounts, so a purchase in your IRA within the window can trigger a wash sale on a brokerage account sale.
- The settlement date of the sale (not the trade date) is generally the reference point, though brokers use trade dates in practice, creating potential confusion.
- Fractional shares, dividends reinvested, and automatic purchases (such as DRIPs) can all trigger wash sales if they occur within the window.
The Three-Part Timing Structure
The 61-day wash sale window is best understood as three overlapping periods:
Period 1: 30 days before the sale
- Runs from 30 calendar days before the sale date, backwards.
- Any purchase of the same or substantially identical security during this period can trigger a wash sale when you later sell at a loss.
- Many investors forget about this backward-looking window, causing unexpected disallowances.
Period 2: The sale date itself
- The day you execute the loss sale.
- Any purchase of the same security on the same day (such as selling in the morning and buying in the afternoon) would trigger a wash sale.
Period 3: 30 days after the sale
- Runs forward from the sale date through the 30th calendar day after.
- This is the period most investors remember, and the period most frequently triggers wash sales in practice.
Calculating the Window: A Step-by-Step Example
Let's say you sell 100 shares of Stock X at a loss on July 15, 2024.
Step 1: Count 30 days backward from July 15.
- July 15 (going back)
- July 14, 13, 12... (counting backward)
- June 15 (30 days back)
- The backward window is June 15 to July 14.
Step 2: Identify the sale date.
- The sale is July 15, 2024.
Step 3: Count 30 days forward from July 15.
- July 15 (starting point)
- July 16, 17, 18... (counting forward)
- August 14 (30 days forward)
- The forward window is July 16 to August 14.
Result: The full 61-day window is June 15 to August 14, 2024. If you bought Stock X on any day between June 15 and August 14 (inclusive), and you later bought it again (triggering repurchase before August 15), the wash sale rule applies to your loss.
The Critical Line: Day 31 and Beyond
The rule becomes inapplicable on day 31 after the sale (or day 31 before). If you sell a loss security on July 15 and buy it again on August 15 (day 31 after), the wash sale rule does not apply. Your loss is deductible.
However, this timing is deceptively easy to miscalculate:
- Counting July 15 as day 0 (the sale date), day 31 is August 15.
- Counting July 15 as day 1, day 31 is August 14.
- Different brokers and tax software may use different counting conventions.
Best practice: Rather than relying on mental math, use your brokerage or tax software's wash sale calculator, or apply the simple rule: if 31 calendar days have elapsed since the sale date, you are safe.
Trade Date vs. Settlement Date
The IRS technically looks at the settlement date—the date when the transaction is finalized and cash or securities move—not the trade date (the date you execute the order). However, in modern brokerage systems, the settlement date is typically 2 business days after the trade date for stock sales and purchases.
In practice, many brokers and tax-software vendors use the trade date as the reference point because it is more straightforward for investors. This creates a minor edge case:
- You sell on July 15 (trade date), settles July 17.
- You buy on July 31 (trade date), settles August 2.
- Is this a wash sale?
Technically, the settlement dates (July 17 and August 2) are within the 61-day window, so a wash sale would apply. Most brokers and tax software would flag this as a wash sale. To be safe, assume that both trade and settlement dates are covered by the window; if you want to avoid any ambiguity, wait until August 15 (or later) to repurchase.
The Backward-Looking Window Often Catches Investors Unaware
Many investors know they should not buy the same security for 30 days after a loss sale, but they forget about the 30-day backward window. This creates a common trap:
You buy 100 shares of Stock Z on June 1, planning to hold long-term. On July 15, after the shares have declined in value, you decide to lock in the loss. You sell at a loss on July 15. Thirty minutes later, you realize you made a mistake—you actually wanted to hold this stock—and you buy 100 shares again on July 15. The wash sale rule applies because the repurchase is within the 61-day window (specifically, within the forward-looking 30-day window).
But there's a second trap: What if you bought those shares on July 1 (14 days before the loss sale on July 15)? On July 15, you sell at a loss. The 30-day backward window reaches back to June 15. Your purchase on July 1 falls within that window. If you buy the same stock again between July 16 and August 14, you also trigger a wash sale for the July 1 purchase, not just the July 15 sale.
The 30-Day Rule for Marriages and Dependents
If you are married and file jointly, the wash sale window extends to your spouse's accounts. If your spouse buys the same security within the 61-day window, your loss is disallowed. Similarly, if you control a dependent's custodial account or are a trustee, purchases in that account can trigger a wash sale on your own sales.
This is particularly important for couples who manage separate brokerage accounts but file taxes together. Coordination is essential to avoid unintended wash sales.
What Happens Within the Window: Partial Disallowance
If you sell 100 shares at a $1,000 loss and repurchase 50 shares within the window, only the loss corresponding to 50 shares is disallowed (assuming the 50 shares repurchased are matched to 50 of the original 100). The remaining $500 loss (for the 50 shares not repurchased) is deductible.
This matching follows a strict "first-in, first-out" (FIFO) rule by default, though you can elect a different method if you specify it clearly to your broker and tax preparer.
Dividends and Automatic Reinvestment Plans (DRIPs)
Dividends and interest paid on a security are not considered a repurchase. However, if you have a dividend reinvestment plan (DRIP) that automatically reinvests dividends into new shares, the new shares acquired through the DRIP are considered a repurchase. If you receive a dividend within the 61-day window, that reinvestment can trigger a wash sale disallowance.
This is a subtle trap for long-term buy-and-hold investors who forget about their DRIP settings. If you plan to harvest a loss near an ex-dividend date, disable the DRIP before the sale or wait until after the 61-day window to re-enable it.
Real-World Example: The Gotcha
Consider this scenario: You own 100 shares of a dividend-paying stock, purchased at $100/share. By November 20, 2024, it has fallen to $80/share. You decide to harvest the loss.
- November 20: You sell all 100 shares at $80/share, claiming a $2,000 loss.
- November 22: The stock's ex-dividend date passes, and you receive $50 in dividends (already accrued as of the sale, so it goes to you).
- November 22: Your DRIP setting automatically reinvests the $50 dividend into new shares at $80/share (about 0.625 shares).
- December 1: You buy 100 shares again at $82/share (the stock has recovered).
The wash sale rule applies to your original $2,000 loss because the November 20 sale and December 1 repurchase fall within the 61-day window. The automatic DRIP reinvestment on November 22 does not create a second wash sale; it simply reinforces that you maintained exposure during the window.
Frequency and Multiple Sales
If you sell the same security at a loss on multiple dates, each sale has its own 61-day window. For example:
- Sale 1: July 15 (loss of $1,000)
- Sale 2: August 20 (loss of $500)
A repurchase on August 30 would trigger a wash sale for Sale 2 (which is within its 61-day window) but not Sale 1 (which is now outside the window). The $500 loss from Sale 2 is disallowed, but the $1,000 from Sale 1 remains deductible.
Important Note
The wash sale rule applies at the time of purchase—it is determined by the IRS after your transactions occur. Your broker or tax software may flag suspected wash sales, but the final determination is up to you and the IRS. Rules can change, and the treatment of certain securities (such as crypto or international securities) sometimes generates case-by-case interpretation. Confirm the current rules with the IRS or a qualified tax professional before executing any time-sensitive strategy that depends on avoiding the 61-day window.
Summary
The 61-day wash sale window extends 30 days backward and 30 days forward from a loss sale. Any repurchase of the same or substantially identical security within this window disallows the loss. Precise calendar management is essential: day 31 (or the 31st calendar day before the sale) is when the rule stops applying. Remember the backward-looking window, coordinate with spouse accounts, and verify settlement dates to avoid surprise disallowances.