Read the screenplay: FANNIEGATE — $7 trillion. 17 years. The biggest fraud in American capital markets.

Investing & Tax Strategy

Tax-Loss Harvesting Guide

How to legally turn investment losses into tax savings — from someone who has harvested more losses than he would like to admit.

Updated April 2026 · ~12 min read

What Is Tax-Loss Harvesting?

Tax-loss harvesting (TLH) is the practice of selling investments at a loss to offset capital gains on your tax return. You then reinvest the proceeds in a similar — but not identical — asset to maintain your market exposure.

The result: you keep your portfolio positioned the same way, but you get a tax deduction. The IRS lets you do this because you genuinely sold the position. The loss is real.

This is not a loophole. It is a well-known, IRS-sanctioned strategy used by hedge funds, robo-advisors, and individual investors. The only catch is the wash sale rule, which prevents you from immediately buying back the exact same security.

How Tax-Loss Harvesting Works: 6 Steps

1

Identify losing positions in your portfolio

Log into your brokerage and sort positions by unrealized gain/loss. Any position sitting at a loss is a potential harvesting candidate. Focus on the largest losses first — they save you the most.

2

Sell the losing position to "realize" the loss

Unrealized losses mean nothing to the IRS. You have to actually sell the position to lock in the capital loss. This converts a paper loss into a real, tax-deductible loss on your return.

3

Use losses to offset gains (same type first)

Short-term losses offset short-term gains first. Long-term losses offset long-term gains first. Any excess crosses over. This ordering matters because short-term gains are taxed at higher ordinary income rates.

4

Deduct up to $3,000 against ordinary income

If your total losses exceed your total gains, you can deduct up to $3,000 of net capital losses against ordinary income per year ($1,500 if married filing separately). At a 32% bracket, that saves $960/year.

5

Carry forward unused losses indefinitely

Any net losses above $3,000 carry forward to future tax years — forever. There is no expiration. This is a permanent asset on your tax return until it is fully used up.

6

Reinvest in a similar (but not identical) asset

To maintain your market exposure, immediately buy a similar investment. Sell VOO (S&P 500)? Buy VTI (Total Market). Sell one tech ETF? Buy another. The key: avoid the wash sale rule by not buying something 'substantially identical.'

Glen's Take

I started tax-loss harvesting during my hedge fund days when I had plenty of losers to harvest. The key insight most people miss: you do not need a down market to harvest losses. Even in a raging bull market, individual holdings have temporary dips. Harvest the dip, swap into a similar ETF, and bank the tax deduction.

The people who think TLH is "just deferring taxes" are technically correct but practically wrong. If you hold the replacement shares until death, your heirs get a stepped-up basis and the deferred tax is eliminated. Even if you sell before then, you had the time value of the deferred tax working for you — that is real money.

The Wash Sale Rule: What You Must Know

The wash sale rule (IRS Publication 550) is the main constraint on tax-loss harvesting. It prevents you from claiming a loss if you buy a "substantially identical" security within 30 days before or after the sale.

The 61-day window

You cannot buy a 'substantially identical' security 30 days before or 30 days after selling at a loss. That is a 61-day total window (30 + sale day + 30).

What counts as 'substantially identical'

Same stock, same mutual fund class, options on the same stock, and identical ETFs tracking the same index from the same provider. The IRS has not given a bright-line definition, which is intentional — they want you to be careful.

What does NOT trigger a wash sale

Selling VOO (Vanguard S&P 500) and buying IVV (iShares S&P 500) is a gray area — same index, different provider. Selling VOO and buying VTI (Vanguard Total Market) is generally safe — different index. Selling a stock and buying an ETF that holds it is also generally safe.

The spouse and IRA trap

The wash sale rule applies across ALL your accounts and your spouse's accounts. If you sell a stock at a loss in your taxable account and your spouse buys it in her IRA within 30 days, the loss is disallowed AND you lose the cost basis forever (it does not transfer to the IRA).

Consequence of a wash sale

The disallowed loss is not gone — it gets added to the cost basis of the replacement shares. You will eventually get the tax benefit when you sell those shares, just not right now. It is a deferral, not a permanent loss.

Short-Term vs Long-Term Losses

Capital losses are categorized the same way as capital gains: short-term (held 1 year or less) and long-term (held more than 1 year). The netting process matters because the tax rates differ significantly:

Short-Term Losses

Offset short-term gains first (taxed at ordinary income rates: 10%–37%). Then excess short-term losses offset long-term gains. Most valuable because they offset the highest-taxed gains.

Long-Term Losses

Offset long-term gains first (taxed at 0%, 15%, or 20%). Then excess long-term losses offset short-term gains. Still valuable, but you are using a loss to offset lower-taxed gains.

After netting, any remaining net capital loss up to $3,000 ($1,500 married filing separately) offsets ordinary income. Losses beyond $3,000 carry forward to future years indefinitely.

Get Glen’s Updates

Investing insights, new tools, and whatever I’m building this week. Free. No spam.

Unsubscribe anytime. I respect your inbox more than Congress respects property rights.

ETF Swap Pairs for Tax-Loss Harvesting

The key to maintaining your market exposure after selling is to buy a replacement ETF that tracks a similar but not identical index. Here are commonly used swap pairs:

CategorySellBuy Instead
Large Cap USVOO (Vanguard S&P 500)SPLG (SPDR Portfolio S&P 500)
Total MarketVTI (Vanguard Total Market)ITOT (iShares Core Total US)
InternationalVXUS (Vanguard Int'l)IXUS (iShares Core Int'l)
BondsBND (Vanguard Total Bond)AGG (iShares Core Bond)
Emerging MarketsVWO (Vanguard Emerging)IEMG (iShares Core EM)
Tech / GrowthQQQ (Invesco Nasdaq 100)QQQM (Invesco Nasdaq 100)
Real EstateVNQ (Vanguard Real Estate)SCHH (Schwab US REIT)
DividendSCHD (Schwab Dividend)VYM (Vanguard High Dividend)

Note: Whether two ETFs tracking the same index from different providers are "substantially identical" is a gray area. The IRS has not issued definitive guidance. Most tax professionals consider cross-provider swaps (e.g., VOO to IVV) acceptable, but swapping between share classes of the same fund is not.

When Tax-Loss Harvesting Makes Sense (and When It Does Not)

Good Candidates

  • - High-income investors (24%+ bracket)
  • - Portfolios with significant unrealized gains
  • - Taxable brokerage accounts over $50K
  • - Investors who trade individual stocks
  • - Anyone who sold assets at a gain this year
  • - Years with large one-time capital gains (home sale, business sale)

Poor Candidates

  • - Investors in the 0% or 10% bracket
  • - Portfolios entirely in tax-advantaged accounts
  • - Very small portfolios (savings may not justify the effort)
  • - Situations where you want to hold the exact same security
  • - Investors who cannot track cost basis accurately

Automated Tax-Loss Harvesting Platforms

If you do not want to manage TLH manually, several platforms automate the process. They monitor your portfolio daily and harvest losses whenever positions dip below your purchase price.

Wealthfront

Daily tax-loss harvesting across entire portfolio. Direct indexing available at $100K+.

Est. Alpha: 0.5% – 2.0%/year on taxable accounts

Fee: 0.25%/year

Betterment

Automatic TLH on all taxable accounts. Tax-Coordinated Portfolio for asset location.

Est. Alpha: 0.77%/year average (Betterment's reported figure)

Fee: 0.25%/year

Fidelity

Tax-loss harvesting available on Fidelity Go managed accounts. Manual TLH tools for self-directed.

Est. Alpha: Varies — manual discipline required

Fee: 0.35%/year (managed) or $0 (self-directed)

Schwab Intelligent Portfolios

Automatic TLH on all Premium accounts. Direct indexing via Schwab Personalized Indexing at $100K+.

Est. Alpha: Varies by portfolio size

Fee: 0%–0.28%/year

Direct Indexing: Tax-Loss Harvesting on Steroids

Direct indexing takes TLH to the next level. Instead of owning an S&P 500 ETF, you own all 500 individual stocks (or a representative sample). When any single stock dips below your purchase price, the platform sells it and buys a substitute.

With 500 individual positions instead of 1 ETF, you have 500 independent harvesting opportunities. Wealthfront and Schwab both report that direct indexing generates 2-3x more tax savings than ETF-level harvesting.

The trade-off: direct indexing typically requires a $100,000+ minimum and higher fees. For large taxable accounts, the additional tax savings often outweigh the costs.

Year-End Tax-Loss Harvesting Checklist

  • 1.Review all taxable account positions for unrealized losses
  • 2.Calculate your net realized capital gains for the year so far
  • 3.Identify losses that offset those gains (short-term losses are most valuable)
  • 4.Check for any wash sale risks — did you buy the same security in the last 30 days?
  • 5.Execute sales and immediately reinvest in swap ETFs or similar positions
  • 6.Set a calendar reminder: do NOT buy back the original security for 31 days
  • 7.Document everything: date sold, loss amount, replacement purchased, new cost basis
  • 8.Check for carryforward losses from prior years on your last tax return (Form 1040 Schedule D)

Recommended Resources

Tools & books I actually use and recommend

Interactive Brokers

Low commissions, global market access, and professional-grade tools. This is where I hold my positions.

Open an Account

The Psychology of Money

Morgan Housel on why managing money is about behavior, not intelligence. Short, brilliant chapters you'll re-read.

View on Amazon

A Random Walk Down Wall Street

Burton Malkiel's classic case for index investing. The book that convinced millions to stop stock-picking.

View on Amazon

Some links above are affiliate links. I only recommend products I personally use. See my full disclosures.

Frequently Asked Questions

Is tax-loss harvesting worth it?

Yes, especially for investors in the 24% bracket or higher with taxable accounts over $50,000. The $3,000 annual deduction against ordinary income alone saves $720–$1,110/year depending on your bracket. On larger portfolios with active trading, systematic harvesting can add 0.5–1.5% in after-tax returns annually.

Does tax-loss harvesting work with individual stocks?

Yes, and it can be even more effective because individual stocks have more volatility than diversified ETFs, creating more harvesting opportunities. The wash sale rule is easier to navigate — sell Apple and buy Microsoft, for example. Direct indexing platforms automate this across hundreds of individual stock positions.

Can I tax-loss harvest in my IRA or 401(k)?

No. Tax-loss harvesting only works in taxable brokerage accounts. IRAs and 401(k)s are tax-deferred or tax-free, so realized losses have no tax benefit. In fact, buying a 'substantially identical' security in your IRA within 30 days of selling at a loss in your taxable account triggers the wash sale rule and permanently destroys the loss.

What happens to my cost basis after tax-loss harvesting?

Your replacement investment inherits a lower cost basis. If you sell a stock at $80 that you bought at $100 (realizing a $20 loss), then buy a replacement at $80, the replacement has an $80 cost basis. When you eventually sell the replacement, you will owe taxes on any gain from $80. Tax-loss harvesting defers taxes, it does not eliminate them — unless you hold until death (stepped-up basis) or donate the shares to charity.

How does the wash sale rule apply to crypto?

Prior to 2026, crypto was not subject to the wash sale rule because the IRS classified it as property, not a security. Starting in 2026, new legislation extends wash sale rules to digital assets. You can no longer sell Bitcoin at a loss and immediately rebuy it to harvest the loss. The same 30-day window now applies.

When is the best time to tax-loss harvest?

You can harvest losses year-round, not just in December. In fact, harvesting throughout the year captures more opportunities because market dips happen unpredictably. That said, a year-end review is essential to ensure you have captured all available losses before December 31. Many investors do a final sweep in mid-to-late December.

The Bottom Line

Tax-loss harvesting is one of the few free lunches in investing. It does not change your portfolio's risk or return profile — it just reduces your tax bill. The math is simple: losses offset gains, you keep more money, that money compounds.

The biggest mistake is ignoring it. The second biggest mistake is triggering a wash sale because you did not wait 31 days. Follow the steps on this page and you will avoid both.

Disclaimer: This is educational content, not tax advice. Tax laws change frequently. Consult a qualified CPA or tax professional for advice specific to your situation. Glen Bradford is not a CPA, enrolled agent, or tax attorney.

Keep Exploring