SaaS CalcSuite
Tax

Tax-Loss Harvesting: Smart Investor Guide for 2026

SaaSCalculatorz Team9 min read

What Is Tax-Loss Harvesting?

Tax-loss harvesting is the strategy of selling investments at a loss to offset capital gains and reduce your taxable income. If you sold a stock for a $8,000 profit this year but another holding is down $5,000, selling the loser lets you offset $5,000 of that gain — you only pay tax on the remaining $3,000.

Harvested losses can also offset up to $3,000 of ordinary income per year ($1,500 if married filing separately), with unused losses carried forward to future tax years indefinitely. This makes the strategy valuable even in years without large gains.

How It Works: A Simple Example

Imagine you bought 100 shares of a tech ETF at $200 ($20,000 total). The shares are now worth $150 each ($15,000 total). Selling locks in a $5,000 capital loss. You can use that loss to wipe out $5,000 of capital gains elsewhere in your portfolio.

If your combined federal and state tax rate on gains is, say, 20-25%, that $5,000 loss saves you roughly $1,000-$1,250 in taxes. Then you reinvest the proceeds — into a similar-but-not-identical fund — so your portfolio allocation barely changes. Run the math on your own situation with our free Tax Calculator.

The Wash-Sale Rule: The Biggest Trap

The IRS wash-sale rule disallows your loss if you buy a "substantially identical" security within 30 days before or after the sale. Violating it means the loss is deferred (added to the cost basis of the replacement shares) rather than harvested.

  • Wait 31+ days before repurchasing the exact same stock or fund.
  • Swap to a similar fund — e.g., sell one S&P 500 index fund and buy another provider's S&P 500 fund, or switch an S&P 500 fund for a total-market fund.
  • Watch your retirement accounts: the wash-sale window applies across accounts. Buying the same security in your IRA or 401(k) within the window can trigger the rule.
  • Dividend reinvestment counts: an automatic reinvestment in the 30-day window can inadvertently trigger a wash sale.

Limits and Carryforward Rules

RuleDetail
Offset against gainsUnlimited — losses first offset same-type gains (long-term vs. short-term), then the other type
Ordinary income offsetUp to $3,000 per year ($1,500 if married filing separately)
CarryforwardUnused losses carry forward indefinitely; track them on IRS Schedule D
Accounts it applies toTaxable brokerage accounts only — losses in IRAs/401(k)s are not deductible

When Harvesting Makes Sense (and When It Doesn't)

Harvesting shines in high-income years, when you have realized gains to offset, or when you hold losers you'd sell anyway to rebalance. It matters less if you're in the 0% capital-gains bracket or only hold assets in tax-advantaged accounts.

Don't sell a great long-term holding just for a tax benefit if you'd rather keep it — you can always find other losses. Also remember: harvested losses only defer taxes, since your replacement shares get a lower cost basis. The real win comes when the deferred tax is paid later at a lower rate, or never (step-up in basis at death).

Year-End Checklist for 2026

  1. Review realized gains and losses year-to-date before December.
  2. Identify losers you'd be comfortable selling and swapping for similar funds.
  3. Execute sales with the 30-day wash-sale window in mind — especially around automatic reinvestments.
  4. Keep records of every harvested loss for Schedule D and carryforward tracking.
  5. Pair harvesting with broader self-employment tax planning if you're a freelancer with both business and investment income.

Advanced Moves: Direct Indexing and Year-Round Harvesting

Most investors harvest once a year in December, but losses appear whenever markets dip — and automated direct-indexing services now harvest them continuously. Direct indexing means owning the individual stocks of an index rather than the fund itself, which creates dozens of separate tax lots. When a handful of stocks fall while the index rises, the service sells those losers, buys replacements, and banks the losses while still tracking the index. This is how some investors harvest losses even in up years.

You can approximate the manual version: instead of holding one total-market fund, hold two or three complementary funds (for example, a large-cap fund plus a small-cap fund). When one sleeve dips, harvest it and rotate into a similar-but-not-identical fund. Keep a simple spreadsheet of every harvest — date, security sold, loss amount, and replacement bought — so wash-sale tracking and Schedule D reporting stay clean.

A second advanced angle is gain bunching: if you know a big gain is coming (selling a business, exercising stock options), you can deliberately realize losses in the same year to absorb it. Conversely, in a low-income year you might skip harvesting and instead realize gains at the 0% capital-gains rate. Tax planning is a multi-year game; the harvest is just one move on the board.

Coordinating Harvesting With the Rest of Your Tax Picture

Harvested losses interact with everything else on your return. They can offset gains from selling rental property or a business, reduce the net investment income tax bite for high earners, and — through the $3,000 ordinary-income offset — slightly lower the income that phases out credits and deductions. If you are charitably inclined, consider pairing harvesting with donating appreciated shares: you get a deduction for the full market value and never pay tax on the gain, while harvested losses cover gains elsewhere.

One caution: harvesting lowers your cost basis, which raises future gains. If you expect to be in a much higher bracket later (say, a founder pre-liquidity event), deferring gains into that higher-bracket year can backfire. Run multi-year scenarios — or better, have a professional run them — before harvesting aggressively. Estimate the current-year effect anytime with our Tax Calculator.

Disclaimer: This article is general information, not tax or investment advice. Tax rules change and individual situations vary — consult a qualified tax professional before acting.

You might also like

Related Tax Guides

Get smarter about your margins.

Get weekly insights on pricing psychology, profit margins, and online business economics.

No spam. Unsubscribe at any time. Read our Privacy Policy.