Skip to main content

Tax Loss Harvesting: The Year-Round Strategy That Can Save You Thousands in Capital Gains Taxes

· 12 min read
Mike Thrift
Mike Thrift
Marketing Manager

Picture this: It's late December. You're scrambling through your brokerage statements, looking for losing positions to dump before the calendar flips. Your financial advisor calls it "year-end tax planning." Wall Street calls it "the December scramble."

There's a better way—and most investors are leaving money on the table by waiting.

2026-05-07-tax-loss-harvesting-year-round-strategy-reduce-capital-gains-taxes-guide

Tax loss harvesting isn't a December activity. It's a year-round discipline that can quietly add 0.5% to 1.5% in annual after-tax returns to a taxable portfolio, according to research by Vanguard and Empower. Over a 30-year investing horizon, that compounds into a six-figure difference for many investors.

This guide breaks down how tax loss harvesting actually works, the IRS rules you can't afford to ignore, and the practical strategies that separate sophisticated investors from those who only think about taxes once a year.

What Tax Loss Harvesting Really Means

Tax loss harvesting is the deliberate practice of selling investments that have declined in value to realize a capital loss, then using that loss to reduce your tax bill. The catch—and the opportunity—is that you don't have to abandon your investment thesis. You sell the losing position, capture the tax benefit, and reinvest the proceeds into a similar (but not "substantially identical") investment to maintain your market exposure.

Done right, you walk away with three things:

  1. A realized loss that offsets capital gains elsewhere in your portfolio
  2. Up to $3,000 of ordinary income offset (if losses exceed gains)
  3. A repositioned portfolio with similar economic exposure

Done wrong, you trigger the wash sale rule, lose the deduction, and may even create a tax mess that haunts you for years.

The IRS Ordering Rules: Why Short-Term Losses Are Pure Gold

Here's a detail most articles gloss over: not all capital losses are created equal. The IRS uses a strict netting order that determines exactly how your losses offset your gains.

Step 1: Net within categories. Short-term losses first offset short-term gains. Long-term losses first offset long-term gains.

Step 2: Cross-category netting. Any leftover losses can offset gains in the other category.

Step 3: Ordinary income offset. If you still have leftover losses after offsetting all gains, up to $3,000 reduces your ordinary income ($1,500 if married filing separately).

Step 4: Carryforward. Anything beyond $3,000 carries forward to future years—indefinitely—until exhausted.

Why does this matter? Because short-term losses are far more valuable than long-term losses. Short-term gains are taxed as ordinary income (federal rates up to 37%, plus state taxes). Long-term gains are taxed at favorable rates of 0%, 15%, or 20%, depending on your income.

Imagine you have a $10,000 short-term gain (taxed at 37%) and a $10,000 long-term gain (taxed at 15%). If you harvest a $10,000 short-term loss, the IRS forces you to offset the short-term gain first—wiping out a $3,700 tax bill. Compare that to harvesting a $10,000 long-term loss, which would only erase a $1,500 tax bill on the long-term gain.

That's a $2,200 difference for the same loss amount. The takeaway: when you have a choice, harvest your short-term losses first.

The Wash Sale Rule: The Trap That Ruins Most Tax Loss Harvesting Attempts

The wash sale rule (IRS Section 1091) is the single biggest source of tax loss harvesting mistakes. Here's the rule in plain English:

If you sell a security at a loss and buy a "substantially identical" security within 30 days before or after the sale, the IRS disallows your loss.

Notice the window: it's a 61-day window, not 30. The 30 days before the sale and the 30 days after both count. Most investors only think about the days after.

The disallowed loss isn't gone forever in a regular taxable account—it's added to the cost basis of the replacement shares. But if the replacement happens in an IRA or Roth IRA, the loss is permanently destroyed. There's no basis to adjust in a tax-advantaged account.

What "Substantially Identical" Actually Means

The IRS has never published a precise definition, leaving room for interpretation. But after decades of guidance, practitioners agree on a working framework:

  • Same security, different account: yes, substantially identical. Selling Apple stock in your taxable account and buying it in your IRA triggers a wash sale.
  • Different companies in the same industry: no. Selling Ford and buying GM is fine. Selling Coca-Cola and buying Pepsi is fine.
  • Same index, different fund families: gray area. Selling Vanguard's S&P 500 ETF (VOO) and buying iShares' S&P 500 ETF (IVV) is technically risky—both track the same index. The IRS hasn't ruled definitively, but conservative tax advisors treat them as substantially identical.
  • Different indexes tracking similar markets: generally safe. Selling an S&P 500 fund and buying a Total Stock Market fund is widely considered acceptable, since they track different indexes with different methodologies.
  • Mutual fund vs. ETF of the same fund family: gray area. Selling Vanguard's S&P 500 mutual fund (VFIAX) and buying its ETF version (VOO) is risky territory.

The safest practical approach: when harvesting losses on broad index funds, pair them with a fund tracking a different index. For example, swap an S&P 500 fund for a Russell 1000 fund, or a Total Stock Market fund for a large-cap blend fund with a different methodology.

The Cross-Account Trap That Catches Smart Investors

This is the costliest mistake in tax loss harvesting, and it's surprisingly common.

You sell shares of a stock at a $5,000 loss in your taxable brokerage account. Two weeks later, your robo-advisor automatically rebalances your IRA and buys back into the same position. Or your spouse, who manages their own account, buys the same stock that week.

Both scenarios trigger a wash sale. The IRS wash-sale rule applies across all accounts you control—and across spousal accounts. It includes:

  • Your taxable brokerage accounts
  • Your IRA and Roth IRA
  • Your 401(k), if you have control over the trades
  • Your spouse's accounts (in any of the above)
  • Accounts you control on behalf of others (such as a trust where you're trustee)

The IRA scenario is especially brutal. Because you can't adjust the basis of an IRA position, that $5,000 loss is permanently disallowed. It vanishes.

The defense: keep a calendar of every harvested loss, share it with your spouse, and turn off automatic dividend reinvestment in any account holding similar positions during the 61-day window.

Reinvested Dividends: The Silent Wash Sale Maker

Most brokerages reinvest dividends automatically. If you own a fund that pays a quarterly dividend and you sell it for a loss, but a dividend reinvestment occurs within the 30-day window, you've triggered a partial wash sale on the shares purchased through reinvestment.

The fix is simple but easy to forget: turn off automatic reinvestment in any account where you plan to harvest losses, and keep it off until the 61-day window closes.

Why Year-Round Beats Year-End

The traditional approach to tax loss harvesting is December scrambling. The sophisticated approach is opportunistic harvesting throughout the year. Here's why year-round wins:

More opportunities. Markets are volatile. A position that's down 15% in March may be up 20% by December. Waiting for year-end means missing legitimate harvesting windows.

Smoother portfolio management. Tax loss harvesting throughout the year integrates with regular rebalancing, dividend reinvestment, and new contributions. December-only harvesting often forces awkward portfolio decisions in a tight window.

Compounding the carryforward. Realizing losses early lets you offset estimated quarterly tax payments and accelerates the value of the loss. A loss harvested in February can reduce your Q1 estimated payment, freeing up cash to invest sooner.

Avoiding the December rush. Liquidity dries up in late December. Bid-ask spreads widen. Many investors end up paying higher transaction costs precisely when they're trying to save on taxes.

A Practical Framework for Harvesting Losses

Here's a systematic approach used by tax-aware investment advisors:

1. Set Trigger Thresholds

Don't harvest tiny losses. The transaction costs and complexity rarely justify it. A common rule: only harvest if the unrealized loss exceeds 5% of the position value, with a minimum dollar amount (often $500 or $1,000).

2. Maintain a Replacement Pair List

Before market volatility hits, identify replacement securities for every major holding. For each fund or ETF, write down two non-substantially-identical alternatives. When the moment comes, you execute without hesitation or guesswork.

3. Track Lots, Not Just Positions

Most brokerages let you sell specific tax lots. If you've held a position for years, some lots might be deeply underwater while others are deeply profitable. Selling specific high-cost-basis lots maximizes the harvested loss without disturbing your low-basis lots.

4. Coordinate Across All Accounts

Maintain a centralized log of all harvested losses across taxable accounts, IRAs, and spousal accounts. Tag each transaction with its 31st-day "all clear" date.

5. Reconcile with Your Annual Tax Plan

Tax loss harvesting works best when paired with tax gain harvesting in low-income years. If you're in the 0% long-term capital gains bracket (income under $48,350 single / $96,700 married filing jointly in 2026), realizing gains may be just as valuable as realizing losses.

Special Considerations for Different Asset Classes

Stocks

The cleanest case. Different companies are clearly not substantially identical, even within the same sector. Just watch out for ADRs and dual-listed shares.

Mutual Funds and ETFs

The trickiest area. The "substantially identical" question is genuinely unsettled. The conservative approach: only swap between funds that track demonstrably different indexes.

Bonds

Individual bonds are rarely considered substantially identical to other bonds, even from the same issuer, if they have different maturity dates or coupon rates. Bond ETFs follow the same rules as stock ETFs.

Cryptocurrency

A unique advantage as of 2026: cryptocurrency is classified as property, not a security, so the wash sale rule does not apply. You can sell Bitcoin at a loss and immediately buy it back. This makes crypto an extraordinarily powerful tax loss harvesting vehicle.

A word of caution, though: legislation to extend the wash sale rule to digital assets has been proposed in nearly every recent Congress. The current carve-out may not last, and any change would not be retroactive—but you shouldn't build a long-term strategy around a loophole that could close.

Options and Futures

The wash sale rule applies to options, with extra complexity. Selling stock at a loss and buying call options on the same stock can trigger a wash sale. Consult a tax professional for sophisticated options strategies.

When Tax Loss Harvesting Doesn't Make Sense

Tax loss harvesting isn't free money. There are situations where it backfires or creates more cost than benefit:

  • Tax-deferred accounts. Don't bother in IRAs or 401(k)s—there are no capital gains taxes inside them, so harvesting losses provides no benefit.
  • 0% capital gains bracket. If your long-term capital gains rate is 0%, harvesting long-term losses provides no current value (though short-term losses still offset ordinary income).
  • Imminent need to use the position. If you're going to sell the security in the next month anyway, a wash sale isn't a concern, but you've lost the optionality of the harvest.
  • Very small positions. Transaction costs and tax preparation complexity may exceed the tax savings.
  • Concentrated low-basis holdings. If your overall portfolio has massive unrealized gains, harvesting tiny offsetting losses delays the inevitable rather than solving it. Strategies like exchange funds or charitable giving may be better.

The Documentation Problem (And Why Plain-Text Records Solve It)

Here's the dirty secret of tax loss harvesting: the math is easy. The bookkeeping is hard.

Every harvested loss generates a paper trail—the sale, the cost basis adjustment, the carryforward, the wash sale tracking, the replacement security purchase. Multiply this across multiple accounts, multiple years, and a spouse's accounts, and you end up with a recordkeeping nightmare. Many investors discover during an audit that their broker's 1099-B doesn't tell the whole story—wash sales across accounts aren't tracked by individual brokerages, only within a single account.

Accurate, audit-proof records are the foundation of effective tax loss harvesting. Without them, you can't track carryforwards, can't reconcile cross-account wash sales, and can't defend your deductions years later when the IRS asks questions.

Keep Your Investment Records Audit-Ready Year-Round

Tax loss harvesting only pays off when your records can survive scrutiny—and that requires a recordkeeping system you control. Beancount.io provides plain-text accounting that captures every transaction, cost basis adjustment, and carryforward in version-controlled files you can audit, share, and reproduce. No proprietary formats, no vendor lock-in, no black boxes—just transparent financial data that's ready for tax season and any conversation with your CPA. Get started for free and bring the same rigor to your portfolio that the best tax-aware investors use to compound their after-tax returns.