Tax-Loss Harvesting: A Practical Year-End Playbook for Taxable Accounts
Learn how tax-loss harvesting works in U.S. taxable brokerage accounts, what the wash sale rule really blocks, and a numbers-based checklist to decide if harvesting is worth it for you.
Tax-loss harvesting is a “real money” move—if your numbers line up
If you invest in a taxable brokerage account (not a 401(k), IRA, or Roth IRA), you’ve got a tool that retirement accounts don’t offer: using investment losses to reduce your tax bill.
That said, tax-loss harvesting isn’t a magic trick. It’s math, timing, and documentation. Done well, it can improve your after-tax return. Done sloppy, it can trigger a wash sale, create confusing cost basis records, and leave you with a smaller benefit than you expected.
Here’s what the numbers tell us: the value of harvesting depends mostly on (1) your tax bracket, (2) how much capital gain you’re offsetting, (3) whether you can also use the $3,000 ordinary-income deduction, and (4) whether you can avoid wash sales across all your accounts.
IMPORTANT
Tax-loss harvesting is for taxable brokerage accounts. Losses inside a 401(k), IRA, or Roth IRA don’t create a deductible capital loss on your tax return.
Data: the tax math behind harvesting (with concrete dollar outcomes)
Tax-loss harvesting is the act of selling an investment at a loss to realize that loss for tax purposes, then reinvesting in a similar—but not “substantially identical”—investment to stay invested.
The three ways a harvested loss can help
-
Offset capital gains (best bang for your buck)
- Short-term gains are taxed at ordinary income rates.
- Long-term gains are taxed at preferential rates (0%/15%/20% for many taxpayers).
-
Deduct up to $3,000 against ordinary income each year
- If your losses exceed your gains, you can deduct up to $3,000 ($1,500 if married filing separately) against wages/other income.
- Any remaining loss carries forward.
-
Carry forward unused losses
- Capital loss carryforwards can offset future gains for years.
A quick “benefit per $10,000 harvested” table
Below is a ballpark estimate of federal tax savings if you harvest $10,000 in losses. (State taxes can increase the benefit; see the local example later.)
| Where the loss is used | Tax rate applied | Approx. federal tax savings on $10,000 loss |
|---|---|---|
| Offsetting short-term capital gains | 22% ordinary bracket | ~$2,200 |
| Offsetting short-term capital gains | 32% ordinary bracket | ~$3,200 |
| Offsetting long-term capital gains | 15% LTCG rate | ~$1,500 |
| Deducting against ordinary income (max $3,000/yr) | 22% bracket | ~$660 per year until used |
| Deducting against ordinary income (max $3,000/yr) | 32% bracket | ~$960 per year until used |
Analysis: The biggest immediate payoff is offsetting short-term gains. If you’re mostly a buy-and-hold index investor with minimal taxable distributions and minimal realized gains, harvesting can still help—but it may be slower (via the $3,000 deduction and carryforward).
Walking through the math (simple):
- You realized $8,000 of short-term gains earlier this year (maybe you sold a concentrated stock position).
- You harvest $8,000 of losses in December.
- In the 24% bracket, that’s roughly $1,920 less federal tax (8,000 × 24%), ignoring NIIT and state tax.
Analysis: the wash sale rule is the “gotcha” most people underestimate
The wash sale rule disallows a loss if you buy the same or “substantially identical” security within 30 days before or after the sale that generated the loss (a 61-day window total).
And here’s the part that trips up normal people: wash sales can be triggered by purchases in other accounts you own, including IRAs, and sometimes by automatic dividend reinvestment.
Common wash-sale triggers (real life, not theory)
- You sell VTI at a loss in your taxable account, then your Roth IRA buys VTI two weeks later.
- You sell SPY at a loss, but your taxable account auto-reinvests a dividend into SPY during the window.
- You tax-loss harvest an S&P 500 fund, then your 401(k) contribution is buying the exact same S&P 500 fund every paycheck.
WARNING
Automatic investing can create accidental wash sales. If you’re harvesting, consider temporarily turning off dividend reinvestment (DRIP) and pausing purchases of the same fund across accounts during the 61-day window.
“Substantially identical” in plain English
The IRS doesn’t give a perfect list. In my view, the safest approach is:
- Avoid swapping Fund A for Fund A (obvious).
- Be cautious swapping two funds that track the exact same index from the same provider.
- Prefer swaps that change the index exposure slightly while keeping your overall allocation similar.
Here’s a real case swaps (commonly used patterns):
- Sell a Total U.S. Stock Market ETF at a loss → buy an S&P 500 ETF (or vice versa).
- Sell a Total International fund → buy a Developed Markets fund for 31+ days.
- Sell an Intermediate Treasury fund → buy a Total Bond Market fund (or a different duration bucket), depending on your target allocation.
If you want the simplest long-term structure so harvesting is easier, broad index funds generally make this cleaner. (If you need a refresher on the mechanics of index investing, see Index Funds Explained: The Simplest Path to Wealth.)
Data → Analysis: when harvesting is worth it (and when it’s just noise)
Harvesting has real upside, but it also has frictions:
- Trading spreads (usually small for big ETFs)
- Potential market drift if your “replacement” isn’t perfectly aligned
- Recordkeeping complexity
- Behavioral risk: people harvest and then start tinkering constantly
Here’s a decision table I use when I’m “crunching the numbers” for a household.
Tax-loss harvesting decision table
| Your situation | Likely value | Why |
|---|---|---|
| You have short-term gains this year | High | Losses offset gains taxed at ordinary rates |
| You have long-term gains this year | Medium | Still useful, but rate may be 15% (often) |
| You’re in a high bracket + NIIT applies | Higher | More tax per dollar of gain offset |
| You have no gains and small losses (<$3,000) | Low–Medium | Benefit limited to ordinary income deduction |
| Your taxable account is small (<$10k) | Low | Dollar benefit often tiny vs hassle |
| You auto-invest in the same funds across 401(k)/IRA/taxable | Medium risk | Wash sales can erase the loss benefit |
| You’re planning to buy a home soon | Mixed | Harvesting can help taxes, but don’t take extra market risk with down payment money (see Best Savings Accounts for 2026) |
Here’s what that looks like in practice (behavioral reality):
- If you’re paycheck to paycheck and your “investing” money doubles as an emergency fund, harvesting is the wrong problem to solve first. Get your cash buffer stable so you’re not forced to sell at bad times. (Related: How to Build an Emergency Fund in 6 Months.)
A specific local example: California investor harvesting losses (state tax changes the math)
Let’s use a real-world scenario in Los Angeles, CA—because state taxes are where the “hidden” value shows up.
Assumptions:
- Single filer, W-2 income puts them in the 32% federal bracket
- California marginal rate roughly 9.3% (varies by income)
- They realized $20,000 of short-term gains from selling employer stock in July
- In December, they harvest $20,000 of losses in a taxable brokerage account
Estimated tax impact:
| Component | Rate | Savings on $20,000 |
|---|---|---|
| Federal (offset short-term gains) | 32% | $6,400 |
| California (offset short-term gains) | ~9.3% | $1,860 |
| Estimated total | $8,260 |
That’s not “coupon clipping.” That’s rent money in a lot of zip codes.
My take: This is where tax-loss harvesting stops being academic. If you’re in a high-tax state (CA, NY, NJ) and you occasionally realize gains (stock comp, rebalancing, selling a rental, etc.), harvesting can be one of the highest-ROI “finance admin” tasks you do all year.
For official IRS rules on capital gains and losses (including carryforwards), start with the IRS hub on capital gains: IRS
Checklist: a clean, low-drama year-end harvesting workflow
Use this like a pre-flight checklist. The goal is fewer mistakes, not more trades.
1) Gather your numbers (15 minutes)
- Total realized short-term gains YTD
- Total realized long-term gains YTD
- Any capital loss carryforward from last year
- Your expected federal bracket and state marginal rate
- Whether NIIT (3.8%) likely applies (higher-income households)
See it in action
- If your brokerage tax summary shows $4,500 ST gains and $1,200 LT gains, your first $4,500 of harvested losses is doing the heavy lifting.
2) Identify harvest candidates (30 minutes)
Look for:
- Positions down meaningfully (I generally look at -10% or worse, but dollar loss matters more than percent)
- Lots with high cost basis errors corrected
- Duplicative holdings you’d simplify anyway
Avoid:
- Tiny losses (like $37) unless you’re already trading for another reason
- Anything you’ll need to sell soon for cash needs
3) Prevent wash sales across accounts (10 minutes)
- Turn off DRIP temporarily in taxable for funds you’re harvesting
- Pause purchases of the same fund in:
- taxable accounts
- spouse’s taxable accounts
- IRAs/Roth IRAs
- HSAs (if invested)
- 401(k)s (if you control fund choices and can redirect contributions)
If you’re coordinating multiple accounts, it may help to keep a simple “fund map” so your 401(k) and taxable account aren’t buying the exact same tickers. (This pairs well with a once-a-year allocation review like Investment Rebalancing: A Simple Once-a-Year Plan to Control Risk.)
4) Execute the swap (same day)
- Sell the losing position
- Buy a replacement that keeps your portfolio risk close to target
- Document what you did and why (a one-line note is enough)
Real numbers note:
- “Sold Total US Market ETF for loss; bought S&P 500 ETF to maintain US equity exposure; will reassess in 31+ days.”
5) Track carryforwards and future gains (ongoing)
- If you harvested more losses than you can use this year, that’s okay.
- Add “capital loss carryforward” to your tax file notes so it doesn’t get lost.
For market context on why year-to-year results can feel volatile (and why realized gains timing matters), it’s worth keeping an eye on wage vs inflation trends too: Inflation vs Wage Growth in 2026: Why “Real Pay” Is the Economy to Watch. And for broader economic data series, the Bureau of Labor Statistics is the source of record: BLS
What I’d tell a friend: tax-loss harvesting pays when it offsets high-tax gains—and you avoid wash sales
Here’s what the numbers tell us: harvesting is most valuable when you’re offsetting short-term gains or when your combined federal + state rate is high enough that a $10,000–$20,000 harvested loss translates into four figures of tax savings.
Do it cleanly:
- prioritize meaningful dollar losses,
- match the harvested loss to actual realized gains when possible,
- and treat wash-sale prevention like the whole ballgame.
If you’re consistent, this is one of the few “year-end money moves” that can improve after-tax returns without requiring you to earn more, save more, or take more market risk.
Useful sources
Ethan Caldwell
Senior Financial Analyst
Ethan Caldwell is a Certified Financial Planner (CFP) with over 15 years of experience in personal finance, investment strategy, and retirement planning. He has contributed to Forbes, Bloomberg, and The Wall Street Journal.
Credentials: CFP (Certified Financial Planner)