Losing money on an investment is never good. Unless you know how to use it. That's not spin — it's the basic math of tax-loss harvesting. A position down $20,000 in your taxable account is a liability if you ignore it. It's a tax asset worth $3,000–$7,400 in saved taxes if you act before December 31.
Tax-loss harvesting is one of the few strategies that turns a bad situation into a measurable financial win. It doesn't require perfect market timing, a high income, or a complex account structure. What it requires is understanding the rules — especially the one that can blow the whole strategy up if you're not paying attention.
How Tax-Loss Harvesting Works
The mechanics are straightforward. You sell an investment that is currently worth less than you paid for it. That realized loss can then be used to offset realized capital gains elsewhere in your portfolio. If you've sold appreciated investments this year — a stock, a piece of land, a business interest — harvested losses reduce or eliminate the tax owed on those gains.
The IRS applies losses first against gains of the same type: short-term losses against short-term gains, long-term losses against long-term gains. If one category has excess losses, they spill over to offset gains in the other category. Any net losses remaining after offsetting all gains can deduct up to $3,000 from ordinary income per year. The rest carries forward to future years — indefinitely, until used.
Example: You realize a $30,000 long-term capital gain on a stock sale. You also hold a mutual fund sitting at a $30,000 loss. Harvesting that loss offsets the entire gain — eliminating up to $7,140 in federal tax at the 23.8% rate (20% + 3.8% NIIT for high earners). You stay invested in a similar fund and your net position is essentially unchanged. The tax savings are real and immediate.
The Wash-Sale Rule — The One Rule You Cannot Break
The wash-sale rule is the IRS's guardrail against gaming the system. If you sell a security at a loss and then buy a "substantially identical" security within 30 days before or after the sale, the loss is disallowed. The disallowed loss doesn't disappear — it gets added to the cost basis of the replacement security — but you lose the current-year tax benefit, which defeats the purpose.
What counts as substantially identical? The exact same stock or fund is clearly prohibited. Different funds that track the same index (e.g., Vanguard S&P 500 and Fidelity S&P 500) are generally considered substantially identical and should be avoided. Selling a specific sector fund and buying a broader market fund covering the same sector is typically acceptable, but the IRS has not issued clear guidance on every combination. When in doubt, consult your CPA.
The 30-day window applies in both directions — you cannot buy the replacement security 29 days before the sale and expect the harvest to stand.
The $3,000 Ordinary Income Deduction and Loss Carryforward
If your capital losses exceed your capital gains in a given year, the excess loss (up to $3,000) can be applied against ordinary income — wages, interest, self-employment income. For someone in the 32% bracket, a $3,000 deduction against ordinary income saves $960 in federal tax. Not life-changing on its own, but if you're consistently harvesting losses in down markets, the carryforward accumulates into a substantial tax asset.
Losses that cannot be used this year carry forward to next year. There's no expiration. A large harvest in a single down year can eliminate capital gains taxes for years afterward — an especially powerful benefit for business owners and investors who plan to realize large gains in the future.
When Tax-Loss Harvesting Makes Sense — and When It Doesn't
Harvesting makes the most sense when:
- You have realized or anticipated capital gains to offset in the same tax year
- You're in the 22% bracket or higher (the tax savings are meaningful)
- The loss is in a taxable brokerage account (losses inside IRAs and 401(k)s are irrelevant for harvesting purposes)
- You can identify a suitable replacement security to maintain your market exposure without violating wash-sale rules
Harvesting makes less sense when:
- Transaction costs eat into the tax benefit
- You're in the 0% capital gains bracket (there's nothing to offset)
- The loss is minor and you'd be repositioning out of a core, hard-to-replace holding
- You're near retirement and plan to pass the asset to heirs (who'd receive a stepped-up basis, eliminating the embedded loss anyway)
Always review the full picture with a tax professional before executing. The interaction between capital gains rates, ordinary income brackets, AMT, and state taxes can make the calculation more complex than it appears.
More on Tax-Efficient Wealth
How to Minimize Capital Gains Taxes — Legal Strategies That Work Tax-Efficient Investing — The 5 Rules for Your Portfolio Your Tax Planning Calendar — What to Do Every Quarter → Complete Tax Strategy GuideStop Overpaying Taxes on the Wealth You Worked to Build
Kyle Ellison is a licensed financial professional in Texas, California, Nevada, Montana, Utah, and New Mexico. Schedule a strategy session to map out your tax efficiency opportunities.