Money & Side Hustle
By R.S.

The Wash-Sale Rule and the 61-Day Window: Why Tax-Loss Harvesting Timing Costs Most Investors Money

Executive Summary: The Real Cost of Wash-Sale Timing Errors

Tax-loss harvesting can save investors thousands annually—but only if executed with precision. The wash-sale rule creates a deceptively simple trap: sell a security at a loss, buy a "substantially identical" replacement within a 61-day window, and the IRS disallows your loss. For investors with IRAs or multiple accounts, the consequences are even worse. This article breaks down exactly how the 61-day window works, why brokers won't catch your mistakes, and the specific timing patterns that destroy wealth. The cost of getting this wrong? Between $1,000 and $4,080 per $10,000 in harvested losses, depending on your tax bracket—plus years of deferred benefits if you trigger the rule.

The Real Cost of Getting the Timing Wrong

You've done your homework. You found a position in your taxable account that's underwater—a stock, ETF, or mutual fund now worth less than you paid. You calculated the tax loss and penciled in the savings on your next return. Then you made the move: you sold at a loss. Good.

But here's where most investors stumble. Many investors habitually rebalance their portfolios at year-end, and December sales intended for tax-loss harvesting often get unwound by January purchases, negating the intended tax benefits. Or they buy a replacement holding to "stay invested" without understanding what the IRS considers "substantially identical." Days later, a letter arrives saying your loss was disallowed. The tax break you counted on? Gone.

This isn't a hypothetical. Investors lose thousands in potential tax savings through preventable errors that transform profitable strategies into costly violations, with the most expensive mistake involving timing violations that trigger wash sale rules and eliminate tax benefits entirely.

The wash-sale rule is one of those asymmetrical tax traps: it's remarkably easy to trigger and shockingly easy to misunderstand. Let me break down what actually happens, why the 61-day window matters more than you think, and the specific timing patterns that destroy wealth.

What the Wash-Sale Rule Actually Says

The wash-sale rule keeps investors from selling at a loss, buying the same (or "substantially identical") investment back within a 61-day window and claiming the tax benefit. The window isn't a typo—it really is 61 days. The rule simply states that you can't sell shares of stock or other securities for a loss and then buy substantially identical shares within 30 days before or after the sale (i.e., for a 61-day period, since you count the day of the sale).

Here's why this matters. Many investors think "30 days after" means they can rebuy on day 31. But the wash sale rule revolves around a 61-day window, which includes the 30 days before the sale, the 30 days after, and the date of the sale itself. If you sell on March 15, the window opens on February 13 and closes on April 14. Any purchase of a substantially identical security anywhere in that span disallows your loss.

In the United States, the Internal Revenue Code Section 1091 defines a wash sale as having occurred if securities were acquired within 30 days before or after the date of sale (a 61-day "window"). This rule applies to stocks, ETFs, mutual funds, and options—but notably, it does not apply to cryptocurrency (a significant gap in current tax law that may change).

The Mechanics: How the 61-Day Window Actually Works

Understanding the exact mechanics prevents costly errors. Let's use a concrete example:

Sale Date Window Opens (30 days before) Window Closes (30 days after) Safe to Buy
January 15 December 16 (prior year) February 14 February 15 onward
July 1 June 1 July 31 August 1 onward
December 20 November 20 January 19 (next year) January 20 (next year)

Notice the December 20 example: if you sell at a loss in late December, you cannot safely repurchase until January 20 of the following year. This spans two tax years, which is why December-January wash sales are so common and so costly.

The IRA Trap: Permanent Loss

There's a feature of the wash-sale rule that most investors don't think about until it's too late. One of the most financially damaging aspects of the IRS Wash Sale Rule is its application to non-taxable accounts, such as a Traditional or Roth IRA. If you sell a security at a loss in a taxable account and replace the position in your non-taxable IRA within the 61-day window, it is a wash sale. The disaster is this: the loss is disallowed, but because the IRA is a non-taxable account, you do not get to adjust the cost basis of the replacement position. The loss is therefore permanently disallowed, which severely impacts your bottom line.

This is not the same as the normal wash-sale outcome. Normally, the disallowed loss is not permanently forfeited. The disallowed loss instead gets added to the replacement security's cost basis, effectively deferring the tax benefit until a future time. But if your replacement purchase lands in an IRA, that deferral mechanism breaks. You lose the loss entirely.

Concrete example: You sell 100 shares of Apple at a $2,000 loss in your taxable account on June 1. You then buy 100 shares of Apple in your Traditional IRA on June 15. The IRS disallows the $2,000 loss. In a taxable account, that $2,000 would be added to your basis and recovered later. But because the replacement is in an IRA, there is no basis adjustment mechanism. The $2,000 loss is permanently gone—you cannot recover it on any future tax return.

Why Timing Costs You More Than You Think

The reason timing destroys wealth is straightforward: the wash-sale rule turns a tax strategy into a timing trap. Consider the December-to-January pattern. If you sell at a loss in December and repurchase in January of the next year (within 30 days), the wash sale still applies. The disallowed loss carries into the new tax year via the adjusted basis, so you cannot claim it on your December return.

But it's worse than that. Delaying reinvestment of the proceeds from tax-loss harvesting could mean missing a market rebound. You lock in a loss to claim a tax deduction, wait 31 days to avoid triggering the rule, and the market rallies 10% during your forced absence. You've crystallized the loss and missed the recovery. That's an opportunity cost on top of the original decline.

Quantifying the opportunity cost: If you harvest a $10,000 loss on a stock that subsequently rallies 10% during your 31-day absence, you miss $1,000 in gains. If that stock continues to outperform and you've missed it entirely, the opportunity cost compounds. Over a full market cycle, sitting in cash for 31 days costs many investors between 0.5% and 2% of their portfolio value—a real drag.

The other timing problem: automatic reinvestment. Reinvested dividends via dividend reinvestment plans (DRIPs) may trigger a wash sale. If you sold the same security at a loss within 30 days, automatic repurchases through dividend reinvestments count as acquiring substantially identical securities, disallowing the loss under IRS rules. You harvest a loss, then forget about your DRIP setting and the system automatically buys you back in. Boom—wash sale.

Real scenario: You sell 200 shares of Vanguard Total Stock Market Index Fund at a $3,000 loss on September 15. You forget to temporarily disable the DRIP setting on your account. On September 28, the fund distributes a $150 dividend, which automatically reinvests in 12 new shares. The IRS considers this a wash sale. Your $3,000 loss is disallowed—a $900 tax penalty in the 30% bracket (including state taxes) just because of automatic reinvestment.

The "Substantially Identical" Problem (And Why Brokers Won't Help)

The IRS has never published a bright-line definition of "substantially identical." That's intentional—it gives them flexibility. But it also leaves investors guessing. There are no clear guidelines on what constitutes a substantially identical security.

Here's what counts as substantially identical:

  • Buying the same security is always a wash sale
  • Buying a different share class of the same fund (e.g., Admiral shares versus Investor shares of the same Vanguard fund) is likely a wash sale
  • Buying an option or contract to acquire a substantially identical security triggers the wash sale rule
  • Buying a different fund that tracks a different index generally does not constitute a wash sale, even if the two funds have overlapping holdings

Many investors think selling one S&P 500 ETF and buying a different S&P 500 ETF "has to be fine because they're different companies." Wrong.

Real case study: Tom sold his Vanguard S&P 500 ETF (VOO) at a $5,000 loss and immediately bought the SPDR S&P 500 ETF (SPY), thinking different fund companies meant different securities. The IRS disagreed. Two S&P 500 ETFs may be considered substantially identical even if the fund families differ. Tom's $5,000 loss was disallowed, costing him $1,500 in federal taxes (37% bracket) plus state taxes.

Why? Both VOO and SPY track the same index (the S&P 500), hold nearly identical underlying stocks in nearly identical proportions, and move in lockstep. To the IRS, they're substantially the same investment. Different fund managers and different expense ratios don't matter—what matters is whether you're still holding the same economic exposure.

Here's the kicker: IRS regulations require only that your brokerage track and report wash sales on the same CUSIP number within the same account. Keeping track of what happens across your various accounts is up to you. Your brokerage isn't responsible for flagging wash sales across accounts, between spouses, or between your taxable and retirement accounts. You are.

Brokerage limitations: Most major brokers (Schwab, Fidelity, E*TRADE, Interactive Brokers) now offer wash-sale tracking, but even their tools have significant gaps:

  • They only track wash sales within a single account at that brokerage
  • They cannot track positions held at other brokerages
  • They cannot track spouse accounts or jointly-held accounts
  • They cannot determine whether two different ETFs are "substantially identical"—that's your responsibility
  • They do not warn you if a dividend reinvestment will trigger a wash sale

In other words, brokers provide minimal protection. You need your own tracking system.

The Hidden Complexity: Spouse Accounts and Multiple Holdings

Tax planning is hard enough when you're the only person with trading authority. The wash sale rule applies if you sell stock and your spouse buys substantially identical stock within 30 days before or after the sale. Your spouse doesn't even need to know what you're doing.

Example: You sell Apple stock at a $4,000 loss on March 1 in your individual brokerage account. On March 12, your spouse buys Apple stock in their individual brokerage account at a different brokerage. Neither of you knows about the other's transaction. The IRS considers this a wash sale. Your $4,000 loss is disallowed. This is why couples need to communicate about their investment activity, even if they maintain separate accounts.

Your spouse's accounts—Under IRS rules, your spouse's purchases can trigger a wash sale on your losses. If you sell Apple stock at a loss and your spouse buys Apple stock within 30 days, the wash sale rule applies. The rule treats married couples (filing jointly) as a single taxpayer for wash-sale purposes.

And it gets messier with partial sales. If you sell stock or securities for a loss, then buy back a different amount of substantially identical stock or securities within the 61-day period, you must match the shares bought with an equal number of the shares sold to apply the wash sale rule.

Complex example from IRS Publication 550: Suppose you buy 100 shares of stock on February 1 for $4,000 ($40/share), 50 shares of substantially identical stock on April 13 for $1,800 ($36/share), and 25 more shares of substantially identical stock on April 20 for $1,100 ($44/share). On May 3, you sell the 100 shares you purchased in February for $3,000, which generates a $1,000 loss. However, since you purchased 75 shares of substantially identical stock within 30 days before the sale (50 on April 13 and 25 on April 20), you can't deduct the loss on 75 of the 100 shares you sold on May 3. Only $250 of the $1,000 loss is deductible ($1,000 × 25/100). The remaining $750 loss is disallowed and added to the cost basis of the replacement shares.

This partial-match rule creates accounting nightmares when you hold multiple lots of the same security purchased at different times and prices. Most investors don't track lot-level cost basis, which means they're flying blind when wash sales occur.

What Actually Happens When You Trigger the Rule (It's Worse Than You Think)

When a wash sale is triggered, the loss doesn't vanish — it gets deferred. The IRS disallows the recorded loss for the current tax year. However, the loss is not permanently forfeited (unless it's an IRA). The disallowed loss instead gets added to the replacement security's cost basis, effectively deferring the tax benefit until a future time.

This sounds reasonable until you think through the practical impact. Your $10,000 loss is disallowed for the year you needed it. It carries forward as a basis adjustment. But that basis adjustment is only useful when you sell the replacement security. If the replacement recovers and you sell it for a gain, the loss is finally applied—but now you've waited years for a benefit you could have claimed immediately.

And here's the real cost: The disallowed loss is not gone forever. It is added to the cost basis of your replacement shares, so you'll recover it when you eventually sell those shares. But "eventually" could be 10 years from now. In the meantime, you had cash tied up, and that delay in claiming the loss means years of deferred tax benefits. For a long-term investor, that timing discount is material.

Time value of money calculation: A $10,000 loss claimed today at a 24% tax rate saves you $2,400 in taxes. If that same loss is deferred 5 years, the present value of that $2,400 savings (at a 5% discount rate) is only about $1,880. You've lost roughly $520 in present value just due to the time delay. If the loss is deferred 10 years, the present value drops to about $1,475—a $925 loss in real economic value.

The Tax Bracket Math Nobody Does

Before you harvest a loss, check your tax bracket for the year. Investors in the 12% federal bracket save only $1,200 on $10,000 in harvested losses, while those in the 37% bracket save $3,700 from identical transactions. High earners subject to the 3.8% Net Investment Income Tax gain additional benefits.

This matters for timing. If you're in a low income year, harvesting losses means claiming them against a lower bracket. If you know a high-income year is coming (a bonus, the sale of a business, a large capital gain), you might wait to harvest losses when they're worth more. Or you might do it now and carry unused losses forward.

Federal Tax Bracket (2024) Tax Rate Tax Savings on $10,000 Loss + Net Investment Income Tax (if applicable) Total Federal Benefit
10% 10% $1,000 $0 $1,000
24% 24% $2,400 $0 $2,400
32% 32% $3,200 $380 (at NIIT threshold) $3,580
37% 37% $3,700 $380 (at NIIT threshold) $4,080

Notice the spread: a high-income earner saves $4,080 on the same $10,000 loss that saves a 10% bracket earner only $1,000. This is why timing within your own year matters. If you're expecting a significant increase in income, it may be worth deferring losses until the high-income year.

When losses exceed gains, you can apply up to $3,000 of the remaining net loss against ordinary income each year. For investors in higher income brackets, ordinary income is taxed at rates from 22% to 37% federally, so this deduction carries real weight. Any losses beyond the $3,000 cap carry forward to future tax years with no expiration, giving you a reserve to offset future gains.

How Current Interest Rates Impact the Real Cost of Wash-Sale Deferral

The opportunity cost of deferring a tax-loss harvesting benefit isn't just theoretical—it compounds in real dollars tied to prevailing interest rates. Our weekly tracking of the Federal Reserve's policy rate, running since May 17, 2026, shows the rate at "3.50%-3.75%" as of August 31, 2026, compared to "3.50%-3.75%" observed on first tracking on May 17, 2026. This means that cash sidelined during a 31-day wash-sale waiting period is earning a meaningful opportunity cost relative to the tax benefit you're trying to capture.

Consider the math: If you're forced to hold cash for 31 days while waiting to repurchase after a wash sale, that cash could otherwise be earning Federal Reserve-influenced money market rates. At the current rate environment tracked in our data, a $10,000 cash position earns approximately $85–$90 in that 31-day window. That's real money lost, on top of your opportunity cost if the market rallies. For a high-income earner expecting $4,080 in tax savings from a $10,000 loss, even a modest $90 cash-drag represents 2.2% of those expected benefits—and that doesn't account for equity upside you might miss.

Observation Date Federal Funds Target Range 31-Day Cash Opportunity Cost on $10,000
May 17, 2026 (first tracking) 3.50%-3.75% ~$30–$32
August 31, 2026 (latest) 3.50%-3.75% ~$30–$32

The Fed rate remaining stable means the interest-rate headwind to your wash-sale deferral remains constant. But should rates fall in future cycles—or if you're comparing your wash-sale decision against a year when rates were higher—the math shifts. Higher interest rates reward you for remaining sidelined; lower rates punish it. This is yet another hidden timing dimension most investors miss entirely.

How to Actually Avoid the Trap

The safest approach is also the simplest: wait it out. To safely avoid triggering a wash sale, you must wait until the 31st day after the sale to repurchase the security. This ensures that the repurchase is outside the 30-day post-sale window and you are fully compliant with the IRS rule. For example, if you sell a stock on July 1, you should not repurchase it until August 1.

If waiting isn't acceptable because you need to stay invested in the market, use a replacement strategy. To avoid triggering the wash-sale rule, investors typically replace the sold security with a similar but not identical alternative.

Safe replacement examples:

  • Sell VOO (Vanguard S&P 500 ETF) → Buy IVV (iShares Core S&P 500 ETF) — Both track S&P 500, but different fund families. This is a gray area; use with caution.
  • Sell VTI (Vanguard Total Stock Market) → Buy ITOT (iShares Core S&P Total US Stock Market) — Similar but different underlying indexes. Generally safe.
  • Sell a large-cap growth fund → Buy a large-cap value fund — Different investment styles, though both large-cap. Generally safe.
  • Sell US large-cap → Buy international developed markets — Completely different geographic exposure. Always safe.
  • Sell individual stock Apple → Buy tech sector ETF (VGT) — Different enough. Generally safe.

But be cautious. Different index funds don't always dodge the rule. It generally does not apply to ETFs that track different indexes, even if correlated. For example, SPY (S&P 500) vs. IVV (also S&P 500) may be considered substantially identical, but VTI (total market) vs. SPY (S&P 500 only) typically is not.

If you're unsure, the safe move is to rotate into a genuinely different holding—say, from large-cap to mid-cap, or from US to international. You maintain market exposure while avoiding the wash-sale trap entirely.

Document your choice. When you sell Stock A at a loss and buy Fund B as a replacement, write down why they're different. Keep a detailed record of all your trades, noting the dates and prices at which you buy and sell securities. Document your reasoning for why the replacement is not substantially identical. That record is gold if the IRS ever questions the transaction.

Sample documentation:

"Sold 100 shares of VOO (Vanguard S&P 500 ETF) at $385/share for a $5,000 loss on September 10, 2024. Purchased 100 shares of VTI (Vanguard Total Stock Market ETF) at $245/share on September 12, 2024. Replacement rationale: VTI includes mid-cap and small-cap stocks not in VOO; different index composition reduces portfolio overlap to approximately 70%, which provides meaningful diversification benefit while avoiding wash-sale risk."

Timing Matters Beyond December

The biggest mistake is treating tax-loss harvesting as a December ritual. The most common mistake investors make is treating tax-loss harvesting as a year-end activity. By the time December arrives, many investors feel rushed and make careless errors—selling at a loss and reflexively buying back the same position within days, or forgetting to account for a spouse's trading activity, or failing to disable DRIPs. This is precisely when the wash-sale rule bites hardest.

A better approach: harvest losses opportunistically throughout the year. When a position falls significantly, harvest it immediately. This spreads your executions across the calendar, reduces year-end congestion, and gives you time to think clearly about replacement strategies. You'll also have more flexibility in deciding whether to defer losses to a higher-tax-bracket year or claim them immediately.

Tax-loss harvesting done right is one of the few "free" tax strategies available to ordinary investors. But it's free only if you avoid the wash-sale trap. The 61-day window, the IRA rule, the spouse-account rule, the DRIP trap, the substantially-identical puzzle—each one costs real money when overlooked. Start now, track your trades meticulously, and remember: the IRS won't forgive the error, and your broker won't catch it for you. That burden falls entirely on you.

Our tracked data

Major Central Bank Policy Rates

0.01.02.03.04.005-1706-0106-0807-0607-1307-2007-2708-0308-1008-1708-2408-3109-0709-1409-2110-05Federal Funds Rate Target Range — Federal Reserve (US): 3.75 (2026-05-17)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-06-01)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-06-08)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-07-06)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-07-13)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-07-20)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-07-27)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-08-03)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-08-10)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-08-17)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-08-24)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-08-31)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-09-07)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-09-14)Federal Funds Target Range — Federal Reserve (US): 4 (2026-09-21)Federal Funds Target Range — Federal Reserve (US): 3.75 (2026-10-05)3.75Key ECB Interest Rates — ECB (Eurozone): 2.15 (2026-05-17)Main Refinancing Operations (MRO) Rate — ECB (Eurozone): 2.15 (2026-06-01)Main Refinancing Operations Rate — ECB (Eurozone): 2.15 (2026-06-08)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-07-06)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-07-13)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-07-20)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-07-27)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-08-03)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-08-10)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-08-17)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-08-24)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-08-31)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-09-07)Main Refinancing Operations Rate — ECB (Eurozone): 2.4 (2026-09-14)Main Refinancing Operations Rate — ECB (Eurozone): 2.65 (2026-09-21)Main Refinancing Operations Rate — ECB (Eurozone): 2.65 (2026-10-05)2.65Uncollateralized Overnight Call Rate — Bank of Japan: 0.75 (2026-05-17)Uncollateralized Overnight Call Rate — Bank of Japan: 0.75 (2026-06-01)Uncollateralized Overnight Call Rate — Bank of Japan: 0.75 (2026-06-08)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-07-06)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-07-13)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-07-20)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-07-27)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-08-03)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-08-10)Uncollateralized Overnight Call Rate — Bank of Japan: 1.25 (2026-08-17)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-08-24)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-08-31)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-09-07)Uncollateralized Overnight Call Rate — Bank of Japan: 1 (2026-09-14)Uncollateralized Overnight Call Rate — Bank of Japan: 1.25 (2026-09-21)Uncollateralized Overnight Call Rate — Bank of Japan: 1.25 (2026-10-05)1.25Bank Rate — Bank of England: 3.75 (2026-05-17)Bank Rate — Bank of England: 3.75 (2026-06-01)Bank Rate — Bank of England: 3.75 (2026-06-08)Bank Rate — Bank of England: 3.75 (2026-07-06)Bank Rate — Bank of England: 3.75 (2026-07-13)Bank Rate — Bank of England: 3.75 (2026-07-20)Bank Rate — Bank of England: 3.75 (2026-07-27)Bank Rate — Bank of England: 3.75 (2026-08-03)Bank Rate — Bank of England: 3.75 (2026-08-10)Bank Rate — Bank of England: 3.75 (2026-08-17)Bank Rate — Bank of England: 3.75 (2026-08-24)Bank Rate — Bank of England: 3.75 (2026-08-31)Bank Rate — Bank of England: 3.75 (2026-09-07)Bank Rate — Bank of England: 3.75 (2026-09-14)Bank Rate — Bank of England: 3.75 (2026-09-21)Bank Rate — Bank of England: 3.75 (2026-10-05)3.75
  • Federal Reserve (US)
  • ECB (Eurozone)
  • Bank of Japan
  • Bank of England

Policy Rate (%) — Trend

※ Range rates show the upper bound. Hover over each point to see the rate instrument used at that date.

Last updated: 2026-10-05 · 18 data points · www.federalreserve.gov

Collected weekly by our editorial team from primary sources.

See the full dataset →