Every investor who holds anything for long enough eventually owns a position that's worth less than they paid for it. Most people just leave it there, either hoping it recovers or not thinking about it at all. Tax-loss harvesting is the deliberate act of selling that losing position anyway, on purpose, specifically to realize the loss for tax purposes — and then usually reinvesting the proceeds somewhere similar so the money keeps working.
How the Loss Actually Gets Used
Once you sell an investment at a loss in a taxable brokerage account, that realized loss first offsets any realized capital gains you have in the same tax year, dollar for dollar. If your losses exceed your gains, a limited amount of the remainder — a few thousand dollars, adjusted periodically by the IRS — can be deducted against ordinary income like wages. Anything beyond that annual limit doesn't disappear; it carries forward to future tax years indefinitely, which means a large loss harvested in one bad year can keep reducing your tax bill for years afterward, quietly, without you having to do anything further.
The Wash-Sale Rule Is Where People Trip
The IRS doesn't let you sell a losing investment purely to claim the tax benefit and then immediately buy the exact same thing back, locking in the loss on paper while keeping your actual market position unchanged. If you buy a "substantially identical" security within 30 days before or after the sale, the loss is disallowed for tax purposes — this is the wash-sale rule, and it applies across all your accounts, including IRAs, not just the one where the sale happened. The practical workaround most investors use is to sell the losing position and immediately buy something similar but not identical — a different fund tracking a related but distinct index, for example — so the money stays invested in roughly the same part of the market without technically repurchasing the same security. After the 30-day window closes, some people switch back to the original holding if they preferred it.
Why This Isn't Just for December
Tax-loss harvesting gets talked about mostly as a year-end move, and plenty of people only think about it in the final weeks of December when tax season starts looming. But losses can be harvested any time a position drops below your purchase price, and waiting until year-end means you might miss a bigger dip earlier in the year that would have produced a larger deductible loss. Some robo-advisors and managed accounts now run this process automatically, scanning for harvesting opportunities continuously rather than on a calendar schedule, which is one advantage of those platforms over a purely self-directed account where nobody's watching for it.
It Only Matters in Taxable Accounts
This entire strategy applies exclusively to regular taxable brokerage accounts. Inside a 401(k), traditional IRA, or Roth IRA, trades don't generate a taxable event in the first place, so there's no loss to harvest and no gain to offset — the tax treatment of those accounts is handled entirely at contribution and withdrawal, not at the trade level. If most of your investing happens inside retirement accounts, tax-loss harvesting simply isn't a tool available to you, and that's fine; it's a taxable-account-specific technique, not a universal one.
Don't Let the Tax Tail Wag the Investment Dog
The risk with tax-loss harvesting is treating the tax benefit as more important than the underlying investment decision. Selling a fundamentally sound holding purely because it's temporarily down, and replacing it with something you understand less well just to dodge the wash-sale rule, can leave you worse off than simply holding through the dip would have. The tax savings from harvesting a loss are real but usually modest relative to the swings in a well-diversified portfolio over time — useful as a supplement to a strategy built around long-term index investing, not a reason to trade more actively than you otherwise would. If you're unsure how harvested losses interact with your broader return picture, the IRS provides detailed guidance on capital gains and losses at irs.gov, and reviewing it alongside your net worth tracking each year is a reasonable way to keep the strategy in perspective rather than letting it become the main event.