Tax-Loss Harvesting Example: $6,000 Loss, $1,728 Saved
A tax-loss harvesting example with real numbers: $1,728 saved this year, how much the IRS gets back later.
Tax-loss harvesting means selling investments that are down so the loss cuts your tax bill, then buying something similar so you stay invested. In our example, harvesting $6,000 of losses saved a single California filer $1,728 in tax this year.
Most of that money is a loan.
We worked this through on one realistic account because the usual explanation stops at “you save $1,728”. It skips what happens years later, when the IRS comes back for most of it. Whether harvesting is worth doing depends almost entirely on that second half.
The account
One person, single, about $120,000 of taxable income, living in California. That’s the 24% federal bracket under the 2026 IRS tables, and California’s 9.3% bracket. Their taxable brokerage account in December:
| Holding | Paid | Worth now | Gain or loss |
|---|---|---|---|
| U.S. total market fund | $25,000 | $34,000 | +$9,000 |
| International index fund | $20,000 | $15,500 | -$4,500 |
| Clean energy ETF | $12,000 | $10,500 | -$1,500 |
Earlier in the year they trimmed the U.S. fund to rebalance and realized a $3,000 long-term gain. That gain is already on this year’s tax bill.
How does tax-loss harvesting work here?
They sell the international fund and the clean energy ETF, realizing $6,000 of losses. The losses cancel the $3,000 gain first, then the remaining $3,000 comes off ordinary income, which is the yearly maximum. Same day, they buy a different international index fund and a different clean energy ETF, so the portfolio barely changes.
Here’s what that does to the tax bill.
| Loss used against | Amount | Tax rate saved | Tax saved |
|---|---|---|---|
| The $3,000 capital gain | $3,000 | 15% fed + 9.3% CA | $729 |
| Ordinary income | $3,000 | 24% fed + 9.3% CA | $999 |
| Total | $6,000 | $1,728 |
California taxes capital gains like regular income, which is why the state piece is 9.3% on both lines.
The part nobody mentions: the IRS gets most of it back
Those new funds were bought at today’s lower prices, $15,500 and $10,500. When they’re eventually sold, the gain is measured from those prices, so there’s $6,000 more gain than there would have been.
At the same 24.3% combined rate, that’s $1,458 of tax later. So the permanent saving is $1,728 minus $1,458.
$270.
The rest is a tax deferral. That’s still useful, just not what the headline promises.
Three things turn the loan into a real gain. One: the $999 that came off ordinary income was saved at 33.3%, but gets paid back at 24.3%, so the rate gap is yours to keep. Two: if they sell in a low-income retirement year inside the 0% federal capital gains bracket ($49,450 of taxable income for a single filer in 2026), only California’s slice comes back, about $558. Three: if they hold the funds until death, heirs get a stepped-up basis and the deferred tax disappears. They keep all $1,728.
And the $1,728 isn’t sitting still in the meantime. Invested at 7% for 15 years, it grows to about $4,770.
The wash sale trap
If you buy the same fund, or a “substantially identical” one, within 30 days before or after the sale, the loss is disallowed. It counts your spouse’s accounts and your IRA too.
Your IRA is the nasty case. A loss blocked by an IRA purchase generally doesn’t get added to any basis. It’s just gone.
Small automatic purchases can trip it as well. A $60 dividend reinvestment into the fund you just sold wipes out the loss on those shares. Turn off dividend reinvestment on anything you plan to harvest, and switch fund families for the replacement.
When harvesting isn’t worth it
If you’re already in the 0% capital gains bracket, skip it. You’d be lowering your basis to save tax at a rate of zero, which only creates a bigger gain for later, and in a state like California you’d still owe the state slice down the road.
Tiny losses aren’t worth much either. A $300 loss saves maybe $100, and every harvest adds lots, replacement funds and wash sale dates you have to track for years. We’ve harvested in a bad year and skipped it in a flat one, and honestly the flat-year skip was the right call, because the paperwork cost us an evening and the saving barely covered dinner. Our rough line is a loss of a few thousand dollars, or any loss when you also have gains to cancel.
And never let the tax tail wag the dog. If you wouldn’t otherwise own the replacement fund, don’t buy it just to keep the loss.
Run it on your own account
Whether harvesting pays depends on the rate you save at now versus the rate you’ll pay later. Our Withdrawal Sequencing Optimizer shows how your taxable account gets taxed in retirement, which tells you whether you’re headed for the 0% bracket.
If your losses came from a crash, make sure the plan still fits first. Our portfolio stress test shows what another drop would do.
2026 federal brackets and capital gains thresholds from IRS Rev. Proc. 2025-32. California 9.3% bracket from the FTB 2025 schedule. Wash sale rules: IRS Publication 550. Not tax advice; your situation may differ.
Frequently asked questions
How much does tax-loss harvesting actually save?
In our example, harvesting $6,000 of losses saved $1,728 in federal and California tax this year for a single filer in the 24% bracket. But the replacement funds start with a lower cost basis, so about $1,458 of that comes back as tax when they're eventually sold. The permanent gain is $270 unless you hold until death, sell in a low-income year, or invest the savings.
What is the wash sale rule?
If you buy the same or a substantially identical investment within 30 days before or after selling it at a loss, the IRS disallows the loss for now and adds it to the new shares' cost basis. That window is 61 days total. It counts purchases in your spouse's accounts and your IRA too. A loss disallowed because of an IRA purchase is generally lost for good.
Can I harvest losses in a 401(k) or IRA?
No. Gains and losses inside a 401(k), IRA or Roth IRA don't hit your tax return, so there's nothing to harvest. Tax-loss harvesting only works in a regular taxable brokerage account. Watch the other direction too: buying the fund you just sold inside your IRA within the 30-day window can trigger a wash sale on the taxable-account loss.
How much capital loss can I deduct per year?
After losses cancel your capital gains, up to $3,000 of net capital loss can offset ordinary income each year, or $1,500 if married filing separately. The limit has not changed since 1978 and isn't adjusted for inflation. Any unused loss carries forward indefinitely, so a big harvest in a crash year can keep paying for many years.
Is tax-loss harvesting worth it?
It's worth it when the tax rate you save at today is higher than the rate you'll pay later, when you're likely to hold until death, or when you have gains to offset this year. It's least useful if you're already in the 0% capital gains bracket. Then you're trading a small benefit for a lower basis and more record keeping.
RELATED READING