Under federal tax law, capital loss netting and the $3,000 ordinary income offset work in a fixed sequence: you first net short-term gains and losses within their own category, then do the same for long-term, then cross-net the two results. If you end the year with an overall net capital loss, up to $3,000 of it can offset ordinary income like wages and interest ($1,500 if you’re married filing separately), and anything left over carries forward indefinitely.1Office of the Law Revision Counsel. 26 US Code 1211 – Limitation on Capital Losses The order isn’t optional, and it isn’t just paperwork. It determines which of your gains gets absorbed, and those gains sit at very different tax rates.
Why Short-Term and Long-Term Are Treated Separately
Every sale sorts into one of two buckets based on holding period. The clock starts the day after you acquire the asset and runs through the day you sell. One year or less is short-term. More than one year is long-term.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses
The tax stakes are different for each bucket. Net short-term capital gains are taxed at your ordinary income rate, which can run as high as 37%. Net long-term gains get preferential rates of 0%, 15%, or 20% depending on taxable income.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses That gap is why the netting order matters: a loss that absorbs a short-term gain saves you more tax than the same loss absorbing a long-term gain, even though the two look identical on paper.
One holding-period rule catches heirs off guard. Inherited property is automatically long-term, regardless of how briefly you actually held it, as long as your basis is the stepped-up value at the decedent’s death.3Office of the Law Revision Counsel. 26 US Code 1223 – Holding Period of Property Sell inherited stock two months in at a loss, and that loss is long-term.
How the Netting Sequence Works
You can’t pick which gains your losses offset first. The sequence is mechanical.
First, net within each category. Add up your short-term gains and subtract your short-term losses. Do the same for long-term. You now have one net figure per bucket, each either positive or negative.4Office of the Law Revision Counsel. 26 US Code 1222 – Other Terms Relating to Capital Gains and Losses
Then, net across categories. If one bucket is a gain and the other is a loss, combine them. A net short-term loss reduces a net long-term gain, and vice versa. You end with a single overall figure for the year.4Office of the Law Revision Counsel. 26 US Code 1222 – Other Terms Relating to Capital Gains and Losses
A pair of examples shows why the mechanics matter. If you have a $10,000 net short-term loss and a $10,000 net long-term gain, the short-term loss cancels the long-term gain and you owe nothing on either. Flip it: a $10,000 net long-term loss and a $10,000 net short-term gain also net to zero, but the long-term loss just wiped out income that would have been taxed at ordinary rates. Same result on paper, better tax outcome in the second case. You don’t choose which scenario applies, but understanding the dynamics helps when you’re deciding what to sell during the year.
Mutual fund investors run into a quiet wrinkle here. Capital gain distributions paid by your fund are reported as long-term gains on Schedule D even if you never sold a share.5Internal Revenue Service. Instructions for Schedule D (Form 1040) They enter the netting process and can absorb your long-term losses before those losses ever reach the ordinary-income offset.
The $3,000 Ordinary Income Offset
When the netting finishes with an overall capital loss, you can deduct up to $3,000 of it against ordinary income like wages, salary, and interest. Married filing separately, the cap is $1,500.1Office of the Law Revision Counsel. 26 US Code 1211 – Limitation on Capital Losses The deduction reduces your adjusted gross income, which can affect other AGI-linked provisions such as eligibility for certain credits and deductions.
The $3,000 figure has sat in the statute since 1978. Congress never indexed it. Someone sitting on a $100,000 net capital loss with no offsetting gains coming would need more than 33 years to deduct it all at $3,000 a year. It’s modest relief, not a rescue.
You claim the deduction on line 7a of Form 1040.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses Schedule D does the arithmetic that decides how much of your loss is allowed this year and how much is pushed forward.
Carrying Excess Losses Forward
Whatever loss remains after the $3,000 deduction carries forward to the next tax year, and the carried amount keeps its character. Short-term losses stay short-term; long-term stay long-term.6Office of the Law Revision Counsel. 26 US Code 1212 – Capital Loss Carrybacks and Carryovers That preservation matters because a carried short-term loss will first hit future short-term gains taxed at ordinary rates, while a carried long-term loss will first hit future long-term gains taxed at preferential rates.
There’s no expiration. Losses can ride for decades until gains or annual $3,000 deductions absorb them. The IRS provides a Capital Loss Carryover Worksheet in the Schedule D instructions to compute the exact amount rolling forward.7Internal Revenue Service. Instructions for Schedule D (Form 1040) Keep completed worksheets. Rebuilding a carryover balance years later, after the original records are gone, is a common and costly problem.
One hard boundary: carryovers die with the taxpayer. A capital loss sustained in the decedent’s final tax year, or carried into it, can only be used on that final individual return. Neither the estate nor a surviving spouse filing separately going forward inherits the unused portion.8Internal Revenue Service. IRS Resource Guide – Decedents and Related Issues For an elderly taxpayer sitting on a large carryover, recognizing gains in time to absorb those losses can be worth serious attention.
The Wash Sale Rule Can Block a Loss Entirely
Selling a security at a loss and buying it back quickly won’t put the loss into the netting process at all. If you buy a substantially identical security within a 61-day window running from 30 days before the sale through 30 days after, the loss is disallowed for that year.9Office of the Law Revision Counsel. 26 US Code 1091 – Loss From Wash Sales of Stock or Securities
In a taxable account the loss isn’t gone forever. It’s added to the cost basis of the replacement shares, so you recover it later through a smaller gain or larger loss when you eventually sell those replacement shares.10Internal Revenue Service. Case Study 1 – Wash Sales Sell at a $250 loss, repurchase at $800 inside the window, and your new basis becomes $1,050.
The retirement account version is much worse. If you sell at a loss in a taxable brokerage account and the replacement purchase happens inside an IRA or Roth IRA within the window, the wash sale rule still disallows the loss, but the basis adjustment has nowhere to land in an IRA. The loss is effectively gone for good. Automatic contributions buying similar funds in a retirement account while you’re harvesting losses in a taxable one make this easy to trigger accidentally.
Losses That Never Enter the Netting Process
Losses on property held for personal use don’t count. Sell your home, your car, or your furniture at a loss, and the loss is not deductible.11Internal Revenue Service. Capital Gains, Losses, and Sale of Home Gains on the same property are taxable. It’s an asymmetry that surprises homeowners in down markets.
Two categories carry their own quirks:
- Worthless securities are treated as sold for $0 on the last day of the tax year. The holding period runs through December 31, which can convert what began as a short-term position into a long-term loss.12Internal Revenue Service. Publication 550, Investment Income and Expenses
- Nonbusiness bad debts are always short-term capital losses, regardless of how long the debt was outstanding. The debt must be entirely worthless; partial write-offs don’t qualify. You report it on Form 8949 with a statement identifying the debt, the debtor, your collection efforts, and how you concluded it was worthless.13Internal Revenue Service. Topic No. 453, Bad Debt Deduction
Where the Numbers Actually Go on the Return
The reporting chain runs through three forms. Each sale goes on Form 8949, where you reconcile your figures with what your broker reported on Form 1099-B.14Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets Subtotals from Form 8949 flow to Schedule D, which performs the netting: short-term against short-term, long-term against long-term, then the cross-category offset.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses The final number lands on Form 1040, line 7a.
Schedule D line 21 is where the $3,000 cap gets applied. If a carryover is coming in from last year, the Capital Loss Carryover Worksheet in the Schedule D instructions calculates the amount entering this year’s netting.7Internal Revenue Service. Instructions for Schedule D (Form 1040) Report everything, including losses you can’t fully use this year, so the IRS has a complete picture for verifying carryover balances in later years.
Losses Can Also Cut the 3.8% Net Investment Income Tax
Gains that survive the netting process may face an extra 3.8% surtax, the net investment income tax. It applies once modified adjusted gross income exceeds $200,000 for single filers, $250,000 for married filing jointly, or $125,000 for married filing separately.15Internal Revenue Service. Topic No. 559, Net Investment Income Tax Net gains from stocks, bonds, mutual funds, and real estate all count toward the investment income that triggers it, and like the $3,000 loss cap, these thresholds aren’t indexed to inflation. Capital losses reduce net investment income, so effective loss harvesting can shrink or eliminate the surtax on top of the ordinary rate savings.