The silent tax trap for investors who sell at a loss.

“Selling at a loss can be a smart move. Buying back too soon can quietly undo the deduction.”
Selling an investment at a loss can be a smart tax move. But if you buy the same security, or one substantially identical, within 30 days before or after the sale, the IRS disallows the loss. The mistake is easy to make and easy to miss until tax time, which is why timing should be coordinated between your CPA and your investment advisor.
Selling an investment at a loss can be a smart, intentional tax move. Buying the same investment back too quickly can quietly undo the tax benefit, and many investors do not realize it has happened.
If you sell a security at a loss and then buy the same security, or one considered substantially identical, within 30 days before or after the sale, the IRS disallows the loss for tax purposes. This is the wash sale rule. It exists to stop people from selling only to capture a deduction while never changing their investment position.
Tax-loss harvesting, which means selling underperforming investments on purpose to offset gains elsewhere, is a legitimate and widely used strategy. The problem is timing. Many investors sell at a loss late in the year, then quickly repurchase the same position because they still believe in it long term. If that repurchase happens inside the 30-day window, the deduction they were trying to capture is disallowed.
The IRS does not send a warning when this happens. It tends to surface at filing time, as a smaller deduction than you expected, and it is easy to miss unless someone is looking for it.
This is a good example of why individual tax moves rarely happen in isolation. A wash sale mistake in a personal brokerage account can undercut planning done elsewhere. It is the kind of detail that gets missed when investment decisions and tax strategy are not coordinated by the same team.
There are legitimate ways to keep similar market exposure while respecting the wash sale window, such as investing in a similar but not substantially identical fund during the waiting period. This takes care, because what counts as substantially identical depends on the facts. Ideally, whoever manages your investments and whoever manages your tax strategy decide it together.
For high earners managing a taxable investment portfolio, this is not a rare edge case. It is a common and avoidable mistake, and it may come up more often when markets are volatile and more investors are harvesting losses.
If you already have a CPA and an investment advisor, the key question is simple: are they coordinating with each other on timing? If you are not confident the answer is yes, that is worth addressing directly. If you need an introduction to a tax professional who understands this closely, we work with professionals across all 50 states who do.
Before you repurchase anything you sold at a loss, count 30 days before and after the sale date, and check with your CPA or advisor first.
If you are not sure whether this has affected you, ask your CPA to review this year's sales at a loss alongside your purchase history. It is a short conversation that may prevent a surprise at filing time.
For a plain-language look at how a coordinated plan fits together, read our free wealth guide, The Millionaire Playbook. If you would like to talk it through, you can book a consultation.
Explore more practical financial education from Winning In Wealth and start making more intentional decisions about your financial future.