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.
- Step 1: Same-term netting: Short-term net = $6,000 − $15,000 = −$9,000; Long-term net = $12,000 − $10,000 = +$2,000.
- 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.
- 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.
- 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.
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.
Unused capital losses never expire during the taxpayer's lifetime and retain their short-term/long-term character.
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 Rule | Single | MFJ | MFS |
|---|---|---|---|
| 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 |
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.