RetireTaxCalc

2026 Tax-Loss Harvesting & 61-Day Wash Sale Calculator

Calculate 2026 short-term/long-term loss netting, $3,000 ordinary income deduction, 3.8% NIIT savings, carryforward, and exact 61-day Wash Sale dates.

2026 Tax Year Verified (Dec 2026)IRS Pub. 550 · Topic 409 · 3.8% NIIT100% Browser-Local (0 KB Uploaded)Methodology

Realized Gains, Losses & Wash Sale Date

Used for marginal + 3.8% NIIT
$
$
$
$
$
IRS Pub. 550

Worked Example: Harvesting $25,000 in Losses on Nov 15, 2026 (MFJ $235k AGI)

A married couple with $235,000 ordinary AGI realizes $6,000 in short-term gains and $12,000 in long-term gains (pushing MAGI to $253,000, above the $250,000 NIIT threshold). On November 15, 2026, they harvest $15,000 in short-term losses and $10,000 in long-term losses.

  1. Step 1: Same-term netting: Short-term net = $6,000 − $15,000 = −$9,000; Long-term net = $12,000 − $10,000 = +$2,000.
  2. Step 2: Cross-term netting: Remaining $9,000 short-term loss cancels the $2,000 long-term gain, leaving $7,000 in net excess capital loss.
  3. Step 3: Deduct up to the IRS $3,000 annual limit against ordinary income (24% bracket) and carry forward the remaining $4,000 indefinitely to 2027+. Eliminating the $18,000 in gains also wipes out 3.8% NIIT on the $3,000 above $250,000.
  4. Step 4: 61-Day Wash Sale Window for a Nov 15, 2026 sale runs from October 16, 2026 through December 15, 2026—making December 16, 2026 (Day 31) the earliest safe repurchase date.
Planning Takeaway: To stay invested during the 30-day window without triggering a Wash Sale, immediately reinvest proceeds into a non-substantially-identical ETF tracking a different index (for example, S&P 500 to Total US Stock Market) and turn off automatic dividend reinvestment (DRIP) on the sold lot.

2026 Formula & Official IRS / SSA / CMS Rules

IRS Topic 409 and Publication 550 require netting short-term losses against short-term gains and long-term losses against long-term gains first, then cross-netting before deducting up to $3,000 ($1,500 MFS) against ordinary income.

Capital Loss Ordering & Carryforward
Same-Term Offset → Cross-Term Offset → Up to $3,000 Ordinary Offset → Indefinite Carryforward

Unused capital losses never expire during the taxpayer's lifetime and retain their short-term/long-term character.

61-Day Wash Sale Prohibited Window (IRC §1091)
Prohibited Window = [Sale Date − 30 calendar days] through [Sale Date + 30 calendar days] (61 days total)

Earliest safe repurchase date = Sale Date + 31 calendar days.

2026 Capital Gains, NIIT & Capital Loss Limits

Published 2026 federal thresholds governing tax-loss harvesting value.

2026 RuleSingleMFJMFS
0% LTCG Upper Taxable Limit$49,450$98,900$49,450
15% LTCG Upper Taxable Limit$545,500$613,700$306,850
3.8% NIIT MAGI Threshold$200,000$250,000$125,000
Max Annual Ordinary Loss Offset$3,000$3,000$1,500
Need all 2026 tax brackets, IRMAA cliffs, and Pub. 590-B factors on one page? Open the 2026 Retirement & Tax Reference Hub →

Frequently Asked Questions

How many days is the IRS Wash Sale rule window?+

The Wash Sale window is 61 calendar days in total: the 30 calendar days BEFORE the loss sale date, the day of the sale itself, and the 30 calendar days AFTER the sale date. The earliest safe day to repurchase a substantially identical security is Day 31 after the sale.

What happens if I buy the same stock in my IRA within 30 days of a taxable loss sale?+

Under IRS Revenue Ruling 2008-5, buying a substantially identical security inside an IRA or Roth IRA within the 61-day Wash Sale window not only disallows your taxable capital loss—it PERMANENTLY destroys the cost-basis adjustment so you never recover the tax benefit.

Does a capital loss carryforward ever expire?+

No. Unused capital losses above the $3,000 ($1,500 MFS) annual ordinary-income deduction carry forward indefinitely across future tax years until fully absorbed by capital gains or future $3,000 annual deductions during your lifetime.

Can tax-loss harvesting reduce the 3.8% Net Investment Income Tax (NIIT)?+

Yes. Realized capital losses directly offset realized capital gains in your Net Investment Income and lower Modified Adjusted Gross Income (MAGI), saving an additional 3.8% NIIT for Single filers above $200,000 MAGI and MFJ filers above $250,000 MAGI.