Tax-Loss Harvesting — How to Turn Investment Losses Into Tax Savings
Tax-Loss Harvesting — How to Turn Investment Losses Into Tax Savings
Nobody likes watching a position in their portfolio turn red. But here's something most retail investors don't realize: a losing investment isn't necessarily a dead end. With a strategy called tax-loss harvesting, you can convert that paper loss into a real, usable tax benefit — reducing what you owe the IRS and potentially improving your long-term after-tax returns in the process.
Disclaimer: This content is for educational purposes only and does not constitute financial or tax advice. Consult a qualified tax professional or financial advisor for advice specific to your situation.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is the practice of selling an investment that has declined in value to realize a loss for tax purposes. That realized loss can then be used to offset capital gains you've realized elsewhere in your portfolio — reducing or potentially eliminating the taxes owed on those gains.
The core mechanics are straightforward: capital losses offset capital gains dollar-for-dollar. If you have $10,000 in realized capital gains and you harvest $6,000 in losses, your net taxable gain drops to $4,000. You only owe taxes on that smaller amount.
If your losses exceed your gains in a given year, the excess loss doesn't disappear. You can use up to $3,000 of net capital losses to offset ordinary income (wages, salary, interest) in the same year. Any losses beyond that $3,000 threshold carry forward to future tax years, where they can offset future gains or again reduce ordinary income by up to $3,000 per year.
How Tax-Loss Harvesting Actually Works in Practice
Here's a simplified example. Say you hold two positions in your taxable brokerage account. One has grown nicely and you've decided to sell it, realizing a $15,000 long-term capital gain. Another position is down $9,000 and you've lost conviction in it. Rather than simply holding the losing position and hoping it recovers, you sell it — realizing the $9,000 loss.
Now your net realized gain is only $6,000 instead of $15,000. At a 15% long-term capital gains rate, that saves you $1,350 in taxes that year. Not bad for a transaction that took minutes.
The key is that you need to actually sell the position. "Paper losses" — declines that show up on your brokerage statement but haven't been realized through a sale — don't count for tax purposes. You must complete the sale.
The Wash-Sale Rule: The Critical Constraint
Tax-loss harvesting comes with an important rule you must understand: the wash-sale rule.
The IRS doesn't allow you to sell a position to harvest a loss and immediately buy back the same thing — or something nearly identical. Specifically, if you buy a "substantially identical" security within 30 days before or after the sale, the IRS will disallow the tax loss entirely.
The 30-day window applies in both directions: 30 days before the sale and 30 days after the sale, for a total no-buy window of 61 days centered on the transaction date.
What counts as "substantially identical"? The IRS hasn't defined it exhaustively, but selling a stock and buying back the same stock clearly triggers the rule. Selling one fund and immediately buying an essentially identical fund tracking the same index is also likely to trigger it. However, selling one broad market fund and buying a similar but distinctly different fund (different index, different construction methodology) is generally considered acceptable — though this is an area where consulting a tax professional is wise.
The wash-sale rule doesn't mean you can never get back into a position. It means you need to wait 31 days to repurchase the substantially identical security. If you want market exposure in the meantime, you can hold a comparable but not identical alternative.
Tax-Loss Harvesting Is a Deferral Strategy — Not Free Money
This is the nuance that often gets glossed over, and it's essential to understand.
When you sell a losing position and replace it with a similar investment, your cost basis in the new investment is lower. That means when you eventually sell the replacement investment, you'll owe taxes on a larger gain than you would have otherwise.
Tax-loss harvesting doesn't eliminate taxes — it defers them. You're moving a tax bill from today into the future. The benefit is the time value of that deferral: money you don't pay in taxes today can keep compounding in your portfolio. The longer the deferral, the more valuable it is.
In some cases, the deferral becomes permanent or deeply reduced. If you hold the replacement investment until death, your heirs receive a stepped-up cost basis and may owe no capital gains tax on the inherited growth. Or if tax rates drop in future years, you'll pay less when the deferred gain is eventually realized. But it's important to go in with clear eyes: you're kicking the can down the road, not making it disappear.
When to Harvest Losses
Tax-loss harvesting opportunities arise whenever you have positions with unrealized losses and realized (or anticipated) gains to offset. The most common situations include:
Year-end tax planning: Many investors review their portfolio in November and December to identify harvesting opportunities before the calendar year closes.
Market downturns: Broad market selloffs create opportunities across many positions simultaneously. A volatile year can generate significant harvesting potential.
Rebalancing: When you're already selling positions to rebalance your portfolio, it makes sense to be aware of which positions carry losses that could be harvested at the same time.
There's no requirement to wait until year-end. Tax-loss harvesting can be done at any point during the year. Some investors — and many robo-advisors — monitor for harvesting opportunities continuously.
What You Can and Cannot Harvest
Tax-loss harvesting only applies to investments in taxable brokerage accounts. Losses inside IRAs, 401(k)s, or other tax-advantaged accounts cannot be harvested — gains and losses inside those accounts don't affect your taxable income in the year they occur.
Long-term losses (from positions held more than one year) must first be used to offset long-term gains, and short-term losses must first offset short-term gains. Any excess can then cross categories. The sequencing matters because short-term gains are taxed at higher ordinary income rates, so reducing short-term gains is generally more valuable per dollar.
Robo-Advisors and Automated Harvesting
Tax-loss harvesting used to be something only wealthy investors with active advisors managed carefully. Today, several robo-advisor platforms offer automated tax-loss harvesting as a feature — monitoring portfolios daily and executing harvests when thresholds are met. This has democratized a strategy that was previously complex to manage manually.
If you manage your own taxable account, you'll need to track harvesting opportunities yourself — which means knowing your cost basis, understanding the wash-sale rule, and keeping careful records. Good record-keeping isn't optional; you'll need it at tax time to accurately report your realized gains and losses on Schedule D.
The Long-Term Value of Consistent Harvesting
Over a multi-decade investment career, the cumulative value of systematic tax-loss harvesting can be substantial. Each year of successful harvesting defers taxes that stay invested and continue compounding. Investors who harvest consistently during market downturns effectively turn volatility into a tax planning opportunity — one of the few ways that difficult market environments can work in your favor.
The key is to approach harvesting as a disciplined, ongoing part of portfolio management — not a reactive panic move. Selling losing positions only to chase losses emotionally rarely ends well. Done with intention and in the context of a clear long-term plan, however, harvesting is one of the most practical and accessible tax-reduction strategies available to everyday investors.
Actionable Takeaways
- Sell losing positions intentionally: a realized loss can offset capital gains dollar-for-dollar and reduce your tax bill.
- Respect the wash-sale rule: don't repurchase the same or substantially identical security within 30 days before or after the sale, or the IRS will disallow the loss.
- Net losses beyond gains offset ordinary income: up to $3,000 per year; excess carries forward indefinitely.
- Remember it's a deferral, not elimination: your replacement investment has a lower cost basis, so the deferred gain shows up when you eventually sell.
- Only taxable accounts qualify: harvesting doesn't apply to losses inside IRAs, 401(k)s, or other tax-sheltered accounts.
Want to find tax-efficient stocks for your portfolio? Use the free screener at valueofstock.com/screener.
Disclaimer: This content is for educational purposes only and does not constitute financial or tax advice. Tax laws change — verify current rules with IRS.gov or a qualified tax professional.
By Harper Banks
Get Weekly Stock Picks & Analysis
Free weekly stock analysis and investing education delivered straight to your inbox.
Free forever. Unsubscribe anytime. We respect your inbox.