investing

Tax-Loss Harvesting for Individual Investors

How realising a loss can offset gains and up to $3,000 of ordinary income each year, the wash-sale rule that limits it, and when the complexity is actually worth it.

By EconoCents Editorial Team ·

Tax-loss harvesting sounds like an advanced, institutional-only strategy, but the mechanics are simple enough that individual investors use it routinely — and robo-advisors now automate much of it. Here’s what it actually does, the rule that limits how you execute it, and when it’s genuinely worth the extra complexity.

The basic mechanic

Tax-loss harvesting means deliberately selling an investment that’s currently worth less than you paid for it, to realise a capital loss for tax purposes. That realised loss can then offset:

  1. Realised capital gains, dollar for dollar, from other investments you sold at a profit in the same year.
  2. Up to $3,000 of ordinary income per year, once losses exceed any gains you have to offset.
  3. Future years, indefinitely, if losses exceed both of the above — any unused loss carries forward and can offset gains or income in later tax years until it’s fully used.

Nothing about this requires the investment to actually be a bad one long-term — the loss is simply “unrealised” (only on paper) until you sell, and harvesting converts that paper loss into something with immediate tax value, without necessarily abandoning your market exposure (see the swap approach below).

The wash-sale rule

The wash-sale rule is what stops harvesting from being a costless loophole. It disallows the tax loss if you buy the same or a “substantially identical” security within 30 days before or after the sale that generated the loss — a 61-day window in total, centred on the sale date. A few details matter:

  • The rule applies across all your accounts, including IRAs and a spouse’s accounts — buying the same fund back in a different account, or having it purchased automatically through a dividend reinvestment plan or an employer 401(k), can still trigger it.
  • “Substantially identical” isn’t precisely defined by statute for every case, but selling a fund and immediately buying the exact same fund is squarely inside it. Selling one fund and buying a similar but not identical fund is the standard way around it (see below).
  • If the wash-sale rule is triggered, the loss isn’t gone forever — it’s added to the cost basis of the replacement shares, deferring the benefit rather than eliminating it, but it does defeat the point of harvesting this year.

Practical execution: swap into something similar

The standard way to harvest a loss without giving up market exposure — and without violating the wash-sale rule — is to sell the losing position and immediately buy a fund that tracks a different but similar index, rather than buying the identical fund back. A commonly used example: selling a total US stock market fund at a loss and buying an S&P 500 fund with the proceeds, or vice versa. The two funds overlap heavily and track the broad market similarly, so you stay invested in roughly the same asset class, but they’re not the same security, so the wash-sale rule doesn’t apply. See Index Funds Compared — VTI vs VOO vs VTSAX for how those specific funds differ, which is useful background for choosing a harvest-swap pair.

After 30 days have passed, you’re free to swap back to your original fund if you prefer it, or simply hold the replacement — either is fine once the wash-sale window has closed.

Where it matters — and where it doesn’t

Account typeDoes harvesting apply?Why
Taxable brokerage accountYesTrades in these accounts are subject to capital-gains tax, so realised losses have real tax value
401(k)NoTrades inside the account aren’t taxed at all, so there’s no gain to offset
Traditional or Roth IRANoSame reason — no current-year capital-gains tax exists inside the account to offset

Tax-loss harvesting is exclusively a taxable-account strategy. It’s also more valuable the higher your marginal tax bracket, since the tax saved on offset gains and income scales with your rate — a saver in a higher bracket gets more value from the same dollar of harvested loss than a saver in a lower one.

Year-end timing is a myth

Tax-loss harvesting is commonly discussed as a December activity — financial media runs “year-end tax-loss harvesting” pieces every winter — but there’s no rule requiring it to happen at year-end. A loss is realised the moment you sell, whatever month that is. Waiting until December specifically to harvest means potentially missing opportunities earlier in the year when a position dipped and later recovered; harvesting when a loss exists, rather than on a calendar schedule, captures more opportunities over time. Year-end is simply when many investors happen to review their portfolios, not when the strategy is actually most effective.

The cost-basis reset: deferral, not elimination

It’s worth being clear about what harvesting actually accomplishes. When you swap into a replacement fund, your new cost basis is the price you paid for the replacement — typically lower than your original purchase price, since you bought after a decline. If that replacement fund later recovers and you eventually sell it at a gain, you’ll owe tax on a larger gain than if you’d never harvested at all, because your basis is lower. In other words, harvesting defers tax rather than eliminating it in most cases — you’re moving a future tax bill into the current year’s toolkit in exchange for immediate value, not making a permanent tax bill disappear.

There’s one notable exception worth flagging briefly without going deep on it: if the investment is eventually inherited rather than sold during your lifetime, inherited assets typically receive a “step-up” in cost basis to fair market value at the time of inheritance, which can erase the deferred gain for your heirs. That’s a separate, longer-horizon topic (estate and inheritance tax planning) and not a reason to harvest or not harvest in any given year.

Robo-advisors automate this

Several robo-advisors now offer automated tax-loss harvesting as a built-in feature on taxable accounts, scanning daily for harvestable losses and executing the swap-into-similar-fund trade automatically, while tracking wash-sale exposure across your linked accounts. For an investor who wants the tax benefit without manually monitoring positions, this automation captures many of the opportunities a manual approach would miss simply from infrequent checking — though it typically comes with an advisory fee, which should be weighed against the tax value it’s expected to generate.

When it’s not worth the complexity

Tax-loss harvesting isn’t free of friction, and it isn’t worth pursuing in every situation:

  • Small taxable balances. If your taxable account is small, the tax saved may not be worth the bookkeeping and the risk of an accidental wash sale.
  • Lower tax brackets. The value of harvesting scales with your marginal rate — it matters much less to someone in a low bracket than someone in a high one.
  • Accounts already tax-advantaged. As above, there’s nothing to harvest in a 401(k) or IRA — don’t spend effort looking for losses there.
  • Frequent trading purely to harvest. Chasing every small dip to harvest a modest loss can generate more transaction friction and record-keeping burden than the tax benefit justifies, especially without automation.

The bottom line

Tax-loss harvesting is a genuinely useful, legal tool for taxable-account investors, built on two durable rules worth remembering: losses offset gains and up to $3,000 of ordinary income each year with indefinite carryforward, and the wash-sale rule blocks the identical repurchase within a 30-day window either side of the sale. Used correctly — swap into a similar fund, mind the 30-day window, keep it inside taxable accounts — it converts a market decline into some immediate tax value without abandoning your investment strategy. For where taxable investing fits alongside retirement accounts more broadly, see Roth vs Traditional IRA and Investing for Beginners.

Frequently Asked Questions

How much can tax-loss harvesting save me on taxes?

Realised losses first offset any realised capital gains dollar for dollar, and up to $3,000 of losses beyond that can offset ordinary income each year, with any excess carried forward indefinitely to future years. The value depends on your tax bracket and how much you have in gains and losses — check current IRS limits before assuming the $3,000 figure hasn't changed.

What is the wash-sale rule?

It disallows the tax loss if you buy the same or a "substantially identical" security within 30 days before or after the sale that generated the loss, across all your accounts including IRAs. Selling a fund at a loss and immediately rebuying the identical fund defeats the harvest and can trigger this rule.

Is tax-loss harvesting worth it in a retirement account like a 401(k) or IRA?

No — harvesting only matters in taxable brokerage accounts, because 401(k)s and IRAs aren't taxed on trades in the first place, so there's no capital-gains tax to offset. There's nothing to harvest inside a tax-advantaged account.

Ready to Find the Right Loan?

Compare top-rated products and get matched with lenders.