When both carried-forward short-term losses and carried-forward long-term losses exist in a later tax year alongside current-year gains, the IRS enforces a strict two-stage netting order on Schedule D.
Carried-forward losses preserve their original character (short-term vs. long-term) indefinitely.
1. Stage 1: Intra-Category Netting (Same Character First)
Before short-term and long-term items cross paths, each category nets within its own basket on Schedule D:
Short-Term Basket (Schedule D, Part I): Current-year short-term gains and losses net against your Short-Term Loss Carryover (entered on Line 6). The result is your Net Short-Term Gain or Loss (Line 7).
Long-Term Basket (Schedule D, Part II): Current-year long-term gains and losses net against your Long-Term Loss Carryover (entered on Line 14). The result is your Net Long-Term Gain or Loss (Line 15).
2. Stage 2: Inter-Category Netting (Cross-Over)
If one basket ends up positive (net gain) and the other ends up negative (net loss), the remaining net loss spills over to offset the other basket's gain on Schedule D, Line 16.
Step-by-Step Scenario Examples
Scenario A: You Have Current-Year Gains in BOTH Categories
Inputs:
Short-Term Carryover: -$5,000 | Current Short-Term Gain: +$4,000
Long-Term Carryover: -$8,000 | Current Long-Term Gain: +$10,000
Stage 1 (Same Character):
Short-Term: $+\$4,000 - \$5,000 = \mathbf{-\$1,000}$ (Net Short-Term Loss)
Long-Term: $+\$10,000 - \$8,000 = \mathbf{+\$2,000}$ (Net Long-Term Gain)
Stage 2 (Cross-Over):
$-\$1,000\text{ (ST Loss)} + \$2,000\text{ (LT Gain)} = \mathbf{+\$1,000}$ Net Long-Term Capital Gain.
Tax Outcome: You owe tax on a net gain of $1,000 at preferential long-term rates.
Scenario B: One Loss Carryover Exceeds Its Basket (Spillover)
Inputs:
Short-Term Carryover: -$10,000 | Current Short-Term Gain: +$2,000
Long-Term Carryover: -$2,000 | Current Long-Term Gain: +$5,000
Stage 1 (Same Character):
Short-Term: $+\$2,000 - \$10,000 = \mathbf{-\$8,000}$ (Net Short-Term Loss)
Long-Term: $+\$5,000 - \$2,000 = \mathbf{+\$3,000}$ (Net Long-Term Gain)
Stage 2 (Cross-Over):
$-\$8,000\text{ (ST Loss)} + \$3,000\text{ (LT Gain)} = \mathbf{-\$5,000}$ Net Overall Loss.
Tax Outcome:
Deduct $3,000 against ordinary income (W-2 salary/wages) on Form 1040, Line 7a.
The remaining $2,000 loss carries forward to the following tax year as a Short-Term Loss Carryover.
Key Takeaways for Multi-Year Netting
Short-Term Losses are Tax-Optimal: Short-term losses offset high-tax short-term gains first. If any short-term loss remains, it crosses over to wipe out lower-tax long-term gains.
Order of Absorption for Ordinary Income: When total net losses exceed total gains, the $3,000 ordinary income deduction absorbs short-term losses before long-term losses on the Capital Loss Carryover Worksheet.
Line Verification: Always verify that prior-year carryovers land on Line 6 (Short-Term) and Line 14 (Long-Term) on Schedule D.