Tax-Loss Harvesting: Turn Investment Losses Into Tax Savings
Investment losses never feel good, but they do not have to be entirely negative. Through a strategy called tax-loss harvesting, you can use those losses to offset gains elsewhere in your portfolio and reduce your overall tax bill. When executed properly, this approach lets you maintain your investment strategy and market exposure while capturing real tax savings.
How Capital Gains Taxes Work
When you sell an investment for more than you paid, the profit is a capital gain. How it is taxed depends on your holding period:
- Short-term capital gains (investments held one year or less) are taxed at your ordinary income rate, up to 37 percent.
- Long-term capital gains (investments held more than one year) are taxed at preferential rates of 0, 15, or 20 percent depending on income.
Because short-term gains face higher rates, the tax savings from offsetting them are greater. Tax-loss harvesting can offset both types.
What Is Tax-Loss Harvesting?
Tax-loss harvesting means selling investments currently at a loss to realize that loss for tax purposes. The realized loss offsets capital gains from other investments sold during the same tax year.
For example, if you sold Stock A for a $10,000 gain and Stock B is sitting at a $7,000 loss, selling Stock B reduces your net taxable gain to $3,000. The key insight is that after selling, you can reinvest in a similar (but not substantially identical) investment to maintain market exposure. Your portfolio stays on track, but your tax bill goes down.
The Wash-Sale Rule
The IRS created the wash-sale rule to prevent investors from selling for the tax loss and immediately buying the same investment back. If you sell a security at a loss and purchase a substantially identical security within 30 days before or after the sale, you cannot claim the loss. The 30-day window applies in both directions, creating a 61-day restricted period.
What counts as substantially identical? The IRS has not provided an exhaustive definition, but these guidelines are widely accepted:
- Selling one S&P 500 index fund and buying another that tracks the same index is likely a wash sale.
- Selling an S&P 500 fund and buying a total U.S. stock market fund is generally considered different enough.
- Selling individual stock and buying an option on the same company triggers the rule.
If you trigger a wash sale, the disallowed loss is added to the cost basis of the replacement security, so you benefit from it when you eventually sell later.
Step-by-Step Tax-Loss Harvesting Process
Step 1: Identify Losing Positions
Review your taxable accounts (not IRAs or 401(k)s, where tax-loss harvesting does not apply). Look for positions below your purchase price.
Step 2: Consider Your Gains
Identify capital gains realized during the current tax year to determine how much loss to harvest.
Step 3: Sell the Losing Position
Execute the sale to lock in the loss for tax purposes.
Step 4: Reinvest in a Similar but Not Identical Asset
Immediately reinvest in a similar investment to maintain your allocation. If you sold a U.S. large-cap index fund, you might buy a total stock market fund instead.
Step 5: Wait 31 Days for the Original
If you want the exact same fund back, wait at least 31 days before repurchasing to avoid the wash-sale rule. The replacement fund keeps you invested during the waiting period.
Step 6: Record Everything
Keep detailed records of every sale, including dates, proceeds, cost basis, and replacement investments. Report accurately on Schedule D and Form 8949.
How Much Can You Save?
If your total capital losses exceed gains, you can use up to $3,000 of the excess ($1,500 if married filing separately) to offset ordinary income. Remaining losses carry forward to future tax years indefinitely.
In the 24 percent bracket, harvesting $10,000 in losses to offset short-term gains saves $2,400. Against long-term gains taxed at 15 percent, the same losses save $1,500. Over years of consistent harvesting, these savings compound significantly.
When Tax-Loss Harvesting Makes Sense
This strategy is most beneficial when:
- You have significant realized capital gains to offset.
- You are in a high tax bracket, making each dollar of deduction more valuable.
- You have a large taxable portfolio with more opportunities for individual holdings to be at a loss.
- Markets are volatile or declining, creating widespread harvesting opportunities.
It has less value if you are in a low bracket, have gains taxed at 0 percent, or invest primarily through tax-advantaged accounts.
Automated Tax-Loss Harvesting
Several robo-advisors — including Wealthfront and Betterment — offer tax-loss harvesting as a built-in feature, continuously monitoring your portfolio for opportunities and executing trades automatically while managing the wash-sale rule. The tax savings often offset or exceed the advisory fees, making these services cost-effective for taxable accounts of $50,000 or more.
Limitations and Risks
- It defers taxes, not eliminates them. Reinvesting at a lower cost basis means a larger taxable gain when you eventually sell.
- It only works in taxable accounts. Tax-advantaged accounts already shelter gains.
- The wash-sale rule requires attention. Be careful with holdings across multiple accounts and automatic dividend reinvestment.
- It adds tax return complexity. Every transaction must be reported accurately on Schedule D and Form 8949.
A Valuable Tool in Your Tax Strategy
Tax-loss harvesting is one of the most effective tax management strategies for investors with taxable accounts. By systematically capturing losses, offsetting gains, and maintaining your target allocation, you can reduce your tax bill year after year while staying fully invested. Make it a regular part of your portfolio review, and the savings will accumulate into a meaningful boost to your long-term wealth.
Get Smarter About Money
Join thousands of readers who get our weekly newsletter with practical tips to improve your finances.
No spam. Unsubscribe anytime.