What Should You Do If an Automatic Reinvestment Creates a Wash Sale?

Ross Marino |

You sold an investment at a loss to raise retirement spending money. The cash arrived, and you expected the loss to help offset gains elsewhere. Then a small transaction appears: a dividend automatically bought more shares of the investment you just sold.

That can be frustrating when you thought the decision was finished. Before placing another trade, establish how much of the loss is affected and where the new shares landed. A small reinvestment does not automatically wipe out the loss on every share sold.

Why can an automatic purchase change a completed sale?

Federal wash-sale rules look at purchases during the 30 days before the loss sale, the sale date itself, and the 30 days after it. Buying the same investment during that 61-day window can disallow a loss even when the purchase followed an old automatic instruction. [1]

Reinvested dividends buy shares, so they count in this review. Check actual acquisition dates and share quantities, including fractions, rather than relying on when you noticed the transaction. A December sale can overlap a January purchase; the calendar-year boundary does not end the window. [2]

How much of your loss is actually affected?

The calculation follows matched shares. If the replacement purchase covers fewer shares than you sold, only the loss attributable to the matched shares is disallowed under this rule. Different purchase lots can have different losses per share, so dividing the total loss by the total shares is not always appropriate. Your tax professional determines the matching. [1]

For a simple illustration, assume you sold 100 shares from one lot at a loss of $10 per share: a $1,000 loss. One reinvestment bought two replacement shares within the window, with no other relevant purchases. The matched loss is $20: two shares times $10. The remaining $980 is not disallowed by that wash sale. This arithmetic assumes identical per-share losses and no other loss limitation. [2]

Where the two shares were purchased now matters. In a taxable account, the disallowed amount generally increases the replacement shares’ tax basis, the amount used to calculate a later gain or loss. Their holding period also includes the period you held the original shares. That preserves the amount for a later disposition rather than making it currently deductible. [3]

For a replacement purchase in your own IRA or Roth IRA, the IRS ruling disallows the loss without increasing your basis in the IRA. That portion is permanently lost for tax purposes, rather than deferred through the taxable-account basis adjustment. [4]

The same $1,000 loss can leave different tax value

Purchase state

Current loss / preserved amount / next consequence

No matching purchase

$1,000 remains allowed under this rule.

No basis adjustment needed.

Plan with the full allowed loss.

Matched purchase in a taxable account

$980 remains allowed; $20 is disallowed.

$20 added to replacement basis.

Plan with $980 now; track $20 for a later disposition.

Matched purchase in your IRA

$980 remains allowed; $20 is disallowed.

$0 added to your IRA basis.

Plan with $980; the other $20 has no future tax benefit.

Illustration assumes only two matched shares, each with a $10 loss. Allowed losses still face normal capital-loss rules. Your IRA includes your own traditional or Roth IRA.

Dovetail Principle: Information Should Show What Changes for You

Information should help you see the size and meaning of the change. A wash-sale label alone cannot tell you whether your spending plan needs attention. The useful result separates the loss you can still use, the amount deferred, and any amount permanently unavailable.

What needs correcting before you consider another trade?

Have your tax professional reconcile the sale confirmation, reinvestment record, affected lots, and receiving account. Include relevant accounts beyond the one that made the sale. A broker’s tax form may not capture purchases across accounts. A spouse’s transactions also deserve review, but the owner-IRA ruling should not simply be extended to every spouse-account situation. [1][2]

Keep the verified matching and basis adjustments with your tax records. Basis information matters when the replacement shares are eventually sold; a number displayed today is not a substitute for preserving the adjustment and its explanation. [5]

Then revisit the tax benefit you expected. An allowed capital loss enters the capital-gain netting rules; excess losses face annual limits against other income and may carry forward. A $20 disallowed loss is therefore not automatically $20 of additional tax. Its effect depends on the rest of your return. [6]

If you were counting on the full loss to offset another sale, ask whether the revised amount changes your tax reserve or payment plan. The cash you've already spent has not vanished. What may change is how much of that cash you should keep available for taxes.

What should change in your future reinvestment routine?

Stopping future reinvestment does not reverse an earlier purchase. Selling the replacement shares is not a universal cure either, especially when the purchase occurred in your IRA. Evaluate any proposed trade separately for tax treatment and investment fit.

Where needed, adjust the automatic instruction for the affected investment and accounts, confirm its effective date, and set a review point before resuming purchases. Keep the change as narrow as the verified issue allows. You can correct the loss expectation and prevent another overlap while preserving the portfolio and spending routine that still serve you.

For the next decision, explore Should You Reinvest Dividends or Use Them for Retirement Spending? to align future dividends with your spending routine. The companion articles explain the loss’s broader tax role and how to fund revised tax payments.

About the author

Ross Marino, CFP®, CeFT®, is the Founder & CEO of Dovetail Financial and creator of Human-First Financial Guidance®. He helps people nearing or living in retirement connect their lives and wealth so that financial decisions become clearer, more personal, and easier to navigate.

Search another retirement question

Describe the question or enter a few topic words. You do not need to know the exact article title.

 

Notes

  1. Publication 550 (2025), Investment Income and Expenses. Internal Revenue Service. Wash sales, matching, basis, and reporting.
  2. Keeping Transactions Clean From the Wash-Sale Rules. American Association of Individual Investors, December 2014. Automatic purchases and partial matching; controlling rules checked against current IRS guidance.
  3. Getting Back to Basics: Securities Analysis and Section 475 Elections. New York State Society of CPAs, April 2024. Taxable-account wash-sale basis and holding-period discussion.
  4. Revenue Ruling 2008-5. Internal Revenue Service. Owner IRA and Roth IRA replacement purchases.
  5. Guide to Tax on Your Personal Investments 2024. American Association of Individual Investors. Basis and investment recordkeeping; historical guide used only for unchanged principles.
  6. Capital Gains Explained. FINRA, July 18, 2024. Capital-loss netting, annual limits, and carryforwards.

Disclosure

This content is provided by Dovetail Financial Group LLC (“Dovetail Financial”) for informational and educational purposes only. It is not intended as, and should not be construed as, individualized investment, tax, legal, or accounting advice; a recommendation to buy or sell any security; or a recommendation to adopt any investment strategy. Because each person’s situation is unique, readers should consult their own financial, tax, and legal professionals before taking action based on this content. Information contained herein is believed to be reliable, but its accuracy or completeness is not guaranteed. Any opinions expressed are current as of the date of publication and are subject to change without notice. All investing involves risk, including the possible loss of principal. Asset allocation and diversification do not guarantee profits or protect against losses in declining markets. Past performance is not a guarantee of future results. Dovetail Financial Group LLC is a registered investment adviser. Registration does not imply a certain level of skill or training. Additional information about Dovetail Financial Group LLC, including Form ADV Part 2A and Form CRS, is available at adviserinfo.sec.gov. © 2026 Dovetail Financial Group LLC. All rights reserved.