investing 9 min read

Tax Loss Harvesting Explained: Simple Guide for 2026 Investors

By PennyNex Team
Investment chart

Disclaimer

This article is for informational purposes only and does not constitute financial advice. Always consult a qualified financial advisor before making financial decisions. Read our full disclaimer.

Nobody enjoys paying taxes, but here’s a secret that savvy investors have been using for decades: you can actually use your investment losses to reduce your tax bill. It’s called tax loss harvesting, and while it might sound complicated, the basic concept is surprisingly straightforward.

Think of it this way – when you lose money on an investment, the IRS essentially gives you a small consolation prize. You can use those losses to offset gains from other investments, potentially saving hundreds or even thousands of dollars in taxes each year. The key is knowing how to do it properly and within the rules.

What Is Tax Loss Harvesting?

Tax loss harvesting is the practice of strategically selling investments that have declined in value to realize capital losses. These losses can then be used to offset capital gains from profitable investments, reducing your overall tax liability.

Here’s the basic math: Let’s say you made $5,000 in capital gains from selling some Apple stock this year. Normally, you’d owe taxes on that entire $5,000 gain. But if you also have some Tesla stock that’s down $3,000, you could sell it to “harvest” that loss. Now you’d only owe taxes on $2,000 in net gains ($5,000 - $3,000 = $2,000).

The Three Ways Losses Help Your Taxes

Tax losses can benefit you in three distinct ways:

  1. Offset capital gains: Losses directly reduce your taxable capital gains dollar-for-dollar
  2. Reduce ordinary income: If you have more losses than gains, you can deduct up to $3,000 per year against your regular income (like salary or freelance earnings)
  3. Carry forward: Any remaining losses above $3,000 can be carried forward to future tax years indefinitely

How Tax Loss Harvesting Works in Practice

The process itself is relatively simple, but timing and strategy matter enormously. You’re essentially selling investments at a loss during the tax year (January 1 to December 31) to generate deductions.

Real-World Example

Meet Sarah, a marketing manager who’s been building her investment portfolio for five years. In 2025, she had a great year with her tech stocks, gaining $8,000 from selling Microsoft shares. However, her energy sector investments didn’t perform as well.

Here’s how her tax loss harvesting strategy played out:

  • Capital gains from Microsoft: +$8,000
  • Loss from selling ExxonMobil stock: -$4,500
  • Loss from selling a renewable energy ETF: -$2,000
  • Net capital gains: $8,000 - $4,500 - $2,000 = $1,500

Instead of paying taxes on $8,000 in gains, Sarah only owes taxes on $1,500. At a 22% tax bracket, she saved approximately $1,430 in federal taxes ($6,500 × 22% = $1,430).

The Wash Sale Rule: Your Biggest Pitfall to Avoid

Here’s where many beginners trip up: the wash sale rule. This IRS regulation prevents you from claiming a tax loss if you buy the same or “substantially identical” security within 30 days before or after selling it.

Understanding the 30-Day Window

The wash sale rule creates a 61-day danger zone around your sale:

  • 30 days before the sale
  • The day of the sale
  • 30 days after the sale

If you purchase the same investment during any part of this 61-day period, the IRS disallows your loss deduction.

Smart Workarounds for the Wash Sale Rule

Experienced investors use several strategies to maintain market exposure while avoiding wash sales:

1. Buy Similar but Not Identical Investments Instead of selling and rebuying the S&P 500 ETF (SPY), you could sell SPY and immediately buy a different S&P 500 ETF like VOO or IVV. These track the same index but are different enough to avoid the wash sale rule.

2. The “Double Up” Strategy Buy an additional position in the declining stock, wait 31 days, then sell the original shares. This maintains your market exposure while harvesting the loss.

3. Immediate Substitution Sell individual stocks and immediately buy a sector ETF, or vice versa. For example, sell your Apple shares at a loss and buy a technology sector ETF.

Step-by-Step Tax Loss Harvesting Process

Ready to implement tax loss harvesting in your own portfolio? Follow these seven steps:

1. Review Your Portfolio for Losses

Log into your brokerage account and identify investments currently trading below your purchase price. Most platforms show this information clearly with green (gains) and red (losses) indicators.

2. Calculate Your Tax Situation

Determine if you have capital gains this year that losses could offset. Also consider your marginal tax rate – higher earners benefit more from tax loss harvesting.

3. Prioritize Which Losses to Harvest

Focus on harvesting losses from:

  • Investments you wanted to sell anyway
  • Positions that have fundamentally changed (company outlook deteriorated)
  • Overweighted positions you need to rebalance

4. Plan Your Replacement Strategy

Before selling, decide how you’ll maintain market exposure. Research similar but not identical investments you can purchase immediately.

5. Execute the Trades

Sell the losing positions and immediately buy your replacement investments. Don’t wait – market timing rarely works in your favor.

6. Set Calendar Reminders

Mark your calendar for 31 days after each sale. This reminds you when it’s safe to repurchase the original investment if desired.

7. Keep Detailed Records

Track all transactions, including dates, amounts, and the reasoning behind each trade. This documentation proves invaluable during tax season.

When Tax Loss Harvesting Makes the Most Sense

Tax loss harvesting isn’t beneficial for everyone in every situation. Here’s when it typically provides the greatest value:

High-Income Earners

Investors in higher tax brackets (24%, 32%, 35%, or 37%) save more money per dollar of harvested loss. Someone in the 37% bracket saves $370 per $1,000 in harvested losses, while someone in the 12% bracket saves only $120.

Taxable Accounts Only

You can only harvest losses in regular taxable investment accounts. Retirement accounts (401k, IRA, Roth IRA) don’t generate taxable events when you buy and sell, so tax loss harvesting doesn’t apply.

Active Investors

Investors who regularly rebalance their portfolios or make tactical adjustments can more easily incorporate loss harvesting into their existing trading activity.

Tax Loss Harvesting Strategies by Investment Type

Different types of investments require slightly different approaches to effective tax loss harvesting.

Individual Stocks

Stocks offer the most flexibility for tax loss harvesting. You can easily sell one technology stock and buy another, or replace individual companies with sector ETFs.

Example Strategy: Sell your losing Netflix position and immediately buy the Communication Services Select Sector SPDR ETF (XLC), which includes Netflix along with other media companies.

Exchange-Traded Funds (ETFs)

ETFs require more careful planning due to potential wash sale violations. Many ETFs track similar or identical indexes.

Safe Swaps for Popular ETFs:

  • SPY ↔ VOO or IVV (all track S&P 500)
  • VTI ↔ ITOT (total stock market)
  • QQQ ↔ MTUM (technology/growth exposure)

Mutual Funds

Mutual funds present the biggest challenge because many fund companies offer nearly identical products. Focus on switching between different fund families or investment styles.

Common Mistakes to Avoid

Even experienced investors sometimes stumble with tax loss harvesting. Here are the most frequent pitfalls:

Mistake #1: Ignoring Transaction Costs

Don’t harvest small losses if trading fees will eat up your tax savings. A $50 loss that costs $20 in transaction fees only nets you $30 in tax benefits.

Mistake #2: Harvesting Losses in Retirement Accounts

Remember: retirement account transactions don’t create taxable events. Only harvest losses in taxable accounts.

Mistake #3: Letting Taxes Drive All Investment Decisions

Tax considerations should influence but not dominate your investment strategy. Don’t keep terrible investments just to harvest losses later.

Mistake #4: Forgetting About State Taxes

Don’t forget to factor in state capital gains taxes when calculating your potential savings. States like California (13.3%) and New York (8.82%) have significant state capital gains taxes.

Advanced Tax Loss Harvesting Techniques

Once you’ve mastered the basics, consider these more sophisticated strategies:

Direct Indexing

Wealthy investors ($250,000+ portfolios) can buy individual stocks that make up an index rather than buying an index fund. This creates hundreds of opportunities for loss harvesting while maintaining market exposure.

Asset Location Optimization

Place tax-inefficient investments in retirement accounts and hold tax-efficient investments in taxable accounts where you can harvest losses.

Systematic Loss Harvesting

Set up automatic triggers with your broker to harvest losses when investments decline by predetermined percentages (such as 10% or 20%).

Frequently Asked Questions

Can I harvest losses and immediately buy the same investment in my IRA?

Technically yes, the wash sale rule only applies between accounts of the same type or between you and your spouse. However, some tax experts recommend avoiding this practice as the IRS could potentially challenge it. The safer approach is to buy a similar but different investment in any account.

What happens to harvested losses if I don’t use them all this year?

Unused capital losses carry forward indefinitely to future tax years. You can continue using $3,000 per year against ordinary income, plus any amount against future capital gains. If you harvest $10,000 in losses but only have $2,000 in gains this year, you’ll have $8,000 in losses to use in future years.

Is tax loss harvesting worth it for small portfolios?

Generally, tax loss harvesting becomes most valuable for portfolios over $50,000. Smaller portfolios typically don’t generate enough losses to justify the complexity and transaction costs. However, if your broker offers commission-free trading, even smaller investors can benefit from occasional loss harvesting.

Tax loss harvesting represents one of the few legal ways to reduce your investment taxes while maintaining your market exposure. When executed properly, it can save you hundreds or thousands of dollars annually while keeping your investment strategy on track. Start simple, avoid the wash sale rule, and gradually incorporate more sophisticated techniques as your portfolio grows.

P

PennyNex Team

Helping you make smarter financial decisions with practical, actionable advice backed by research and real-world experience.

Related Articles