Nobody likes losing money in the market. But here’s a silver lining most investors overlook: when investments fall in value, the IRS lets you use those losses to offset your taxable gains — potentially slashing your tax bill significantly. This strategy is called tax-loss harvesting, and when used correctly, it’s one of the most effective tools in an investor’s toolkit.
- Tax-loss harvesting means selling investments at a loss to offset capital gains elsewhere, reducing what you owe the IRS.
- The wash sale rule prohibits you from buying the same (or “substantially identical”) security within 30 days before or after the sale — violating it disallows the deduction.
- High-income investors in the 22%+ tax bracket benefit most; it’s less impactful in lower brackets or tax-advantaged accounts.
- Robo-advisors like Betterment and Wealthfront automate tax-loss harvesting daily, capturing opportunities human investors typically miss.
Bottom line: Tax-loss harvesting won’t make bad investments good, but it can turn paper losses into real tax savings — effectively improving your after-tax returns without changing your market exposure.
What Is Tax-Loss Harvesting?
Tax-loss harvesting (TLH) is the practice of selling an investment that has declined in value to realize a capital loss, then using that loss to offset capital gains you’ve realized elsewhere in your portfolio. If your losses exceed your gains, you can deduct up to $3,000 of the net loss against ordinary income per year — and carry forward any remaining loss to future years.
The key insight is that you don’t have to permanently exit your investment position. You sell the losing asset, capture the tax loss, and reinvest in a similar (but not identical) asset to maintain your market exposure. Your portfolio stays roughly the same, but you’ve created a valuable tax deduction.
How Tax-Loss Harvesting Works: Step by Step
Step 1: Identify Losing Positions
Review your taxable brokerage accounts for positions currently below your cost basis (what you paid for them). Not all losses are created equal — short-term losses (held less than one year) are more valuable because they first offset short-term gains, which are taxed at higher ordinary income rates.
Step 2: Sell the Losing Position
Execute the sale to realize the loss. Make sure you’re tracking your cost basis correctly — your broker should do this automatically for shares purchased after 2011.
Step 3: Reinvest in a Similar Asset
To avoid the wash sale rule (more on this below), reinvest the proceeds in a similar but not substantially identical security. For example, if you sell one S&P 500 index fund, you might buy a different S&P 500 fund from a different provider, or a total market index fund.
Step 4: Wait 30 Days
After 30 days, you can switch back to your original holding if you prefer. At this point, the wash sale restriction has passed.
Step 5: Report on Your Taxes
Your broker will issue a 1099-B showing the realized loss. Report it on Schedule D of your federal return. The loss offsets gains dollar-for-dollar, and any excess (up to $3,000) reduces ordinary income.
The Wash Sale Rule: The Most Important Caveat
The IRS isn’t naive. If you could simply sell a stock, immediately rebuy it, and claim a tax loss, everyone would do it constantly. That’s why the wash sale rule exists.
Under IRS rules, you cannot claim a loss on a sale if you buy a “substantially identical” security within 30 days before or after the sale. That’s a 61-day window total. If you violate this rule, the loss is disallowed — it doesn’t disappear, it gets added to the cost basis of the repurchased shares, but you lose the immediate tax benefit.
What counts as “substantially identical”? The IRS hasn’t given a crystal-clear definition, but safe bets for replacement funds include:
- Selling Vanguard S&P 500 ETF (VOO) → buying iShares S&P 500 ETF (IVV): likely safe
- Selling a Fidelity S&P 500 fund → buying a Schwab S&P 500 fund: gray area
- Selling Apple stock → immediately rebuying Apple: wash sale violation
- Selling one bond ETF → buying a different bond ETF with different composition: generally safe
When in doubt, consult a tax professional. The safest approach is to replace funds that track different indices or have different holdings composition.
Who Benefits Most from Tax-Loss Harvesting?
TLH isn’t equally valuable for everyone. Here’s how to assess whether it makes sense for you:
High-Income Investors in Higher Tax Brackets
If you’re in the 32–37% marginal tax bracket, offsetting $10,000 in short-term gains could save you $3,200–$3,700. The higher your bracket, the more valuable each dollar of harvested losses becomes. For investors in the 0% capital gains bracket (income under ~$47,025 single in 2025), TLH provides little or no benefit.
Investors with Significant Taxable Brokerage Accounts
TLH only applies to taxable accounts. Gains inside a 401(k), IRA, or Roth IRA are not taxable in the current year, so there’s nothing to harvest against.
Investors with Large Capital Gains
If you’ve sold appreciated positions — a home, a business, concentrated stock — TLH can directly offset those gains and dramatically reduce your tax bill in that specific year.
Active Investors with Turnover
If your portfolio generates significant short-term gains through trading, TLH is especially useful since those gains are taxed at full ordinary income rates.
How Much Can TLH Actually Save You?
Let’s run a concrete example. Assume you’re in the 24% tax bracket and have realized $15,000 in short-term capital gains from selling appreciated positions.
Without TLH: Tax owed = $15,000 × 24% = $3,600
With TLH: You identify $15,000 in unrealized losses across two positions. You sell them, realizing $15,000 in losses. Net gain = $0. Tax owed = $0. Savings = $3,600.
You reinvest immediately in similar funds, maintaining your market exposure. From a portfolio perspective, little has changed. From a tax perspective, you just kept $3,600 that would have otherwise gone to the IRS — and that money continues compounding in your account.
Robo-Advisors and Automated Tax-Loss Harvesting
One of the most compelling arguments for using a robo-advisor is automated, continuous tax-loss harvesting. Human investors might review their portfolio quarterly or annually for TLH opportunities. Robo-advisors scan daily — sometimes multiple times per day — and execute harvests automatically.
Betterment
Betterment’s Tax Loss Harvesting+ feature is available on all taxable accounts. It monitors your portfolio daily and harvests losses whenever the tax benefit exceeds transaction costs. Betterment also coordinates with your other accounts (including spouse accounts) to avoid wash sales across the household.
Wealthfront
Wealthfront offers daily TLH on all taxable accounts. For accounts over $100,000, they offer “Direct Indexing” — holding individual stocks instead of a fund — which creates far more TLH opportunities by harvesting losses at the individual stock level within an index.
Schwab Intelligent Portfolios Premium
Available to Premium subscribers ($30/month after a one-time $300 planning fee), Schwab’s automated TLH runs continuously and provides after-tax performance reporting.
For investors with $50,000+ in a taxable account, the TLH savings from a robo-advisor can easily exceed advisory fees, making the cost effectively neutral or even positive.
Common Mistakes to Avoid
Harvesting in Tax-Advantaged Accounts
There’s no benefit to selling at a loss inside an IRA or 401(k) — you don’t pay taxes on gains in these accounts anyway, so there’s nothing to offset.
Ignoring Transaction Costs
At most brokers today, stock and ETF trades are commission-free. But if you’re trading mutual funds or paying commissions, make sure the tax savings exceed the cost of the trade.
Forgetting to Reinvest
The goal is to maintain market exposure while capturing the loss. Don’t harvest a loss and sit in cash — you risk missing a rebound that wipes out the tax benefit entirely.
Harvesting Short-Term Losses Against Long-Term Gains
Short-term losses first offset short-term gains. Long-term losses offset long-term gains. Mixing these reduces your optimization. This sequencing is why professional-grade TLH (and robo-advisors) is more effective than doing it manually.
Is Tax-Loss Harvesting Worth It for You?
If you have a taxable brokerage account and you’re in the 22% bracket or higher, the answer is almost certainly yes — especially during volatile market years when losses are plentiful. The IRS is essentially offering you a discount on your future returns. Taking it requires some attention to the wash sale rule and smart reinvestment, but the mechanics are manageable.
If you’re just starting out with a small taxable portfolio or you’re in a low tax bracket, the benefit may not justify the complexity. Focus first on maxing out tax-advantaged accounts (401k, Roth IRA) where the tax savings are largest and most automatic.
For hands-off investors with meaningful taxable assets, a robo-advisor that automates TLH might be the single highest-ROI financial decision you can make — not for the investment returns, but for the tax alpha it generates quietly in the background.
Want more investing insights?
Get weekly ETF picks, stock analysis, and market breakdowns.
Disclosure: This article may contain affiliate links. We may earn a commission if you click through and make a purchase, at no additional cost to you. All opinions are our own. See our Editorial Policy for details.
