Tax loss harvesting explained: this strategy uses investment losses to offset taxable gains and, in some cases, ordinary income. When used carefully alongside a long term investment plan, it can improve after tax returns without changing your overall allocation. The wash sale rule governs the timing and is where most harvesting mistakes happen.
Tax-loss harvesting explained: sell investments that have declined in value, realize the capital loss, and use it to offset capital gains elsewhere in your portfolio. Done correctly, it reduces your current-year tax bill without giving up market exposure. It is one of the few strategies that generates real, measurable value from an underwater position.
How Does Tax-Loss Harvesting Work?
Tax-loss harvesting works by selling a position below your cost basis to lock in a realized loss. Those realized losses offset capital gains recognized elsewhere in your portfolio, reducing your net taxable gain. Losses exceeding gains offset up to $3,000 of ordinary income annually, with the remainder carrying forward.
The mechanics follow a straightforward sequence. You identify positions in your taxable account that are trading below your cost basis. You sell those positions to realize the loss. You immediately reinvest the proceeds into a similar but not substantially identical investment to maintain your market exposure. The IRS recognizes the loss, which you report on your tax return. The replacement position carries a new, lower cost basis, which may generate future losses or future gains depending on how it performs.
The key phrase in that sequence is “similar but not substantially identical.” The wash sale rule, addressed in detail below, prohibits repurchasing the same security within 30 days before or after the sale. Violating it eliminates the tax benefit entirely.
As part of a broader approach to tax-efficient investing, harvesting losses is not a standalone tactic. Its value compounds when combined with asset location decisions, Roth conversion planning, and gain recognition timing across the full portfolio.
What Is the Wash Sale Rule and Why Does It Matter?
The wash sale rule is an IRS provision that disallows a capital loss deduction if you purchase the same or a substantially identical security within 30 days before or after the sale that generated the loss. The 30-day window runs in both directions: 30 days before the sale and 30 days after, creating a 61-day total blackout period around the transaction.
If you trigger the wash sale rule, the disallowed loss is not simply lost. The loss is added to the cost basis of the replacement security, deferring it into the future. But the deferral eliminates the current-year benefit you were trying to capture, which is the point of the strategy in the first place.
The rule applies across accounts. If you sell a security at a loss in your taxable brokerage account and your spouse purchases the same security in their IRA during the 30-day window, the wash sale rule still applies. Automated reinvestment in an IRA or a 401(k) holding the same fund can create an inadvertent wash sale that many investors never see coming.
The practical workaround is to replace the sold security with something that tracks a similar market segment without being substantially identical. Selling a large-cap U.S. equity fund and replacing it with a different large-cap fund tracking a different index is the most common approach. The investor maintains approximately the same economic exposure while preserving the tax loss. The IRS has not issued a precise definition of “substantially identical” for mutual funds and ETFs, which creates some ambiguity that requires judgment and, ideally, guidance from a fiduciary advisor familiar with current practice.
When markets get volatile, clarity matters.
Download our educational guide, How to Protect Your Wealth in Challenging Markets.
When Does Tax-Loss Harvesting Produce the Most Value?
The benefit of harvesting a loss is a function of the investor’s marginal tax rate on capital gains and the size of the gains being offset. At the federal level, short-term capital gains are taxed as ordinary income, which means investors in the top bracket face a marginal federal rate of 37% on those gains. Long-term capital gains are taxed at a maximum federal rate of 20%, with an additional 3.8% Net Investment Income Tax surcharge for high earners whose modified adjusted gross income exceeds the applicable threshold. State taxes apply on top of those rates in most states.
For a high-income investor in a high-tax state, the combined marginal rate on short-term capital gains may approach 50% in some cases. A $50,000 harvested loss in that scenario produces a $25,000 reduction in current-year tax. That is not a rounding error. It is a planning result with material impact on the investor’s long-term wealth trajectory.
Tax-loss harvesting produces more value in years when:
- The investor has realized significant capital gains from sales, rebalancing, or mutual fund distributions
- The portfolio has experienced volatility that moved individual positions below their cost basis
- The investor’s marginal rate on capital gains is high, either from income level or from the type of gains being offset
- The investor has a taxable account large enough that the strategy produces meaningful absolute dollar savings
It produces less value when the investor is in a low income year, when gains are minimal, or when the entire portfolio is held in tax-deferred or tax-exempt accounts where realized gains and losses have no current-year tax consequence. Harvesting losses inside a traditional IRA or Roth IRA accomplishes nothing from a tax standpoint.
The strategy is also most effective when executed consistently throughout the year rather than as a single year-end exercise. Markets move continuously. A position that is underwater in March may have recovered by November. Investors who check only at year-end miss harvesting opportunities that appeared and closed earlier in the year. This is one reason why individually managed accounts with ongoing oversight tend to produce more harvesting value than a self-directed account reviewed once annually.
What Are the Limits of Tax-Loss Harvesting?
Tax-loss harvesting has real and underappreciated limits that reduce its value in certain situations and that unsophisticated investors often overlook.
The loss is deferred, not eliminated. When you sell a position at a loss and replace it with a similar security, your new position carries a lower cost basis. That lower basis means a larger gain when you eventually sell the replacement. The tax is not erased. It is postponed. The benefit comes from the time value of money: paying a tax dollar in 10 years is less costly than paying it today, and the deferred amount stays invested and compounding in the interim. But investors who expect harvesting to permanently eliminate a tax liability are misunderstanding the mechanics.
The $3,000 annual deduction limit applies to losses in excess of gains. If you harvest $50,000 in losses but have only $20,000 in capital gains to offset, $30,000 in net loss remains. Only $3,000 of that can offset ordinary income in the current year. The remaining $27,000 carries forward to future tax years. For a high-income investor with consistent capital gains, the carryforward is often useful. For an investor with few future gains, large loss carryforwards can accumulate without generating equivalent benefit.
The strategy requires a taxable account with individual securities. Tax-loss harvesting is only available on positions held in taxable brokerage accounts. It has no application in IRAs, 401(k)s, or other tax-deferred accounts where gains and losses carry no current-year tax consequence. Within taxable accounts, a portfolio of individual securities offers far more harvesting opportunities than a portfolio of mutual funds, where you can only harvest at the fund level rather than at the individual security level.
Transaction costs and tracking complexity can erode value in smaller accounts. The mechanics of harvesting require selling, purchasing replacement securities, and tracking adjusted cost bases across multiple lots. In a small account, those costs can consume a meaningful portion of the tax benefit. The strategy tends to produce proportionally more value as account size increases, which is why it is most commonly discussed in the context of high-net-worth portfolios.
Understanding these limits is part of what distinguishes a fiduciary tax-loss harvesting strategy from a superficial one. The goal is not to generate losses for their own sake. It is to reduce lifetime tax cost in a way that is consistent with the investor’s broader financial plan. The asset location strategy governing which securities sit in which account types determines how many harvesting opportunities exist in the first place.
Tax-Loss Harvesting for High Earners: What Changes at Higher Income Levels
For investors in the top federal tax brackets, the calculus around tax-loss harvesting shifts in two important ways. First, the marginal rate on short-term capital gains, which are taxed as ordinary income, is 37% at the federal level for 2024. Second, the Net Investment Income Tax adds 3.8% on net investment income for single filers with MAGI above $200,000 and joint filers above $250,000. In high-tax states, the combined marginal rate on short-term gains can reach or exceed 50%.
At those rates, offsetting short-term gains with harvested losses produces significantly more value per dollar of loss than offsetting long-term gains. An investor who has recognized $100,000 in short-term gains from trading activity or mutual fund distributions and harvests $100,000 in investment losses to offset them is, in a high-tax state, preserving $45,000 to $50,000 that would otherwise leave the portfolio immediately. Those tax savings stay invested and compounding rather than leaving the portfolio as a check to the IRS.
High earners also face a structural advantage: larger taxable accounts held in individual securities provide more harvesting surface area. A portfolio with 40 individual positions has 40 potential loss candidates at any point in time. A portfolio holding three mutual funds has three. More positions mean more opportunities to find positions below their cost basis, particularly during periods of sector rotation or broad market volatility when some positions decline even as the overall market rises.
Investors with significant investment income should also consider how harvested losses interact with the NIIT calculation. Harvested losses reduce net investment income, which in turn reduces or eliminates the NIIT surcharge on the offset amount. The effective tax benefit of a harvested loss at the NIIT threshold is therefore slightly higher than the capital gains rate alone would suggest.
These considerations connect directly to retirement withdrawal strategy, where the sequencing of taxable account distributions and the management of realized income in pre-retirement years determines how much harvesting value remains available.
Year-End Tax-Loss Harvesting Versus Continuous Harvesting
Many investors and advisors treat tax-loss harvesting as a year-end activity, reviewing the portfolio in November or December and selling underwater positions before January 1. That approach captures some value. It does not capture all of it.
Markets move throughout the year. A position that is 12% below its cost basis in March may recover to flat by October, eliminating the harvesting opportunity entirely. A different position may drop sharply in August and recover by November, again closing the window. Year-end harvesting works only on the losses that happen to still be present at year-end. It misses every opportunity that opened and closed earlier in the year.
Continuous harvesting, conducted by an advisor monitoring the portfolio throughout the year, identifies and acts on harvesting opportunities when they arise rather than waiting for a single annual review. The practical constraint is that many investors do not have the time or the systems to monitor 30 or 40 individual positions daily for harvesting opportunities. This is where a separately managed account structure with an engaged advisor, or a direct indexing approach that holds the individual components of an index rather than the index fund itself, adds value that a self-managed account cannot replicate. Direct indexing in particular is often promoted specifically for its harvesting surface area, because holding 200 or 500 individual stocks creates far more loss candidates at any given moment than holding a single fund that tracks the same benchmark.
The distinction matters most in volatile years, when positions move quickly and harvesting windows open and close in weeks rather than months. A passive, year-end-only approach in a year of high volatility may miss a substantial portion of the harvestable losses that were available during the year. A systematic, ongoing approach captures a materially higher fraction of those opportunities.
The broader framework for managing after-tax returns across the full portfolio is covered in the Roth conversion strategy guide, which addresses how pre-tax and after-tax account balances interact over time and how loss harvesting fits into a multi-decade tax planning picture.
Getting Started with Holland Capital Management
If you’re evaluating financial decisions in today’s market environment, request a Clarity Call to discuss our planning and investment approach.
The wash sale rule applies within 30 days before or after the sale. Violation eliminates the tax benefit entirely.
The wash sale rule governs step 3. The 30-day window applies both before and after the sale date.
Frequently Asked Questions
What Is Tax-Loss Harvesting in Simple Terms?
Tax-loss harvesting is the practice of selling an investment that has declined in value to realize a capital loss, then using that loss to offset capital gains recognized elsewhere in your portfolio during the same tax year. If losses exceed gains, up to $3,000 can offset ordinary income annually, and the remainder carries forward to future years. The key requirement is that you immediately reinvest in a similar but not substantially identical security to maintain your market exposure while preserving the tax benefit.
Does Tax-Loss Harvesting Actually Save Money or Just Defer Taxes?
Both, depending on how the strategy plays out. In most cases, harvesting defers taxes rather than eliminating them, because the replacement security carries a lower cost basis and will generate a larger taxable gain when eventually sold. The financial benefit comes from the time value of money: a tax dollar paid in the future is less costly than one paid today, and the deferred amount stays invested and compounding in the interim. The exception is when the investor holds the replacement security until death, at which point the step-up in basis at death eliminates the deferred gain entirely. For investors with charitable giving plans, donating appreciated securities after a harvest can also convert the deferral into a permanent benefit.
What Is the Wash Sale Rule and How Do I Avoid Triggering It?
The wash sale rule disallows a capital loss deduction if you purchase the same or a substantially identical security within 30 days before or after the sale that generated the loss. The 30-day window runs in both directions, creating a 61-day blackout period. To avoid it, replace the sold security with something that tracks a similar market segment without being substantially identical. For example, selling one large-cap U.S. equity index fund and replacing it with a different large-cap fund tracking a separate index preserves your economic exposure while keeping the tax loss valid. The rule applies across all accounts, including spousal accounts and IRAs, so automated reinvestment across accounts needs to be monitored.
How Much Can Tax-Loss Harvesting Reduce My Tax Bill?
The benefit depends on the size of the harvested loss and the investor’s marginal tax rate on the gains being offset. A high-income investor in the top federal bracket who offsets short-term gains with harvested losses may reduce their federal tax liability by up to 37 cents per dollar of loss, plus the 3.8% Net Investment Income Tax surcharge if applicable, plus state taxes in most states. On a $100,000 harvested loss used to offset short-term gains, a combined marginal rate of 45% in a high-tax state produces a $45,000 reduction in current-year taxes. That figure will vary significantly based on individual income, account size, gain character, and state of residence.
Can I Harvest Losses in My IRA or 401(K)?
No. Tax-loss harvesting has no application in tax-deferred or tax-exempt accounts such as traditional IRAs, Roth IRAs, and 401(k)s. In those accounts, gains and losses have no current-year tax consequence because the assets are either growing tax-deferred or tax-free. The strategy applies only to taxable brokerage accounts where realized gains are taxable events. This is one reason why the structure of a taxable account, specifically holding individual securities rather than mutual funds, matters considerably for investors with significant taxable account balances.
What Is the $3,000 Capital Loss Deduction Limit?
If your realized capital losses exceed your realized capital gains in a given year, you can use up to $3,000 of the net loss to offset ordinary income on your federal tax return. Any net loss beyond $3,000 carries forward to future tax years, where it can offset future capital gains or, again, up to $3,000 of ordinary income. For a high-income investor with consistent capital gains, the carryforward is often usable in subsequent years. The $3,000 limit has not been adjusted for inflation since it was established in 1977, which makes it a relatively small deduction for most high earners.
Is Tax-Loss Harvesting Worth It for Smaller Portfolios?
The strategy produces proportionally more value as portfolio size increases. In smaller accounts, transaction costs, the complexity of tracking adjusted cost bases, and the modest absolute dollar value of available losses can reduce the net benefit. There is no firm threshold below which the strategy is never worthwhile, because it depends on the investor’s tax rate, the size of gains being offset, and how the account is managed. In general, investors with taxable accounts above $250,000 held in individual securities, and who face capital gains from rebalancing or other activity, tend to see the clearest benefit from a systematic harvesting approach.
How Does Tax-Loss Harvesting Relate to the Preserve. Strengthen. Grow.â„¢ Investment Philosophy?
Tax-loss harvesting is a practical expression of the Preserve phase in the Preserve. Strengthen. Grow. philosophy. Preserving wealth means not allowing avoidable taxes to erode the portfolio. Harvesting losses systematically reduces current-year tax drag, keeps more capital invested and compounding, and maintains the dry powder and optionality that the Preserve phase is designed to protect. It is not a growth strategy. It is a discipline that improves the after-tax foundation on which growth is built. Learn more about how this fits into a full tax strategy at our tax-efficient investing guide. You can also read more in our Capital Gains Tax Planning for Investors guide.
Frequently Asked Questions
What Is the Wash Sale Rule and How Does It Affect Tax-Loss Harvesting?
The wash sale rule prohibits claiming a loss on a security if you buy the same or a substantially identical security within 30 days before or after the sale. If you violate the rule, the IRS disallows the loss entirely. The disallowed loss is added to the cost basis of the replacement security, deferring it rather than eliminating it, but the current-year tax benefit disappears.
Can I Reinvest Immediately After Harvesting a Tax Loss?
Yes, with one condition: you cannot buy back the same or a substantially identical security within the 30-day wash sale window. You can immediately reinvest the proceeds into a similar but not identical investment to maintain your market exposure. For example, selling one S&P 500 fund and buying a different S&P 500 fund from a different provider may trigger the wash sale rule if the funds are considered substantially identical.
How Much Can I Deduct from Tax-Loss Harvesting in a Single Year?
Realized losses first offset realized gains dollar for dollar with no limit. If losses exceed gains, up to $3,000 of the net loss can offset ordinary income annually. Any remaining loss carries forward to future years indefinitely. For investors with large realized gains in a given year, there is no cap on the amount of losses that can offset those gains.
When Is the Best Time of Year to Harvest Tax Losses?
Tax-loss harvesting is most effective when done throughout the year rather than only in December. Markets can decline at any time, creating harvesting opportunities that do not exist at year-end if markets recover. Year-end harvesting is still valuable but limits your window. A disciplined advisor monitors for harvesting opportunities continuously and acts when positions cross below cost basis.
Does Tax-Loss Harvesting Make Sense for Investors in Lower Tax Brackets?
The benefit of tax-loss harvesting is proportional to your tax rate. For investors in the 10% or 12% bracket, the savings per dollar harvested are modest. For investors in the 32% or 37% bracket, the same harvest may save 32 to 37 cents per dollar of gain offset. The strategy is most powerful for high-income investors with significant realized gains and taxable account balances.
What Is Direct Indexing and How Does It Relate to Tax-Loss Harvesting?
Direct indexing involves owning individual securities that replicate a market index rather than buying an index fund. Because you own individual securities, you can harvest losses on specific positions that have declined while others have risen, creating harvesting opportunities that an index fund would not provide. Direct indexing is generally available on larger account sizes and is one of the most sophisticated tax-loss harvesting approaches available.
Can Tax-Loss Harvesting Offset Gains from Selling Real Estate or a Business?
Investment losses in taxable accounts can offset capital gains from any source, including real estate and business sales, as long as the gains are also capital gains. Short-term capital losses offset short-term gains first, and long-term losses offset long-term gains first. If losses exceed same-category gains, they can offset the other category. A fiduciary advisor can help coordinate harvesting timing around a planned sale.
What Happens to Harvested Losses If I Do Not Have Gains to Offset?
Losses that exceed current-year gains offset up to $3,000 of ordinary income annually. Any remaining net capital loss carries forward indefinitely to future tax years. Carryforward losses retain their character as short-term or long-term and can be applied against future gains in the appropriate category. Building a carryforward loss balance can be a valuable planning asset for years when gains are expected to be large.
