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:

Harvesting makes less sense when:

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.

Stop 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.

Frequently Asked Questions

Can I harvest losses inside my IRA or 401(k)?
No. Tax-loss harvesting only applies to taxable brokerage accounts. Losses inside IRAs, 401(k)s, and other tax-advantaged accounts are irrelevant for this strategy — gains and losses inside those accounts are not reported on your tax return each year. The only exception is certain complex IRA loss situations, which require the entire IRA of a given type to be liquidated — a strategy that rarely makes sense. Focus harvesting efforts on your taxable accounts.
What exactly is a "substantially identical" security under the wash-sale rule?
The IRS has not defined "substantially identical" with precision, but the general rule is: the same stock or bond is clearly prohibited. Options and warrants on the same security are prohibited. Different funds tracking the exact same index from different fund families are typically treated as substantially identical and should be avoided. Funds tracking different but related indexes (e.g., S&P 500 vs. total stock market) are generally acceptable replacements. When uncertain, give yourself more than 30 days of buffer and consult your tax advisor.
What happens to harvested losses I don't use this year?
Unused capital losses carry forward indefinitely. They retain their character (short-term or long-term) and can be applied in future years against gains of either type. Large loss carryforwards are valuable because they effectively create a tax-free buffer for future realized gains — useful if you plan to sell a business, real estate, or concentrated stock position in coming years.
Is there a deadline to harvest losses each year?
Yes. Losses must be realized (sold) by December 31 to count in the current tax year. Most experienced investors do a mid-year review in October or November to identify harvesting opportunities, giving themselves time to execute trades before year-end liquidity and settlement delays. Don't wait until late December — markets can move quickly and settlement times can push your trade into the following tax year.