Disclosure: PortfolioPilot is a technology product of Global Predictions Inc, a Registered Investment Advisor. You must subscribe to receive personalized investment advice.
Taxes

How to Choose the Right Replacement Securities for Tax-Loss Harvesting

By
Alexander Harmsen
Alexander Harmsen is the Co-founder and CEO of PortfolioPilot. With a track record of building AI-driven products that have scaled globally, he brings deep expertise in finance, technology, and strategy to create content that is both data-driven and actionable.
Reviewed by
PortfolioPilot Compliance Team
The PortfolioPilot Compliance Team reviews all content for factual accuracy and adherence to SEC marketing rules, ensuring every piece meets the highest standards of transparency and compliance.
How to Choose the Right Replacement Securities for Tax-Loss Harvesting

This is a critical part of smart tax-loss harvesting. You’ve sold an underperforming investment and “booked” a tax loss. Smart move—but what’s next? Picking the right replacement security isn’t just about staying compliant with the Wash Sale Rule. It’s where strategy meets opportunity. With the right choices, you can rebalance, diversify, and set your portfolio on a stronger path.

Let’s break it down, step by step.

PortfolioPilot guide on selecting replacement securities, focusing on avoiding wash sale rule violations, identifying similar securities, aligning with portfolio goals, exploring alternatives, and using technology for seamless trade management.

What Are Replacement Securities?

Replacement securities are what you might buy after selling an investment to harvest a tax loss. But here’s the thing—it doesn’t have to be just about replacing what’s gone. This is your chance to upgrade, refine, and build a stronger portfolio.

Think of it like this: Every replacement you choose is a step toward aligning your portfolio with where you want to be.

Step 1: Know the Wash Sale Rule (And Avoid It)

If you buy a “substantially identical” security within 30 days of selling at a loss, the IRS won’t allow you to claim that loss as a tax credit.

Hypothetical Violation:
You sell an S&P 500 index fund and buy another fund tracking the same index within 30 days. The IRS generally considers these identical securities, and your tax loss would likely be disallowed.

How to Avoid This:
Choose securities with different holdings, benchmarks, or strategies. (even a small difference is usually fine)

Pro Tip: Tools like PortfolioPilot.com take the guesswork out of finding good replacements, even going as far as scoring similarity between securities.

Step 2: Match Replacements with Your Goals

Avoiding the wash sale rule is important, but it’s not the whole story. The right replacements should push your portfolio closer to your long-term goals.

  • For Growth: Sold a tech stock? You could replace it with a broader innovation fund to keep growing while spreading out risk.
  • For Income: Replacing a dividend stock? You could look at an alternative stock with similar expected dividend yield in a different industry that better diversifies your portfolio.

Our advice: Think about where you want to go, not just where you’ve been. Every replacement should feel like a step forward.

Step 3: Find a Similar, Not Substantially Identical, Security

When selecting a replacement security, the goal is to maintain exposure to the areas you value while avoiding the IRS Wash Sale Rule. Here's a few things to look for when finding a replacement security:

  • Correlation: Look for securities with a similar performance trajectory but slightly different underlying factors.
  • Sector or Geographic Exposure: Consider securities in the same sector or region but with a slightly different set of holdings or focus.
  • Benchmarks and Indexes: Choose alternatives that track a different, but similar index than the one you sold.
  • Asset Class or Security Type: Stay in the same asset class (e.g., stocks, ETFs) but diversify by choosing securities with distinct strategies or compositions.
  • Beta and Volatility: Evaluate how the potential replacement aligns with your desired risk level and market responsiveness.

Step 4: Look Beyond Stocks

Who says replacements have to be stocks? Consider exploring bonds, REITs, or commodities to add variety and resilience to your portfolio.

Hypothetical Scenario:
You sell a high-growth tech stock at a loss. Instead of reinvesting in equities, you choose a commodities index fund to keep your high-risk, high-reward portfolio, but increase your overall downside protection.

Here’s why this matters: Different asset classes can act as shock absorbers during market swings, giving your portfolio more overall stability.

Why Replacement Securities Matter

Here’s the bottom line: replacement securities aren’t just a box to check for compliance—they’re a tool to build a better portfolio.

With the right strategy, you can turn tax-loss harvesting into a powerful way to drive long-term growth and resilience.

Replacement Securities in Tax-Loss Harvesting — FAQs

What counts as a replacement security in tax-loss harvesting?
A replacement security is what investors buy after selling a position at a loss. The choice avoids violating the wash sale rule and can be used to rebalance or diversify. Examples include alternative stocks, ETFs, bonds, REITs, or commodities with distinct holdings or benchmarks.
How does the wash sale rule affect replacement choices?
If an investor sells a security at a loss and repurchases the same or a “substantially identical” one within 30 days, the IRS disallows the deduction. Replacement securities must differ in holdings, benchmarks, or strategies to preserve the tax benefit.
Why might two S&P 500 index funds violate wash sale rules?
Selling one S&P 500 index fund and buying another within 30 days can be deemed “substantially identical” since both track the same index. This typically results in the IRS disqualifying the tax loss, even if the funds are from different providers.
How can correlation guide replacement security selection?
Investors often choose replacements with a similar performance trajectory but different underlying factors. Correlated alternatives allow continued exposure to desired sectors or markets without triggering wash sale restrictions.
What role do benchmarks play when picking replacements?
Choosing a fund that tracks a different benchmark helps avoid “substantially identical” status. For example, shifting from an S&P 500 fund to a total market index fund can maintain large-cap exposure while complying with IRS rules.
How can sector exposure guide replacement securities?
Replacements often target the same sector or region but use different holdings. For example, rotating from a single tech stock into a broader innovation ETF maintains exposure while reducing concentration risk.
How do beta and volatility factor into replacement decisions?
Beta and volatility indicate how a replacement reacts to market swings. Investors use these measures to match replacement securities with their desired risk level, balancing compliance with portfolio performance objectives.
Why might an investor replace a dividend stock with another in a different industry?
To maintain income goals while diversifying, an investor could swap a dividend-paying stock for one in another sector with a similar yield. This avoids over-concentration while continuing to support portfolio cash flow.
Can replacement securities come from other asset classes?
Yes. Replacement securities are not limited to equities. Bonds, REITs, or commodities can be used to diversify portfolios, add income stability, or offset equity volatility while maintaining investment exposure.
How could commodities serve as replacements in tax-loss harvesting?
After selling a high-growth stock at a loss, an investor might buy a commodities index fund. This introduces downside protection from non-equity assets, balancing high-risk positions with diversification against market swings.

© 2025 PortfolioPilot.com, Your Personal AI Financial Advisor

How optimized is your portfolio?

PortfolioPilot is used by over 30,000 individuals in the US & Canada to analyze their portfolios of over $30 billion1. Discover your portfolio score now:

Sign up for free
1: As of February 20, 2025