Tax Loss Harvesting for FIRE | YourFIREPath
← Back to Learn
Tax Strategy7 min read· By Kari

Tax-Loss Harvesting: How to Turn Market Losses Into Tax Savings

A market downturn is painful. But inside a taxable brokerage account, it also creates an opportunity: you can sell losing positions to generate real, spendable tax savings, without actually leaving the market. This is tax-loss harvesting, and for FIRE investors it is one of the most powerful tools available.

What Tax-Loss Harvesting Actually Is

Tax-loss harvesting is the practice of selling an investment that has declined in value below your original purchase price, deliberately realizing the loss for tax purposes, and then immediately reinvesting the proceeds into a similar, but not identical, investment to maintain your target market exposure. The realized loss can be used to offset capital gains elsewhere in your portfolio, reducing or eliminating your tax bill on those gains. If your losses exceed your gains for the year, up to $3,000 of the remaining loss can be deducted against ordinary income, with any further excess carried forward to future tax years.

The critical insight is that you are not exiting the market. You are swapping one investment for a closely correlated one while capturing a paper loss that has real tax value. Your portfolio's risk and return profile stays roughly the same. Your tax bill does not.

Tax-loss harvesting does not eliminate taxes permanently, it primarily defers them. When you eventually sell the replacement investment, your cost basis is lower (since you bought it after the loss), which means a larger gain at that future point. But deferral is genuinely valuable: the money you save in taxes today can compound for years before you owe anything on it.

How It Works: Step by Step

The mechanics are straightforward once you understand the sequence. Suppose you invested $40,000 in a total US market index fund (call it Fund A) six months ago. The market has declined and Fund A is now worth $28,000, a $12,000 unrealized loss. Here is what you do:

  1. Sell Fund A at $28,000. You have now realized a $12,000 capital loss.
  2. Immediately buy Fund B, a different but closely correlated fund, such as a total international index fund or an S&P 500 fund, with the $28,000 in proceeds. You are back in the market within minutes.
  3. Report the $12,000 loss on your tax return (Schedule D). It offsets capital gains you realize elsewhere. If you have no gains to offset, up to $3,000 reduces your ordinary income, and the rest carries forward.
  4. After at least 31 days, if you prefer Fund A, you can sell Fund B and repurchase Fund A. At this point the wash-sale window has closed.

The tax saving from step 3 is immediate and real. If you are in the 15% long-term capital gains bracket and you offset $12,000 of gains, you save $1,800 in taxes this year. That $1,800 stays in your portfolio, compounding for whatever years remain before you owe it (if ever, more on that below).

A Worked Example: $50K Gain, $30K Harvested Loss

Let us put real numbers to this. Imagine it is late November and you have the following situation in your taxable brokerage account:

PositionCost BasisCurrent ValueGain / (Loss)
Real estate fund (sold earlier)$120,000$170,000+$50,000 gain
International index fund$85,000$55,000($30,000) loss

Without harvesting, you owe long-term capital gains tax on the full $50,000 gain from the real estate fund sale. At a 15% LTCG rate, that is $7,500 in taxes.

Now you harvest the loss. You sell the international index fund, realizing the $30,000 loss, and immediately reinvest in a global ex-US fund or a developed-markets ETF to stay invested. On your tax return, the $30,000 loss offsets $30,000 of your $50,000 gain. Your net taxable gain is now $20,000. At 15%, your tax bill is $3,000.

Tax saved: $4,500. You pay $3,000 instead of $7,500, a savings of exactly $4,500, simply by selling one fund and buying a similar one. Your portfolio's international equity exposure is maintained throughout. The $4,500 stays in your account and compounds going forward.

This is not a hypothetical edge case. For investors with large taxable accounts, exactly the kind of account FIRE pursuers tend to build, scenarios like this arise regularly, especially during volatile years when some positions run up while others pull back.

The Wash-Sale Rule: Where People Go Wrong

The wash-sale rule is the IRS guardrail that prevents you from selling a security at a loss and immediately buying it back to create a "paper" loss with no real change in your holdings. Understanding it precisely is essential, because violations are easy to make accidentally, and the consequences are that your loss is disallowed entirely (though not permanently, it gets added to your cost basis in the repurchased shares, which can be awkward to track).

The 61-day window. A wash sale occurs if you buy a "substantially identical" security within 30 days before or 30 days after the sale that generated the loss. That is a 61-day window in total, 30 days before through 30 days after. The IRS looks in both directions. If you sold on November 15, you cannot have bought a substantially identical security between October 16 and December 15 without triggering the wash-sale rule.

What counts as "substantially identical." This is deliberately vague in the tax code, which gives the IRS flexibility but creates uncertainty for investors. Here is what the IRS and tax practitioners have established:

  • The same fund or ETF, selling Vanguard Total Stock Market ETF (VTI) and buying VTI back the next day is an obvious wash sale. Same for selling and repurchasing the same mutual fund.
  • Different share classes of the same fund, selling VTSAX (Vanguard's mutual fund) and buying VTI (which tracks the identical index) is generally considered a wash sale, since they represent essentially the same underlying portfolio.
  • Different funds tracking the same index, this is a gray area. Selling iShares Core S&P 500 ETF (IVV) and buying SPDR S&P 500 ETF (SPY) within the window may be considered substantially identical because both track the exact same index with the same methodology. Many tax professionals treat same-index funds as substantially identical.
  • Different funds tracking similar but distinct indexes, selling a total US market fund (which tracks the CRSP US Total Market Index) and buying an S&P 500 fund (which tracks the S&P 500 Index) is generally considered safe, since the indexes use different methodologies and include different numbers of companies. The correlation is very high, but the funds are not substantially identical.
  • Options and related securities, buying call options on a stock you just sold at a loss, or buying stock in substantially the same company, can also trigger the wash-sale rule.

The safest practical approach is to swap between funds that track demonstrably different indexes. Common pairs used in tax-loss harvesting: VTI (CRSP Total Market) and SCHB (Dow Jones Broad Market); VXUS (total international) and IXUS (MSCI All-Country World ex-US); BND (US aggregate bonds) and AGG (same index, these would be substantially identical, so use BND vs. a corporate bond fund instead).

Warning, common wash-sale mistakes: (1) Selling at a loss in your taxable account while your 401(k) or IRA automatically reinvests dividends into the same fund within the 30-day window. (2) Your spouse buys the same security within the window, the wash-sale rule applies to you and your spouse combined. (3) Selling a fund and repurchasing the mutual fund version that tracks the identical index. (4) Forgetting that the 30-day restriction runs in both directions, a purchase before the sale also triggers the rule. Track all accounts and all household members when harvesting losses.

How Losses Lower Your Tax Bill, Now and Later

Capital losses first offset capital gains of the same type. Short-term losses offset short-term gains first; long-term losses offset long-term gains first. If you have a mix, losses of one type can then offset gains of the other. This matters because short-term gains (assets held one year or less) are taxed at ordinary income rates, which are significantly higher than long-term rates for most earners. A long-term loss that offsets a short-term gain is especially valuable, it wipes out a gain that would have been taxed at your full marginal rate.

After all gains are offset, up to $3,000 in net capital losses per year can be deducted against ordinary income. For someone in the 22% bracket, $3,000 of ordinary income offset is worth $660 in immediate tax savings. The $3,000 annual ordinary income limit is modest, but it is real money every year you have excess losses.

Loss carryforwards. Any net capital loss beyond $3,000 in a given year carries forward indefinitely. There is no expiration. If you harvest $40,000 in losses in a down year and have no offsetting gains, you use $3,000 against ordinary income and carry forward $37,000. In future years, those carried losses offset future gains before you owe a cent in capital gains tax. For FIRE investors who plan large Roth conversions or asset sales in early retirement, a stockpile of carried losses is extraordinarily valuable.

Loss carryforwards are transferable year to year with no limit on how long they can be carried. A retiree who harvested $60,000 in losses during a volatile accumulation phase may pay zero capital gains tax on the first $60,000 in gains they realize in retirement. That is potentially $9,000 in tax savings at a 15% rate, from harvesting activity that happened years earlier.

Why Tax-Loss Harvesting Is Especially Powerful for FIRE Investors

Most FIRE investors build substantial taxable brokerage accounts alongside their tax-advantaged accounts. This is by design: taxable accounts provide the flexibility to access money before age 59.5 without penalty, which is essential for anyone planning to retire in their 30s, 40s, or 50s. But that flexibility comes with a tax cost, gains in taxable accounts are subject to capital gains tax, unlike Roth or traditional account growth.

Tax-loss harvesting is a powerful tool specifically because of these large taxable accounts. More money invested means more positions, more volatility across holdings, and more opportunities to harvest losses in any given year. A FIRE investor with $800,000 spread across a diversified taxable portfolio will regularly have some positions underwater even when the overall portfolio is up, and each of those underwater positions is a potential harvest opportunity.

The second reason FIRE investors benefit disproportionately is the length of their investment horizon. An investor who plans to retire at 45 and live off their portfolio for 50+ years has decades for harvested loss carryforwards to compound and offset future gains. A conventional retiree who retires at 65 may not have the same runway to exploit losses harvested today.

Third, many FIRE investors spend their early retirement years in a lower tax bracket, often the 0% or 15% long-term capital gains bracket, before Social Security, required minimum distributions, or other income pushes them higher. This is the ideal time to realize gains strategically. But if you have already been accumulating loss carryforwards during the volatile accumulation phase, you can realize gains in early retirement with zero tax cost, drawing down your carryforward balance year by year.

Harvesting While Rebalancing

One of the most efficient ways to practice tax-loss harvesting is to combine it with your regular portfolio rebalancing. Rebalancing requires selling overweighted assets and buying underweighted ones. When you are selling anyway, check whether any of the positions you are trimming are also at a loss, if so, you can harvest the loss while executing the rebalance, with no additional transaction or tracking overhead.

The same logic applies in reverse: when you need to buy an underweighted asset class, look at whether any of the funds in that category have declined enough to make a wash-sale-safe swap attractive. Instead of adding to the fund you already hold (which could create a wash sale on a recent harvest), buy the replacement fund you planned to use for harvesting anyway, then count this as both a rebalancing purchase and a harvest-eligible position going forward.

Some investors also harvest during new contributions. Rather than adding to an existing fund that is down, they buy the swap fund and treat the original as a candidate for future harvesting once the 30-day window opens. Over time this practice, sometimes called "continuous harvesting," extracts tax alpha from routine portfolio activity rather than requiring a separate, active monitoring process.

A practical rhythm that works for many FIRE investors: review taxable holdings quarterly for harvest opportunities, and always run a harvest scan before any planned Roth conversion, large asset sale, or year-end rebalance. Harvesting before you realize a big gain is far more valuable than trying to harvest after, losses offset current-year gains directly, while losses carried forward are useful but require a future gain to work against.

Common Mistakes to Avoid

Beyond the wash-sale pitfalls already covered, several other errors regularly cost investors money or create compliance problems:

  • Harvesting short-term losses when long-term losses are available. Short-term losses are most valuable when they offset short-term gains (taxed at ordinary rates). If you have both short-term and long-term unrealized losses, prioritize harvesting short-term losses to offset short-term gains, and use long-term losses against long-term gains. Swapping them wastes the higher value of short-term loss offsets.
  • Not tracking cost basis correctly after the swap. Your replacement fund has a new, lower cost basis, whatever you paid for it. Future gains on that fund will be larger as a result. Make sure your brokerage is tracking this correctly, and do not assume old cost basis records carry over when you switch funds.
  • Harvesting in tax-advantaged accounts. Tax-loss harvesting only applies to taxable brokerage accounts. Losses inside a traditional IRA, Roth IRA, or 401(k) are not recognized by the IRS and cannot be harvested. Attempting to do so achieves nothing from a tax standpoint.
  • Ignoring state taxes. Some states do not conform to federal capital gains tax rates and have their own treatment of harvested losses. Verify how your state handles capital loss deductions, in a few states, the $3,000 ordinary income deduction is not available.
  • Over-harvesting and creating a very low cost basis. Each harvest lowers your cost basis in your replacement position. If you harvest aggressively year after year and eventually need to sell everything, your taxable gain could be enormous. This is less of a problem if you plan to hold indefinitely and pass assets to heirs (who receive a stepped-up basis at death), but it is worth modeling your long-term exit strategy before harvesting everything in sight.
  • Waiting too long in the calendar year. Harvesting in December is common, but the best opportunities often appear during mid-year volatility. A loss that exists in March may not exist by November. Review taxable positions during every significant market decline, not just at year-end.

The Bottom Line

Tax-loss harvesting will not make a bad portfolio good, and it will not transform a mediocre investment strategy into a great one. What it does is extract real, compoundable value from market volatility that would otherwise go to waste. For FIRE investors with large taxable accounts, a consistent harvesting practice implemented carefully, respecting the wash-sale rule, coordinating across all accounts, and combining harvesting with rebalancing, can save thousands of dollars per year in taxes and build a carryforward balance that effectively shields early retirement income from capital gains tax entirely.

The mechanics are not complicated. The discipline is. Set up a process, review your taxable holdings during every meaningful downturn, and treat your replacement fund pairs as a permanent toolkit rather than a one-time trick. Done well, tax-loss harvesting is one of the few strategies in personal finance where the market working against you temporarily creates durable, long-term financial benefit.

Sources

My Take

Full transparency, I do not currently do this in my own portfolio. I understand how it works and I know the benefit is real, I just have not built the habit of actively scanning for opportunities throughout the year. If you are in the same position the most realistic starting point is probably just identifying a few positions in your taxable account that are underwater and setting a reminder to revisit them

Related Articles

Building a FIRE Portfolio: Asset Allocation for Early Retirement →Roth vs. Traditional: Which Account Wins for FIRE? →The 4% Rule: Why 25x Your Spending Is the Magic FIRE Number →
Disclaimer: This article is for educational purposes only and does not constitute financial, tax, or investment advice. Tax-loss harvesting involves complex rules that vary by individual situation, account type, and state. The wash-sale rule and capital loss deduction limits are subject to IRS interpretation and may change. Consult a qualified CPA or tax advisor before implementing any tax strategy.