Wooden desk with printed portfolio statement, calculator, pen, and reading glasses for tax-loss harvesting
Investing Tax & Tax Planning

Tax-Loss Harvesting Explained: How to Turn Market Drops Into Real Tax Savings

Watching an investment drop 15% or 20% in a taxable brokerage account is never pleasant. Most long-term investors rightly remind themselves not to panic-sell and lock in permanent losses. Yet there is a completely legal strategy used by wealth managers every December—and during sharp mid-year pullbacks—that lets you stay fully invested in the market while turning temporary paper losses into real tax savings.

That strategy is called tax-loss harvesting. Done carefully, it can trim your capital gains bill or even reduce ordinary taxable income by up to $3,000 per year. Done carelessly, however, it can trigger the IRS wash-sale rule, wipe out your tax deduction, or actually increase your future taxes. Understanding the exact mechanics ensures you keep the benefit without creating headaches.

How Tax-Loss Harvesting Works Step by Step

Tax-loss harvesting only applies to taxable brokerage accounts—never inside tax-advantaged accounts like a 401(k), Traditional IRA, Roth IRA, or HSA, because gains and losses inside those accounts are not taxed annually anyway.

Here is the three-step process:

  • Step 1 — Sell an Underperforming Investment: You sell shares of an ETF, mutual fund, or individual stock that is currently worth less than what you paid for it (your cost basis), realizing a capital loss.
  • Step 2 — Immediately Reinvest Into a Similar (Not Identical) Asset: Instead of sitting in cash and missing a market rebound, you use the proceeds right away to buy a different fund that keeps your overall portfolio allocation intact—for example, selling a Vanguard S&P 500 ETF and buying a Schwab or iShares Total Stock Market ETF.
  • Step 3 — Offset Gains or Ordinary Income on Your Tax Return: You use the realized loss to cancel out realized capital gains dollar-for-dollar, and if losses exceed gains, deduct up to $3,000 against ordinary income like wages.

A Real-World Dollar Example

Suppose earlier this year you sold a winning stock in your taxable account for a $6,000 short-term capital gain. Because short-term gains are taxed at your ordinary income rate—say 24%—you would normally owe $1,440 in federal taxes on that gain.

Meanwhile, another index fund you bought for $25,000 has dropped to $17,000 during a market dip, leaving an unrealized loss of $8,000. You sell that fund to harvest the $8,000 loss and immediately reinvest all $17,000 into a similar broad-market fund that tracks a different index.

Look at the tax result for the year:

  • First, $6,000 of your harvested loss cancels out the entire $6,000 short-term gain—saving $1,440 in tax immediately.
  • Second, you still have $2,000 of leftover loss, which you deduct directly against your regular salary—saving another $480 at the 24% marginal bracket.
  • Total federal tax savings this year: $1,920, all while your $17,000 stayed invested in the stock market the entire time.

What if your harvested losses exceed both your capital gains and the $3,000 annual ordinary income limit? Unused capital losses do not expire. They carry forward indefinitely into future tax years until used up.

Short-Term vs. Long-Term Offsetting Rules

The IRS requires capital losses to follow a specific matching order:

  • Short-term losses (held one year or less) first offset short-term gains.
  • Long-term losses (held more than one year) first offset long-term gains.
  • If you have net losses left over in either bucket, they can then offset gains in the other bucket—and any remaining net loss up to $3,000 ($1,500 if married filing separately) offsets ordinary income.

Because short-term gains are taxed at higher ordinary income rates (up to 37% federally) compared to long-term capital gains (0%, 15%, or 20%), harvesting losses to offset short-term gains or ordinary income produces the biggest tax bang per dollar.

The Wash-Sale Rule: The Trap That Catches Most DIY Investors

You cannot sell a stock at a loss on Tuesday, buy the exact same stock back on Wednesday, and claim a tax deduction. Under the IRS wash-sale rule, a loss is disallowed if you purchase a “substantially identical” security within 30 days before or 30 days after the sale—a total 61-day window including the sale date.

Three subtle wash-sale traps catch investors off guard every year:

  • Automatic Dividend Reinvestment (DRIP): If your fund pays a quarterly dividend and automatically buys new shares of that same fund within 30 days before or after your sale, that tiny reinvestment triggers a partial wash sale. Turn off DRIP temporarily before harvesting.
  • Purchases Inside Your IRA or Spouse’s Account: The wash-sale rule applies across all accounts you control, including your Traditional IRA, Roth IRA, and your spouse’s accounts. Worse, if you sell at a loss in a taxable account and buy the same security inside an IRA within 30 days, the loss is permanently lost rather than merely deferred.
  • Two ETFs Tracking the Exact Same Index: The IRS has never published an exact bright-line definition of “substantially identical,” but most tax professionals advise against swapping one S&P 500 index fund directly into another S&P 500 index fund. Instead, swap across genuinely different benchmarks—such as S&P 500 to a Total U.S. Market index or Russell 1000.

Why Tax-Loss Harvesting Is Mostly Tax Deferral—Not Permanent Elimination

Here is an honest detail many promotional articles gloss over: when you sell an investment at $17,000 and buy a replacement fund at $17,000, your cost basis resets lower—to $17,000 instead of $25,000. When markets eventually recover to $25,000 and you sell years later, you will owe capital gains tax on that larger $8,000 gain.

So why bother? Three reasons make harvesting still valuable for many investors:

  • Time Value of Money: Saving $1,920 in taxes today lets you invest that tax savings for 10 or 20 years, compounding additional returns before any future tax is due.
  • Rate Arbitrage: You can use losses to offset high-tax ordinary income (24%–37%) today and pay lower long-term capital gains rates (0%–15%) in retirement.
  • Charitable Giving or Step-Up in Basis: If you later donate appreciated shares to charity or leave them to heirs under current step-up-in-basis rules, the deferred gain may never be taxed at all.

When You Should Skip Tax-Loss Harvesting

Tax-loss harvesting is not automatically smart for everyone. Consider skipping it if:

  • You are in the 0% long-term capital gains bracket: If your taxable income already qualifies for 0% federal capital gains, resetting your cost basis lower could actually push future gains into a higher tax bracket later—the opposite of what you want. In fact, low-income years are often better for tax-gain harvesting (deliberately realizing gains tax-free to step up cost basis).
  • The tax savings are tiny: Harvesting a $150 loss saves $20 to $45—hardly worth the extra tax-lot tracking or bid-ask spread friction.
  • You expect a much higher tax bracket soon: Deferring gains makes less sense if your tax rate will jump sharply before you plan to spend the money.

Why Year-Round Harvesting Often Beats Waiting Until December

Many investors only think about tax-loss harvesting during the last two weeks of December. The problem with waiting until year-end is that market dips rarely schedule themselves for December. A broad 15% correction in March or August might fully recover by November—leaving zero unrealized losses left to harvest when tax season approaches.

Checking your taxable account once a quarter (or setting simple price alerts when a holding drops 8% to 10% below your purchase lot) lets you capture losses when volatility actually happens. Using Specific Identification (SpecID) as your cost-basis accounting method at your brokerage also helps—allowing you to sell only your highest-cost shares while leaving older, lower-cost shares untouched.

Automated Robo-Advisors vs. Manual Tax-Loss Harvesting

Many robo-advisors advertise daily automated tax-loss harvesting as a headline feature. For hands-off investors with large taxable balances, automated scanning can catch brief intraday dips you would never notice manually. However, automation is not magic: if your robo-advisor harvests tiny $30 losses while your spouse buys the same ETF inside a separate 401(k) or IRA, the robo-advisor usually cannot see your spouse’s account—meaning you can accidentally create cross-account wash sales unless you coordinate manually. For most households with straightforward index portfolios, a quick quarterly manual review gives you full control without extra advisory fees.

Frequently Asked Questions

Does the wash-sale rule apply to cryptocurrency?

Under current IRS rules treating crypto as property rather than securities, wash-sale rules have historically applied to stocks, bonds, and funds—though Congress has repeatedly proposed extending wash-sale rules to digital assets. Check current-year IRS guidance or consult a CPA before relying on crypto wash-sale exemptions.

What is the deadline for tax-loss harvesting each year?

Trades must settle—or be executed on the final trading day of the calendar year (December 31, or the last market open day before it)—to count for that tax year. However, waiting until late December often means missing bigger market dips in spring or autumn.

How do I report harvested losses?

Your brokerage reports sales on Form 1099-B early the following year, and you reconcile gains, losses, and wash-sale adjustments on Form 8949 and Schedule D of your federal tax return.

Disclaimer: This article is for educational purposes only and does not constitute tax, legal, or investment advice. Consult a qualified CPA or tax advisor regarding your specific situation.

mywhitetech
The MyWhiteTech editorial team writes practical, straightforward guides on personal finance, insurance, investing, and everyday money decisions. We focus on clear math, real trade-offs, and plain-English explanations so readers can compare options without the jargon.
https://mywhitetech.com

Leave a Reply

Your email address will not be published. Required fields are marked *