Tax-Loss Harvesting: A Year-End Guide for 2026
Selling investments at a loss can offset capital gains and up to $3,000 of ordinary income. How tax-loss harvesting works and how to avoid the wash-sale rule.
The short version
- Realized losses offset realized gains first, then up to $3,000 of ordinary income a year ($1,500 if married filing separately).
- Unused losses carry forward indefinitely.
- Sales must happen by December 31, 2026 to count for this year.
- The wash-sale rule disallows a loss if you buy the same or a substantially identical investment within 30 days before or after the sale — including in your IRA.
- Low earners may do the opposite: realize gains tax-free in the 0% bracket (taxable income up to $49,450 single or $98,900 joint in 2026).
Tax-loss harvesting means selling an investment that has fallen in value to “realize” the loss, then using it to reduce your taxes. The loss is real either way — harvesting simply turns it into a tax deduction while you keep your money invested. It only works in taxable brokerage accounts, not IRAs or 401(k)s, and the sale has to happen by December 31 to count for 2026.
How capital losses reduce your taxes
- Losses first offset gains of the same type: short-term losses against short-term gains, long-term losses against long-term gains.
- Any net loss in one category then offsets net gains in the other.
- If you still have a net loss, you can deduct up to $3,000 of it against ordinary income such as wages ($1,500 if married filing separately).
- Whatever is left carries forward to future years, indefinitely, keeping its short- or long-term character.
Short-term gains (on investments held a year or less) are taxed at your ordinary income rate — up to 37% — while long-term gains get 0%, 15%, or 20%. So a loss that offsets a short-term gain or ordinary income is usually worth the most.
A worked example
Say you are single, earn $90,000 in wages, and sold a stock earlier this year for a $10,000 long-term gain. You also hold a fund that is down $13,000. If you sell the fund before December 31:
| Without harvesting | With harvesting | |
|---|---|---|
| Long-term capital gain | $10,000 | $0 (offset by $10,000 of the loss) |
| Loss deducted against wages | $0 | $3,000 |
| Tax on the gain (15%) | $1,500 | $0 |
| Tax on wages saved (22% bracket) | — | $660 |
| Total 2026 federal tax saved | — | $2,160 |
The full $13,000 loss is used this year: $10,000 against the gain and $3,000 against wages. Had the loss been larger, the rest would carry forward to offset future gains.
Don’t trip the wash-sale rule
The IRS disallows a loss if you buy the same or a “substantially identical” security within 30 days before or after you sell — a 61-day window. The rule also applies to purchases in your IRA and by your spouse. A disallowed loss isn’t gone forever; it is added to the cost basis of the replacement shares. But it won’t help this year.
- Wait 31 days before buying back the same investment, accepting that you’ll be out of the market for a month.
- Or buy something similar but not substantially identical right away — for example, swap one S&P 500 fund for a total-market fund from a different provider.
- Turn off automatic dividend reinvestment in the fund you’re selling, and watch for automatic purchases in your 401(k) or IRA.
The flip side: harvesting gains at 0%
If your income is modest, you may pay no tax at all on long-term gains. For 2026, the 0% rate applies while your taxable income — including the gain — stays at or below $49,450 for single filers, $66,200 for heads of household, or $98,900 for married couples filing jointly. Selling appreciated investments up to that line and buying them right back resets your cost basis higher without any tax. The wash-sale rule applies only to losses, so you can repurchase immediately.
Year-end checklist
- Pull your realized gains and losses for 2026 from your brokerage, including any mutual fund capital gain distributions expected in December.
- Identify positions with losses — and check how long you’ve held them.
- Place trades by December 31; for losses, the trade date is what counts.
- Note any loss carryforward from prior years on last year’s Schedule D.
- Remember state taxes: most states tax capital gains as ordinary income, which makes losses worth even more.
Not sure what your gains will cost? Estimate the bill with the capital gains tax calculator, and see where you fall in the brackets with the income tax calculator.
Was this guide helpful?
Frequently Asked Questions
How much in capital losses can I deduct?
Capital losses offset capital gains without limit. Beyond that, you can deduct up to $3,000 of net capital loss against ordinary income each year ($1,500 if married filing separately) and carry the rest forward indefinitely.
What is the deadline for tax-loss harvesting in 2026?
Sales must be made by December 31, 2026 to count for the 2026 tax year. For losses, the trade date controls, not the settlement date.
What is the wash-sale rule?
If you buy the same or a substantially identical security within 30 days before or after selling it at a loss — including in an IRA or by your spouse — the loss is disallowed for now and added to the cost basis of the new shares.
Can I harvest losses in my IRA or 401(k)?
No. Gains and losses inside tax-advantaged accounts aren’t taxed or deductible, so harvesting only works in taxable brokerage accounts.
Sources
This article is for general education and is not financial, tax, or legal advice. Figures reflect published IRS and SSA amounts as of the date above; verify current limits with the linked sources or a qualified professional before acting.
About the author
David Miles is the founder of FigureMoney and builds independent, source-backed personal-finance tools across the Modern Site Builders network. Every calculator and guide cites the IRS, SSA, or primary research behind its numbers.
Calculators in this guide
Capital Gains Tax Calculator
Estimate the federal tax on a stock or property sale, compare short-term vs long-term rates, and include the 3.8% NIIT.
Income Tax Calculator
Estimate your income tax, effective and marginal tax rate, and see how much you owe in each tax bracket.
ROI Calculator
Calculate return on investment (ROI). Enter what you invested and what it is worth to see your net profit, ROI percentage, and annualized return.
Keep reading
2027 HSA Contribution Limits (and 2026): Full Guide
The IRS has already set the 2027 HSA limits: $4,500 for self-only coverage and $9,000 for families. Here are the 2026 and 2027 numbers, who qualifies, and how to decide between an HSA and an FSA at open enrollment.
2027 Tax Brackets & Standard Deduction (Projected)
The IRS hasn’t published its 2027 numbers yet, but the major tax publishers agree on nearly every line: about 3.2% higher brackets, a $16,600 / $33,200 standard deduction, and a $20,000 gift exclusion.