Tax-Loss Harvesting Explained: Save Money on Your Taxes
Tax-Loss Harvesting Explained: Save Money on Your Taxes
Nobody likes paying taxes. But here's something most investors don't realize: you can use your investment losses to reduce your tax bill — legally, ethically, and pretty easily.
It's called tax-loss harvesting, and it's one of the most underused strategies in personal finance. The concept is simple: sell investments that have gone down in value to offset taxes on your gains. The IRS essentially lets you turn lemons into lemonade.
Let's break it down step by step, with real numbers.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is the practice of selling investments at a loss to offset capital gains taxes on your winning investments.
Here's the core idea in plain English:
- You bought Stock A and it went up. When you sell it, you owe taxes on the profit (capital gains).
- You also bought Stock B and it went down. If you sell Stock B at a loss, that loss can cancel out some or all of the tax you'd owe on Stock A's gains.
The result? You pay less in taxes while keeping your overall investment strategy intact.
How Capital Gains Taxes Work (Quick Review)
Before we dive deeper, let's make sure we're on the same page about capital gains taxes:
Short-term capital gains — Profits from investments held less than 1 year. Taxed at your ordinary income tax rate (could be 22%, 24%, 32%, or higher).
Long-term capital gains — Profits from investments held more than 1 year. Taxed at preferential rates: 0%, 15%, or 20%, depending on your income.
The key takeaway: short-term gains are taxed much more heavily than long-term gains. This matters for tax-loss harvesting because short-term losses offset short-term gains first (saving you more money), then offset long-term gains.
A Step-by-Step Example with Real Numbers
Let's make this concrete. Meet Sarah — she's a regular investor with a few positions in her taxable brokerage account.
Sarah's Portfolio (End of Year)
| Investment | Bought For | Current Value | Gain/Loss | Holding Period | |-----------|-----------|---------------|-----------|----------------| | S&P 500 ETF (VOO) | $10,000 | $13,000 | +$3,000 | 2 years (long-term) | | Tech Stock (individual) | $5,000 | $3,200 | -$1,800 | 8 months (short-term) | | International ETF (VXUS) | $4,000 | $3,400 | -$600 | 14 months (long-term) | | Dividend Stock | $6,000 | $7,500 | +$1,500 | 3 years (long-term) |
Without Tax-Loss Harvesting
If Sarah sells her S&P 500 ETF position, she'd owe taxes on the $3,000 long-term capital gain. At a 15% long-term rate, that's $450 in taxes.
With Tax-Loss Harvesting
Sarah decides to sell her losing positions too:
Step 1: Sell the losers.
- Sell the Tech Stock: realizes a $1,800 short-term loss
- Sell the International ETF: realizes a $600 long-term loss
- Total losses: $2,400
Step 2: Offset the gains.
- Sarah's $3,000 long-term gain is reduced by $2,400 in losses
- Net taxable gain: $600
- Tax owed at 15%: $90
Step 3: Count the savings.
- Without harvesting: $450 in taxes
- With harvesting: $90 in taxes
- Sarah saved $360
Step 4: Reinvest. Sarah takes the $3,200 from the tech stock sale and $3,400 from the international ETF sale and buys similar but not identical investments. Her portfolio stays roughly the same, but her tax bill is $360 lighter.
The $3,000 Deduction Against Ordinary Income
Here's where tax-loss harvesting gets even better. If your investment losses exceed your gains in a given year, you can deduct up to $3,000 of the excess loss against your ordinary income ($1,500 if married filing separately).
Example
Let's say in a bad year, you have:
- Capital gains: $1,000
- Capital losses: $6,000
- Net loss: $5,000
Here's how it works:
- $1,000 of losses offsets your $1,000 in gains (tax on gains = $0)
- $3,000 of remaining losses deducts from your ordinary income
- $1,000 of leftover losses carries forward to next year
If you're in the 24% tax bracket, that $3,000 deduction saves you $720 in income taxes — on top of eliminating the capital gains tax.
Carry Forward — Losses Never Expire
Any losses you can't use this year carry forward to future years indefinitely. Had $20,000 in losses during a market crash? You can use $3,000 per year against ordinary income and offset any future gains — for as many years as it takes to use them up.
This makes tax-loss harvesting valuable even if you don't have gains to offset right now.
The Wash Sale Rule: The One Rule You Cannot Break
The IRS isn't going to let you sell a stock for the tax benefit and immediately buy it back. That would be too easy. Enter the wash sale rule.
What the Wash Sale Rule Says
If you sell an investment at a loss and buy a "substantially identical" investment within 30 days before or after the sale, the loss is disallowed. You can't claim it on your taxes.
That's a 61-day window total: 30 days before the sale + the sale day + 30 days after.
What Counts as "Substantially Identical"
The IRS hasn't defined this precisely, but here's what we know:
Definitely triggers a wash sale:
- Selling shares of Apple and buying shares of Apple within 30 days
- Selling an ETF and buying the same ETF back
- Buying the same security in a different account (including an IRA)
Generally safe:
- Selling an S&P 500 ETF (like VOO) and buying a different S&P 500 ETF (like SPY) — they track the same index, but the IRS hasn't explicitly ruled identical ETFs from different providers as "substantially identical." Most tax professionals consider this acceptable, but it's a gray area.
- Selling a tech stock and buying a different tech stock
- Selling an individual stock and buying a broad market ETF that contains that stock
Best practice: To be safe, buy something similar but clearly different. Selling a total U.S. market ETF and buying a large-cap value ETF, for example, keeps your portfolio exposure similar without triggering wash sale concerns.
What Happens If You Trigger a Wash Sale
Your loss isn't permanently gone — it gets added to the cost basis of the replacement shares. You'll eventually get the tax benefit when you sell the replacement shares, but you lose the benefit this year.
When to Do Tax-Loss Harvesting
End of Year (November-December)
This is the most common time. You can see your full year of gains and losses and make strategic decisions before December 31.
After a Market Drop
A market correction or crash creates losses across many positions. This is actually a silver lining — harvest those losses while the market is down, reinvest in similar positions, and bank the tax savings.
Throughout the Year (Best Approach)
The most effective approach is to monitor your portfolio regularly and harvest losses as they appear. Waiting until December means you might miss opportunities — a stock might be down in July but recovered by December.
Many robo-advisors (Wealthfront, Betterment) do this automatically. If you're managing your own portfolio, set a quarterly reminder to check for harvesting opportunities.
Step-by-Step: How to Tax-Loss Harvest
-
Review your taxable accounts. Only taxable brokerage accounts qualify. Losses in IRAs, 401(k)s, and other tax-advantaged accounts don't count.
-
Identify positions with unrealized losses. Your brokerage should show you the gain/loss on each position.
-
Check your gains for the year. Do you have realized capital gains to offset? If so, harvesting losses directly reduces your tax bill.
-
Sell the losing positions. Execute the sell orders.
-
Wait 31 days or buy a similar (not identical) investment. Either wait out the wash sale window and buy back the same investment, or immediately buy something similar.
-
Track your losses. Keep records for your tax return. Your brokerage will send a 1099-B form, but it's smart to maintain your own records too.
-
Report on your tax return. Capital gains and losses are reported on Schedule D and Form 8949.
Who Benefits Most from Tax-Loss Harvesting?
High earners — If you're in the 32%+ tax bracket, the $3,000 ordinary income deduction is worth $960+ per year.
Active investors — If you buy and sell individual stocks, you'll naturally have more opportunities to harvest losses.
Anyone with a big winning position — Planning to sell a winner? Harvest losses first to offset the gain.
People approaching retirement — Banking losses now can offset gains when you sell positions to fund retirement.
Common Mistakes to Avoid
Mistake #1: Triggering the wash sale rule. The most common error. Don't buy back the same or substantially identical investment within 30 days.
Mistake #2: Harvesting in tax-advantaged accounts. Losses in your IRA or 401(k) don't count for tax purposes. Only harvest in taxable brokerage accounts.
Mistake #3: Letting the tax tail wag the dog. Don't sell a great long-term investment just for a small tax benefit. Tax-loss harvesting should complement your investment strategy, not override it.
Mistake #4: Forgetting about state taxes. Most states follow federal capital gains rules, so tax-loss harvesting reduces your state taxes too. Double savings.
Mistake #5: Not carrying forward losses. If you have more losses than you can use, make sure you (or your tax preparer) carry them forward properly. They never expire.
The Bottom Line
Tax-loss harvesting isn't complicated, but it is powerful. It turns inevitable investment losses into real tax savings — money back in your pocket that can be reinvested to grow even further.
The strategy is straightforward:
- Sell losers to offset winners
- Deduct up to $3,000 against ordinary income
- Carry forward any excess
- Reinvest in similar (not identical) positions
- Repeat every year
Even a few hundred dollars saved annually adds up significantly over a lifetime of investing. Combined with smart investing habits — like evaluating stocks properly and budgeting for investment contributions — tax-loss harvesting is one more edge in building long-term wealth.
Know an investor who's never heard of tax-loss harvesting? Share this guide — it could save them hundreds or thousands in taxes this year.
📬 Get tax-smart investing tips — Subscribe to our newsletter for strategies that keep more money in your pocket.
Get Weekly Stock Picks & Analysis
Free weekly stock analysis and investing education delivered straight to your inbox.
Free forever. Unsubscribe anytime. We respect your inbox.