Editorial note: This content is for informational purposes only and does not constitute tax, legal, or financial advice. Tax laws change frequently — verify details with a qualified tax professional before making decisions. Information is believed accurate as of publication but may not reflect the latest IRS guidance.
Tax-Loss Harvesting: A Plain-English Guide to Saving Money on Investment Taxes
Watching your investment portfolio take a hit isn't fun, but here's a silver lining that might make you feel a little better: those losing investments could actually save you money on your taxes. Welcome to the world of tax-loss harvesting, a perfectly legal strategy that lets you turn your investment losses into tax savings.
If you've never heard of tax-loss harvesting before, don't worry – you're not alone. This powerful tax strategy often gets buried in financial jargon, but it's actually pretty straightforward once you understand the basics. And the best part? You don't need to be a Wall Street wizard to use it effectively.
What Is Tax-Loss Harvesting (And Why Should You Care)?
Tax-loss harvesting is essentially the practice of selling investments that have lost money to offset the taxes you'd owe on investments that have made money. Think of it as a way to balance your investment wins and losses to reduce your overall tax bill.
Here's the basic concept: Let's say you bought 100 shares of Company A for $5,000, and they're now worth $7,000 (nice work!). If you sell those shares, you'll have a $2,000 capital gain that the IRS wants to tax. But if you also have some shares of Company B that you bought for $3,000 and are now worth $1,500, you could sell those too, creating a $1,500 capital loss. That loss can offset most of your gain, leaving you with only $500 in taxable capital gains instead of $2,000.
Based on IRS publications and official sources, this strategy is completely legitimate and encouraged – the tax code specifically allows investors to use capital losses to offset capital gains.
How Capital Gains and Losses Work
Before diving deeper into tax-loss harvesting, let's make sure we understand how the IRS treats investment gains and losses. When you sell an investment for more than you paid for it, you have a capital gain. When you sell for less than you paid, you have a capital loss.
The IRS categorizes these gains and losses based on how long you held the investment:
- Short-term: Investments held for one year or less
- Long-term: Investments held for more than one year
This distinction matters because they're taxed differently. Short-term capital gains are taxed as ordinary income (the same rate as your salary), while long-term capital gains get preferential tax treatment with lower rates.
2024 Capital Gains Tax Rates
| Tax Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $47,025 | $47,026 - $518,900 | Over $518,900 |
| Married Filing Jointly | Up to $94,050 | $94,051 - $583,750 | Over $583,750 |
| Head of Household | Up to $63,000 | $63,001 - $551,350 | Over $551,350 |
The Step-by-Step Tax-Loss Harvesting Process
Now that you understand the basics, let's walk through how tax-loss harvesting actually works in practice:
Step 1: Review Your Portfolio
Look at all your investments and identify which ones are currently showing losses. This means investments where the current market value is less than what you originally paid for them.
Step 2: Calculate Your Potential Tax Savings
Figure out how much you could save by realizing these losses. You can use online calculators to help with this math, or work with a financial advisor to crunch the numbers.
Step 3: Decide Which Losses to Realize
You don't have to sell everything that's showing a loss. Consider factors like:
- How much you believe in the investment's long-term potential
- Whether you want to maintain exposure to that sector or company
- Transaction costs and fees
- Your overall portfolio allocation
Step 4: Execute the Sales
Sell the investments you've decided to harvest for losses. Make sure to keep detailed records of the transaction dates, amounts, and costs basis for tax reporting purposes.
Step 5: Reinvest (Carefully)
If you want to maintain similar market exposure, you can reinvest the proceeds – but be careful about the wash sale rule, which we'll discuss shortly.
Real-World Example: Sarah's Tax-Loss Harvesting Strategy
Let's see how this works with a concrete example. Meet Sarah, a marketing manager who earned $85,000 in 2024. She's been investing in individual stocks and has had a mixed year.
Sarah's situation:
- She sold some tech stocks earlier in the year for a $8,000 long-term capital gain
- Her energy stocks are down $3,000 from what she paid
- Her retail stocks are down $2,500 from what she paid
- She's considering selling the losing positions to harvest tax losses
Without tax-loss harvesting:
Sarah would owe capital gains tax on the full $8,000 gain. Since her income puts her in the 15% long-term capital gains bracket, she'd owe $1,200 in taxes ($8,000 × 15%).
With tax-loss harvesting:
If Sarah sells her losing positions, she'd have $5,500 in capital losses ($3,000 + $2,500). These losses would offset her $8,000 gain, leaving her with a net capital gain of only $2,500. Her tax bill would drop to just $375 ($2,500 × 15%), saving her $825 in taxes.
But wait – there's more! If Sarah had even more losses than gains, she could use up to $3,000 of excess losses to offset her regular income, potentially saving even more on her taxes.
The $3,000 Rule and Loss Carryforwards
Here's where tax-loss harvesting gets even more interesting. Based on IRS publications and official sources, if your capital losses exceed your capital gains in a given year, you can use up to $3,000 of those excess losses to offset your ordinary income (like your salary). This is huge because it means you're getting tax savings at your regular income tax rate, which is likely higher than the capital gains rate.
And if you have more than $3,000 in excess losses? Don't worry – you don't lose them. You can carry those losses forward to future years indefinitely. Every year, you can continue to use up to $3,000 against ordinary income, plus any amount needed to offset capital gains.
For example: If you have $10,000 in net capital losses this year, you can use $3,000 to offset ordinary income this year, and carry forward the remaining $7,000 to use in future years.
The Wash Sale Rule: The Big Gotcha
Before you get too excited about tax-loss harvesting, there's one major rule you need to understand: the wash sale rule. This IRS rule prevents you from claiming a tax loss if you buy the same or "substantially identical" security within 30 days before or after the sale.
The wash sale window is actually 61 days total – 30 days before the sale, the day of the sale, and 30 days after the sale. If you violate this rule, your loss is disallowed for tax purposes (though it gets added to the cost basis of the new purchase).
What Counts as "Substantially Identical"?
- Definitely identical: The exact same stock, bond, or mutual fund
- Probably identical: Call options on the same stock you sold
- Generally not identical: Different companies in the same sector, different mutual funds with similar holdings, or ETFs that track different indexes
This is where strategy comes in. Instead of buying back the exact same investment, you might purchase something similar but not identical. For example, if you sell shares in a large-cap growth mutual fund, you might buy shares in a different large-cap growth fund from another company.
When Tax-Loss Harvesting Makes Sense
Tax-loss harvesting isn't always the right move. Here are situations where it typically makes the most sense:
You Have Capital Gains to Offset
The strategy works best when you have gains to offset. If you don't have any gains, you're limited to that $3,000 annual deduction against ordinary income.
You're in a Higher Tax Bracket
The higher your tax bracket, the more valuable those tax savings become. Someone in the 32% tax bracket saves more from a $3,000 ordinary income deduction than someone in the 12% bracket.
You Have a Taxable Investment Account
Tax-loss harvesting only works in taxable brokerage accounts. You can't harvest losses in tax-advantaged accounts like 401(k)s or IRAs because these accounts don't generate taxable gains or deductible losses.
The Investment No Longer Fits Your Strategy
Tax-loss harvesting works best when you were already considering selling an investment. Don't sell a great long-term investment just for a small tax benefit.
Common Mistakes to Avoid
Even experienced investors sometimes make these tax-loss harvesting mistakes:
- Violating the wash sale rule: Always wait at least 31 days before repurchasing the same security
- Ignoring transaction costs: Make sure your tax savings exceed any brokerage fees
- Forgetting about state taxes: Don't forget to factor in state capital gains taxes in your calculations
- Poor record keeping: Keep detailed records of all transactions for tax reporting
- Letting the tail wag the dog: Never let tax considerations override good investment decisions
Tax-Loss Harvesting in Different Account Types
It's important to understand that tax-loss harvesting only works in certain types of accounts:
Where It Works:
- Regular taxable brokerage accounts
- Individual investment accounts
- Joint investment accounts
- Trust accounts (in most cases)
Where It Doesn't Work:
- 401(k) accounts
- Traditional IRAs
- Roth IRAs
- 403(b) accounts
- Any other tax-advantaged retirement account
The reason is simple: tax-advantaged accounts don't generate taxable events when you buy and sell investments, so there are no capital gains to offset and no tax losses to claim.
Should You Do This Yourself or Get Help?
Tax-loss harvesting can get complex, especially when you factor in the wash sale rule, multiple account types, and state tax implications. Many people benefit from professional help, particularly if they have:
- Large investment portfolios
- Multiple brokerage accounts
- Complex tax situations
- Concerns about making mistakes
If you're thinking about getting professional help, you might want to find an accountant who specializes in investment taxation or work with a fee-only financial advisor.
For simpler situations, many major brokerages now offer automated tax-loss harvesting services, though these typically work best with ETF portfolios rather than individual stocks.
Frequently Asked Questions
Q: Can I harvest tax losses from my 401(k) or IRA?
A: No, tax-loss harvesting only works in taxable investment accounts. Retirement accounts like 401(k)s and IRAs don't generate taxable capital gains or tax-deductible capital losses.
Q: What happens if I accidentally violate the wash sale rule?
A: Your loss deduction will be disallowed for that tax year, but the loss isn't permanently lost. It gets added to the cost basis of the replacement security, so you'll benefit from it when you eventually sell that investment.
Q: Is there a limit to how much in losses I can harvest?
A: There's no limit to how much in losses you can use to offset gains. However, if you have excess losses beyond your gains, you can only deduct $3,000 per year against ordinary income. Unused losses carry forward indefinitely.
Q: Should I harvest losses every year?
A: Not necessarily. Only harvest losses when it makes financial sense – when you have gains to offset or when you genuinely want to exit an investment. Never let tax considerations override good investment strategy.
Q: Can I buy a similar (but not identical) investment immediately after selling for a loss?
A: Yes, as long as it's not "substantially identical" to what you sold. For example, you could sell one S&P 500 index fund and immediately buy a different S&P 500 index fund from another company, though this strategy has some risks and complexities.
Your Next Steps
Tax-loss harvesting can be a valuable tool for reducing your investment taxes, but it's not right for every situation or every investor. Start by reviewing your current investment portfolio to identify any positions showing losses, then calculate whether the potential tax savings justify the strategy.
Remember that good investing comes first – never sell a great long-term investment just for a small tax benefit. And if your situation is complex, don't hesitate to get professional help. The tax savings from proper tax-loss harvesting can often more than pay for the cost of professional advice.
Most importantly, keep good records of all your investment transactions. Whether you do your own taxes or work with a professional, having detailed records will make tax time much smoother and ensure you don't miss any opportunities to optimize your tax situation.
Get the Investment Tax Cheat Sheet
Delivered straight to your inbox. Takes 30 seconds.
Related Articles
1031 Exchange Explained: How Real Estate Investors Defer Capital Gains Tax
A 1031 exchange lets real estate investors sell a property and defer all capital gains tax by reinvesting in a like-kind replacement propert...
Continue readingReal Estate Tax Strategies Every Investor Should Know
Real estate offers some of the most powerful tax benefits in the entire tax code. From depreciation and 1031 exchanges to cost segregation a...
Continue readingSelling Your Home: Capital Gains Exclusion and Tax Rules
When you sell your primary residence, you may exclude up to $250,000 ($500,000 for married couples) in capital gains from taxes. Here's how...
Continue readingGet weekly tax tips
Join thousands of taxpayers getting practical advice delivered every week.