Companies cannot pay for placement in our rankings. DollarVisor is funded by advertising, never by commissions on what we recommend.

Investing Q&A

Tax-Loss Harvesting: Rules, Limits and Deadlines

Tax loss harvesting means selling a losing investment on purpose so the loss cancels a taxable gain. Losses offset gains of the same type first, then the other type, then up to $3,000 of ord…

TL;DR: Tax loss harvesting means selling a losing investment on purpose so the loss cancels a taxable gain. Losses offset gains of the same type first, then the other type, then up to $3,000 of ordinary income a year. Whatever is left carries forward for life. Our verdict: the deadline is December 31, the trap is the 30-day repurchase window, and the same $10,000 loss is worth $0 to $3,700 depending on what it offsets.

1. Tax loss harvesting: the short answer

Quick Answer: Tax loss harvesting is selling an investment for less than you paid, then using that loss to cancel capital gains elsewhere. It works only in a regular taxable investment account, and the loss only counts once you actually sell. A paper loss does nothing on your return.

The mechanics are fixed by law and run in a set order. You do not choose which bucket the loss lands in.

Order What the loss offsets Any cap?
First Gains of the same type (short against short, long against long) No cap
Second Gains of the other type No cap
Third Ordinary income, such as your salary $3,000 a year
Fourth Future tax years, with no expiry date $3,000 a year against income
Key takeaway: The famous $3,000 figure is the fourth thing that happens to a loss, not the first. Most of a large harvest never touches that cap.

Here is a plain-English walkthrough before the 2026 numbers and dates.

Video: Tax-Loss Harvesting Explained

2. How a harvest actually works, step by step

Quick Answer: A harvest is four moves: find the underwater position, sell the specific losing lots, replace it with something similar but not identical, and report the loss on Form 8949. The loss then flows through the offset order and cuts your capital gains tax bill for the year.

  1. Find the positions trading below your cost. Look at individual tax lots, not the whole holding. A fund you have bought monthly for years usually holds both winners and losers.
  2. Sell the losing lots, and choose them explicitly. Most brokers default to first in, first out, which sells your oldest and cheapest shares. Switch to specific identification before you order.
  3. Replace the exposure with something similar, not identical. Selling one large-cap US index fund and buying another provider’s version keeps you invested without triggering the 30-day rule.
  4. Report it on Form 8949 and Schedule D. Your broker sends a 1099-B with the sale and, for covered shares, the cost basis. You still net the totals and carry the result to your 1040.

Step three is where most people get careless. Sitting in cash for a month to be safe has cost more than the tax saving in years when the market rebounded quickly.

Key takeaway: Lot selection in step two decides how big your loss is. Leave the broker on its default and you may harvest far less than you could.

Not every broker makes lot selection easy.

Some let you pick lots at the order screen. Others bury it in settings. Compare brokerage accounts →


3. The $3,000 limit is not the whole story

Quick Answer: The $3,000 cap ($1,500 if married filing separately) applies only to what is left after your losses have wiped out every capital gain you had. Gains you cancel are unlimited, so an investor sitting on $40,000 of gains from a mutual fund distribution can use $40,000 of losses in one year.

Per IRS Topic no. 409, the deductible excess is the lesser of $3,000 or your total net loss. Three details catch people out.

  • It is per return, not per account. Three brokerage accounts do not give you three $3,000 deductions.
  • It does not expire, but it does not transfer either. Unused losses carry forward indefinitely, but they die with the person who realized them.
  • The carryforward keeps its character. A short-term loss stays short-term, which is worth more because it cancels gains taxed at ordinary rates.

That last point is the quiet advantage. Short-term losses are the more valuable kind to bank, and most people never notice.

Key takeaway: Treat $3,000 as the floor of what a loss is worth in a year, not the ceiling. If you have gains, the ceiling is as large as those gains.

4. What a $10,000 harvested loss is really worth

Quick Answer: The same $10,000 loss saves a $40,000 earner nothing against a long-term gain and $1,200 against a short-term one. A top-bracket filer saves $3,700. A loss has no fixed value; it is worth the tax rate on whatever it cancels, including inside index funds and ETFs.

Federal Tax Saved by a $10,000 Harvested Loss (Single, 2026)
Modeled 2026 federal tax saving from a ten thousand dollar harvested capital loss for a single filer at five income levels, for a short-term gain, a long-term gain and the ordinary-income deduction.
Taxable income Against a short-term gain Against a long-term gain First $3,000 vs wages
$40,000 $1,200 $0 $360
$70,000 $2,200 $1,500 $660
$120,000 $2,400 $1,500 $720
$220,000 $3,200 $1,500 $960
$700,000 $3,700 $2,000 $1,110

Illustrative scenario modeled by DollarVisor on the 2026 federal rate schedules in IRS Revenue Procedure 2025-32. Federal only. Excludes the 3.8% net investment income tax, which adds $380 to the two highest rows.

Read the first row twice. A filer already in the 0% long-term bracket saves nothing by harvesting against a long-term gain, because that gain was untaxed anyway.

Key takeaway: Point your losses at short-term gains first. Across every income level in this table, that is where the same $10,000 loss buys the most tax relief.

5. The 30-day rule that voids the deduction

Quick Answer: Buy substantially identical shares within 30 days before or after the sale and the loss is disallowed that year. That is a 61-day window in total, not 30, and it is the most common way a harvest fails. Full mechanics are in our guide to the wash sale rule.

Per IRS Publication 550, a wash sale happens when you sell securities at a loss and buy substantially identical ones within 30 days before or after. Four things people miss:

  • The window runs backwards too. Shares bought three weeks before the sale can void it, which catches anyone on an automatic monthly plan.
  • Dividend reinvestment counts as a purchase. A reinvested dividend of $18 inside the window can disallow part of a much larger loss.
  • The loss is deferred, not destroyed. A disallowed loss gets added to the cost basis of the replacement shares, so you get it back when you sell those.
  • Buying it back in your IRA is the exception. A retirement account has no basis to add the loss to, so there the deduction is gone for good.
Key takeaway: Before you harvest, turn off dividend reinvestment and pause automatic buys on that holding. Both run silently and both can void the deduction.

Want the dates checked against your own trades?

Our editors run the calendar and the offset order with the same math shown here. See how we do the math →


6. The 2026 harvest calendar, date by date

Quick Answer: The deadline for a 2026 loss is the trade date, not the settlement date, so the last chance is the closing bell on Thursday, December 31, 2026. Sell that day and you cannot buy back in until Monday, February 1, 2027. Your market or limit order choice matters more on a thin holiday tape.

Deadline Timeline for a December 31, 2026 Harvest
Timeline of key dates for an investor who sells a losing position on December 31, 2026, showing the wash sale window, the last trading day of the tax year, the first safe repurchase date and the filing deadline.
Date What happens Why it matters
Dec 1, 2026 Wash sale window opens Any purchase from here on can void a Dec 31 loss
Dec 31, 2026 Last trading day of the tax year Final chance to realize a 2026 loss
Jan 1, 2027 New tax year begins A sale now counts against 2027 income instead
Jan 30, 2027 Wash sale window closes Day 30 after the sale, counted from Jan 1
Feb 1, 2027 First safe trading day to repurchase Jan 31 falls on a Sunday

Timeline compiled by DollarVisor from the wash sale period defined in IRS Publication 550 and the 2026 calendar. Assumes a sale on the last trading day of 2026 and no other purchases in the window.

Notice the gap between the two headline dates. The tax year ends on one day, but your money stays out of that position for another month.

Key takeaway: A December 31 harvest is the deadline, not the plan. Selling in early December gives you the same deduction and lets you back in before the new year is a month old.

7. How long a $50,000 loss takes to use up

Quick Answer: With no future gains, a $50,000 net loss takes 17 years to absorb at $3,000 a year. Realize $15,000 of gains annually and it clears in 3 years. Regular selling, including the trimming inside a portfolio rebalance, is what turns a carryforward into cash.

Years to Fully Use a $50,000 Capital Loss Carryforward
Modeled number of tax years required to absorb a fifty thousand dollar net capital loss carryforward under four assumptions about future annual realized gains, with the loss used in year one.
Future gains each year Years to use it all Used in year one
None

17 years

$3,000
$5,000

7 years

$8,000
$40,000 in year one only

4 years

$43,000
$15,000

3 years

$18,000

Illustrative scenario modeled by DollarVisor using the $3,000 annual deduction cap in IRS Topic no. 409. Years rounded up. Federal rules only; several states do not follow them.

The third row is the interesting one. One large gain early absorbs more of the carryforward than a decade of the $3,000 deduction ever will.

Key takeaway: A big carryforward is worth very little to a buy-and-hold investor who never sells. It is worth a great deal to someone who expects to realize gains in the next few years.

8. What the same harvest is worth in ten states

Quick Answer: A $10,000 harvest that cancels a short-term gain saves a California resident $3,330 and a Texas resident $2,400. Same trade, a $930 spread, purely from where you file. States also differ on carryforwards, which is why our investing hub reports state-level numbers rather than a national average.

Total Tax Saved by a $10,000 Harvest Against a Short-Term Gain (2026)
Modeled 2026 federal and state tax saved when a single filer with one hundred twenty thousand dollars of other taxable income uses a ten thousand dollar harvested loss to cancel an equal short-term capital gain, across ten US states.
State Federal saved State saved Total saved Per $1 of loss
California $2,400 $930 $3,330 $0.33
New York $2,400 $590 $2,990 $0.30
Georgia $2,400 $519 $2,919 $0.29
Illinois $2,400 $495 $2,895 $0.29
Michigan $2,400 $425 $2,825 $0.28
North Carolina $2,400 $399 $2,799 $0.28
Pennsylvania $2,400 $307 $2,707 $0.27
Ohio $2,400 $275 $2,675 $0.27
Texas $2,400 $0 $2,400 $0.24
Florida $2,400 $0 $2,400 $0.24

Illustrative scenario modeled by DollarVisor using 2026 state rate schedules published by the Tax Foundation and the 24% federal bracket. Single filer, $120,000 of other taxable income. Excludes local taxes.

One state needs its own warning. Pennsylvania has no provision for carrying losses between tax years and blocks a loss in one class of income from offsetting another. A Pennsylvania harvest only helps if you have gains that same year.

Key takeaway: Harvesting is worth about a third more in California than in Texas, and the state layer is where rules diverge most. Check yours before assuming the federal answer applies.

Fund turnover is what creates the gains in the first place.

Low-turnover funds hand you fewer surprise distributions to harvest against. See what fund costs really include →


9. Where harvesting does nothing at all

Quick Answer: Losses inside a retirement account are invisible to the IRS, so selling a fallen fund in your 401(k) creates no deduction whatsoever. The same is true of an IRA, an HSA and a 529. Harvesting is a taxable-account tool only.

Two situations where the effort returns nothing:

  • Tax-sheltered accounts. 401(k), 403(b), traditional and Roth IRAs, HSAs and 529 plans. No taxable event, no reportable loss.
  • Already in the 0% long-term bracket. If your taxable income sits under $49,450 single, per IRS Revenue Procedure 2025-32, long-term gains are untaxed anyway. Harvesting gains, not losses, is the better move that year.
Key takeaway: Check which account the losing position sits in first. Many of the harvests people plan are in accounts where no loss can be claimed.

10. When harvesting costs you money later

Quick Answer: Every harvest lowers your cost basis in the replacement holding, making the eventual gain bigger. It is a deferral, not a discount. The saving is real only if you cancel a highly taxed gain now and pay a lower rate later, which is why steady dollar-cost averaging creates so many harvestable lots.

Harvest $10,000 today against a short-term gain at 24% and you save $2,400. Sell the replacement years later at a long-term 15% and you hand back $1,500. You keep the $900 difference plus years of growth on the deferred tax.

The move goes wrong in three ways:

  • Your future rate is higher than today’s. A big income year later can turn the deferral into a loss.
  • The replacement is not a real substitute. Swapping a broad index fund for a narrow sector fund changes your risk to save a few hundred dollars in tax.
  • You sit in cash for 31 days. Missing a sharp rebound costs far more than most harvests are worth.
Key takeaway: The real prize is rate arbitrage, not the deduction itself. Cancel expensive short-term income now, pay the cheaper long-term rate later, and keep the gap.

11. Our verdict, by situation

Quick Answer: Harvest when you have short-term gains to cancel, when a fund has handed you a distribution you did not ask for, or when you are rebalancing anyway. Skip it in a 0% bracket year or inside a retirement account. Every figure behind these calls is published on DollarVisor, and no company can pay to change them.

Your situation Our verdict
You have short-term gains this year Harvest. This is where the loss is worth the most, up to $3,700 per $10,000.
A fund made a surprise distribution Harvest. You owe tax on income you never chose to take.
Taxable income under $49,450 (single) Skip. Consider harvesting gains at 0% instead.
The loss is in your 401(k) or IRA Skip. There is no deduction to claim.
You live in Pennsylvania with no gains Federal only. The state gives you nothing to carry forward.
Key takeaway: Harvesting is a good idea in about three situations and a waste of a Saturday in the rest. Match your case before you order.

12. The bottom line

Quick Answer: Check three things before December 31: what gains you already have, when you last bought the position, and what your state does with losses. Those answers decide whether a harvest is worth $3,330 or nothing, whatever sits in your IRA.

Do it in early December, not on the last trading day. You get the same deduction and you are back in the market weeks sooner. Point the loss at short-term gains first, keep the replacement fund genuinely similar, and write down the date you sold so the 30-day window is never a guess.


13. Frequently Asked Questions

1. What is the deadline for tax loss harvesting?

December 31 of the tax year, measured by the trade date rather than the settlement date. For 2026 that is the closing bell on Thursday, December 31. A sale on January 2 counts against the next year, and you cannot apply it backwards.

2. How much can I deduct in one year?

There is no limit on losses used to cancel capital gains. Once gains are gone, you can deduct up to $3,000 of the remainder against ordinary income, or $1,500 if married filing separately. Anything left carries forward with no expiry.

3. Can I buy the investment back right away?

Not the same one. Buying substantially identical shares within 30 days before or after the sale triggers the wash sale rule and the loss is disallowed. You can buy a similar but different fund immediately, which keeps you invested while the clock runs.

4. Does the $3,000 deduction reduce my tax by $3,000?

No. It reduces taxable income by $3,000, so the saving is $3,000 times your marginal rate. That is $660 in the 22% bracket and $1,110 in the 37% bracket, which is why it is worth more to higher earners.

5. What happens to unused losses when I die?

They are used on the final tax return and any remainder disappears. Carryforwards do not pass to heirs or to a surviving spouse’s later returns, so a large balance can go to waste.

Want the harvest math for your own account?

Tell us your state, filing status and roughly what the gains and losses look like this year. We’ll send back the federal and state saving side by side, the wash sale dates for your trades, and what the carryforward is really worth. Every figure sourced, no paid placements.

Get my harvest breakdown →

This article is educational information, not tax or financial advice. Rules change and individual situations differ. See our disclaimer.