Tax-Loss Harvesting
Tax-Loss Harvesting
Tax-loss harvesting is the most accessible and powerful tax optimization tool available to individual investors. The concept is deceptively simple: when a position declines in value, sell it to realize the loss, then use that loss to offset capital gains elsewhere in your portfolio or to reduce your ordinary income. You convert an unrealized market loss—something you were going to experience anyway—into a tax benefit that puts money back in your pocket.
Yet despite its elegance and accessibility, tax-loss harvesting remains underutilized. Many investors are unaware the strategy exists. Others understand the concept but view it as too complicated or too time-consuming. Still others execute it poorly, triggering wash sales or forgetting to reinvest the proceeds, leaving their portfolio underexposed to the market they intended to track. Done well, tax-loss harvesting can add one to two percentage points of annual return in many portfolios, especially during volatile years when losses are abundant.
The Basic Mechanics
Tax-loss harvesting begins with a simple observation: almost every portfolio experiences losses over time. A stock you bought at <$100 falls to <$85. A position you intended to hold long-term declines <$20,000. These losses are real—your portfolio really is down—but they are also opportunities. You can sell the position to realize the loss, then reinvest the proceeds in a similar or complementary security, maintaining your desired market exposure while crystallizing the loss for tax purposes.
Suppose you own <$100,000 in a diversified stock fund purchased six months ago, now worth <$95,000. You have an unrealized loss of <$5,000. If you hold it, the loss is invisible to the IRS and provides no tax benefit. If you sell, realize the <$5,000 loss, and immediately buy a similar (but not "substantially identical") fund, you maintain your market exposure, but you now have a <$5,000 loss to deploy. If you have capital gains elsewhere in your portfolio—from a profitable sale, a bonus from work, or long-term investment gains—you can use the <$5,000 loss to offset them, potentially saving <$750 to <$1,750 in federal taxes depending on your bracket.
Offsetting Gains and Reducing Income
The primary use of harvested losses is to offset realized capital gains. If you sold <$20,000 of Apple stock at a gain and realize you have another <$15,000 of losses to harvest, you can use the losses to reduce the net gain from <$20,000 to <$5,000, saving taxes on <$15,000 of gains. This is the most common application, and it is especially powerful in years when you must realize gains—perhaps because a concentrated position has appreciated enormously, or because a major life change requires portfolio rebalancing.
But tax-loss harvesting has a secondary and underappreciated benefit: it can reduce your ordinary income. If your harvested losses exceed your realized gains in a given year, the excess loss can offset up to <$3,000 of ordinary income (wages, interest, dividends, and other non-capital-gains income). Any losses beyond that limit carry forward to future years, creating a multi-year tax benefit. For a high-income investor, even if capital gains are minimal, harvesting <$10,000 in losses to offset <$3,000 of ordinary income and carry forward <$7,000 to future years can be worthwhile.
Maintaining Market Exposure
The critical insight in successful tax-loss harvesting is that you do not need to exit the market to harvest losses. If you sell a losing position but believe the asset class still deserves exposure in your portfolio, you can reinvest in a similar security. This is where the wash-sale rule becomes relevant: you cannot repurchase the exact same security within 30 days, but you can buy a closely related alternative.
For example, if you own shares of Vanguard's S&P 500 ETF (VOO) and it has declined, you can sell it and immediately buy iShares' S&P 500 ETF (IVV), a competitor fund that tracks the same index. The two funds are not substantially identical (they have different managers, slight tracking differences, and different tax structures), so the wash-sale rule does not apply. You have harvested a loss, maintained your exposure to the S&P 500, and you can swap back to VOO after 30 days if you prefer, or leave your capital in IVV. This substitution is the backbone of systematic tax-loss harvesting.
Timing and Discipline
Tax-loss harvesting is not a one-time event. Markets are volatile; portfolios constantly experience losses and gains. Successful harvesters monitor their positions throughout the year, identify losses as they emerge, and harvest them opportunistically. This is especially valuable late in the year, when there is still time to deploy harvested losses against the current year's gains before year-end.
However, timing must be disciplined. Do not force harvests on positions you believe will recover, simply to generate losses. The tax benefit of harvesting a <$5,000 loss (perhaps <$750 in taxes saved) does not justify selling a position you are confident will rebound if it means realizing that loss at a cost to returns. Tax harvesting is a tool, not a directive. It works best when a position is genuinely underperforming your thesis and you are willing to exit anyway, or when you are rebalancing for non-tax reasons.
Behavioral and Practical Traps
Several mistakes derail tax-loss harvesting. The most common is the wash sale—selling at a loss, then repurchasing the same security too soon, which disallows the loss. The second is neglecting to reinvest the proceeds. If you harvest <$10,000 in losses but leave the proceeds in cash, your portfolio becomes underexposed to stocks, changing your risk profile and reducing returns. A third mistake is harvesting losses in a taxable account while failing to harvest in tax-advantaged accounts like IRAs, where tax harvesting provides no benefit and merely creates unnecessary transactions. Finally, some investors harvest losses mechanically, forgetting that the harvested loss carries deferred tax into the replacement position—when they eventually sell the replacement position, the original loss materializes, and they may face a different tax picture.
Integration with Broader Tax Strategy
Tax-loss harvesting does not exist in isolation. It interacts with your overall tax situation, your investment plan, and other tax rules such as the wash-sale rule and dividend qualification. An investor in a high marginal tax bracket benefits more from harvesting losses than one in a low bracket. An investor with large unrealized gains in concentrated positions may find harvesting less valuable than one with a diversified portfolio. An active trader must be more vigilant about wash sales than a buy-and-hold investor. The goal is to integrate harvesting into your broader investment process, not to pursue it as a standalone tactic.
Always confirm strategies with the IRS or a qualified tax professional, especially regarding wash-sale mechanics, timing, and documentation. Tax rules as reflected in this guide are current as of 2026, but legislative changes can alter how tax-loss harvesting operates.
What Lies Ahead
The articles in this chapter will guide you through building and executing a tax-loss harvesting strategy. You will learn how to identify candidates for harvesting, how to select appropriate substitute securities, how to manage the wash-sale rule, and how to track harvested losses through multi-year carryforwards. You will see real portfolio examples and explore how tax-loss harvesting integrates with other strategies covered earlier in this book—capital gains timing, dividend qualification, and wash-sale avoidance. By the end, you will have a practical framework for turning market volatility into lasting after-tax wealth accumulation.
Articles in this chapter
📄️ What Is Tax-Loss Harvesting?
Tax-loss harvesting explained: deliberately selling losing positions to offset capital gains and reduce tax liability.
📄️ How It Works Step-by-Step
Step-by-step mechanics of tax-loss harvesting: identifying losses, realizing them, offsetting gains, and managing wash-sale constraints.
📄️ The Tax Benefit
Calculate the real tax savings from tax-loss harvesting: how losses offset gains, reduce ordinary income, and improve after-tax returns.
📄️ Wash-Sale Rule
Understanding the wash-sale rule: how to avoid disqualifying harvested losses and navigate the 30-day repurchase window.
📄️ Finding Replacements
Strategies for selecting replacement securities that maintain portfolio exposure while avoiding wash-sale violations and preserving tax efficiency.
📄️ Harvesting with ETFs
Why ETFs are ideal for tax-loss harvesting: structure advantages, wash-sale navigation, and real examples of successful ETF harvesting strategies.
📄️ Harvesting and Rebalancing
Use tax-loss harvesting to rebalance your portfolio without triggering capital gains tax. Learn when and how to harvest losses strategically.
📄️ When to Harvest Losses
Learn the right timing to harvest losses: market downturns, year-end planning, concentrated positions, and rebalancing events. Master the signals.
📄️ Year-Round vs. Year-End
Compare continuous harvesting throughout the year versus concentrated year-end harvesting. Learn which approach maximizes tax savings and portfolio returns.
📄️ Tax Lot Selection for Harvesting
Learn which tax lots to harvest first for maximum benefit: specific ID, FIFO, average-cost methods. Optimize your loss harvesting strategy with precision.
📄️ Harvesting and Cost-Basis Tracking
Master cost basis tracking to avoid audit risk and optimize tax-loss harvesting. Learn methods, tools, and documentation to stay compliant and tax-efficient.
📄️ Deferral vs. Permanent Savings
Understand the difference between deferring taxes via loss harvesting and permanently saving taxes. Learn which approach builds more wealth long-term.
📄️ Tax rates and harvesting
Understand how anticipated changes in future tax rates influence your tax-loss harvesting strategy and long-term tax optimization decisions today.
📄️ Automated harvesting tools
Learn how robo-advisors and automated harvesting platforms identify and execute tax-loss harvesting strategies without constant manual monitoring.
📄️ Tax-gain harvesting strategy
Understand tax-gain harvesting: intentionally realizing long-term gains to reset your cost basis and optimize tax efficiency in future years.
📄️ Harvesting in downturns
Learn how to systematically and strategically harvest accumulated losses during bear markets while avoiding common pitfalls and maintaining portfolio discipline.
📄️ Avoiding harvesting mistakes
Identify and prevent the most common tax-loss harvesting errors that undermine tax efficiency and damage long-term wealth.
📄️ Building a harvesting plan
Create a personalized, systematic tax-loss harvesting strategy that aligns with your portfolio, tax situation, and long-term wealth goals.