Last updated: October 25, 2026 · Applies to the 2026 tax year (returns filed in 2027)
Selling a stock at a loss isn’t all bad news: the loss lowers your taxes. First it cancels out capital gains, dollar for dollar. If losses are left over, you can deduct up to $3,000 a year against your salary and other income, and carry anything beyond that forward to future years, with no expiration. Here’s exactly how the netting works and how to use a large loss over time.
Key takeaways
- Capital losses first offset capital gains with no limit.
- A net loss can offset up to $3,000 of ordinary income per year ($1,500 if married filing separately).
- Unused losses carry forward indefinitely and keep their short-term or long-term character.
- The $3,000 limit has not been adjusted for inflation since 1978.
- Losses on stocks held in IRAs and 401(k)s are not deductible.
How losses are netted
- Net short-term gains and losses against each other.
- Net long-term gains and losses against each other.
- If one total is a gain and the other a loss, net them against each other.
- If the final result is a net loss, deduct up to $3,000 against other income.
- Carry any remaining loss to next year.
The order matters because short-term gains are taxed at higher rates. A long-term loss that ends up offsetting a short-term gain saves more tax than one offsetting a long-term gain.
Worked example: a large loss over several years
In 2026, Sam sells a tech stock and realizes a $20,000 long-term loss. In the same year he has a $5,000 short-term gain from another trade. He’s single, in the 22% bracket, with $70,000 of salary.
| Year | Gains | Loss used | Deducted from salary | Carryover left |
|---|---|---|---|---|
| 2026 | $5,000 short-term | $5,000 against the gain | $3,000 | $12,000 |
| 2027 | None | None | $3,000 | $9,000 |
| 2028 | $6,000 long-term | $6,000 against the gain | $3,000 | $0 |
- 2026 savings: the $5,000 short-term gain is wiped out (saving $1,100 at 22%) and $3,000 of salary is sheltered (saving $660).
- 2027: another $3,000 deduction, saving $660.
- 2028: the carryover cancels a $6,000 long-term gain (saving $900 at 15%) and the final $3,000 offsets salary ($660).
- In total, Sam’s $20,000 loss saves him about $3,980 over three years.
How carryovers work
- No expiration for individuals. Losses carry forward until used.
- Character is kept. A long-term loss carryover stays long-term and goes on Schedule D line 14; a short-term one goes on line 6.
- Calculate it with the Capital Loss Carryover Worksheet in the Schedule D instructions. Tax software does this automatically if you import last year’s return.
- It ends at death. Unused carryovers can be used on the final return but don’t pass to heirs. A surviving spouse can generally only use the part attributable to their own losses.
Losses you can’t deduct
- Wash sales: if you buy the same security back within 30 days, the loss is deferred. See the wash sale rule and wash sales across multiple accounts.
- Losses in retirement accounts: trades inside IRAs and 401(k)s don’t produce deductible losses.
- Sales to related parties: a loss on a sale to a family member or a company you control is generally disallowed.
- Personal-use property: losses on your car or home are not deductible.
Worthless stock
If a company goes bankrupt and its stock becomes completely worthless, you don’t need to sell it. The tax code treats it as sold for $0 on the last day of the year it became worthless, which can make it long-term even if you bought it that year. You must be able to show it had no value, and you have up to seven years to amend a return to claim a worthless security loss.
Frequently asked questions
Can I choose not to use my loss this year?
No. Losses must offset gains and up to $3,000 of income in the year they occur. You can only carry forward what’s left.
Do crypto losses follow the same rules?
Yes. Crypto losses are capital losses and are netted together with stock gains and losses. See how to report crypto losses.
Does the $3,000 limit apply per person on a joint return?
No. It’s $3,000 per return for married couples filing jointly, and $1,500 each if filing separately.
Sources
- IRS Topic No. 409: Capital gains and losses
- IRS: Instructions for Schedule D (Capital Loss Carryover Worksheet)
- IRS Publication 550: Investment income and expenses
- 26 U.S. Code § 1211: Limitation on capital losses
- 26 U.S. Code § 165(g): Worthless securities
This article is for educational purposes only and is not tax, legal or investment advice. Tax rules depend on your individual situation; consult a qualified tax professional before filing.