Stock Market University · Research, Taxes & Investor Operations

How to Avoid Accidental Wash Sales
Understand the idea. See the connections.

Use a practical review process for replacement trades, automation, account overlap and year-end loss sales.

3 min readINTERMEDIATEAll lessons

The idea to understand

Build a pre-trade control for recurring investments, dividend reinvestment, options and multiple accounts.

The explanation

The essentials, explained.

Follow the idea, then work through an example. Pause at the self-check whenever you are ready.

  1. Map the entire window first

    Before realizing a loss, mark the dates 30 calendar days before and after the planned sale. Review completed and scheduled acquisitions throughout that period.

  2. Pause hidden replacement activity

    Check dividend reinvestment, recurring investments, employee plans, robo-advisor activity and automatic portfolio rebalancing. Small automatic purchases can create partial wash sales.

  3. Review every relevant account

    Include taxable accounts at every broker, a spouse’s activity and retirement accounts. Do not rely on one broker to identify transactions it cannot see.

  4. Keep the investment plan separate from the tax shortcut

    Avoid replacing an investment merely to chase a deduction without considering exposure, costs and risk. If a substitute is used, document why it is not substantially identical and confirm the treatment with a qualified tax professional when material.

A worked example

See the idea in context.

Before realizing a loss, an investor pauses automatic purchases and dividend reinvestment for potentially affected securities, reviews every relevant account and records the full 61-day window on a calendar.

Optional context & practice

Why this matters

Automatic reinvestment or recurring acquisition can create an unintended replacement even when no new manual order was placed.

Useful vocabulary

Dividend reinvestment: Using a cash distribution to acquire additional holdings under a plan or account instruction. Replacement shares: Shares acquired that are evaluated as potential replacements in a wash-sale analysis, subject to timing and substantially-identical requirements. Wash sale: A U.S. tax rule that can disallow a current loss when substantially identical stock or securities are acquired within the specified window.

Avoid turning a timing checklist into a deduction guarantee

Review already completed acquisitions as well as future automation before executing a loss sale. Record all potential replacement activity and security-identity questions. Waiting until day +31 addresses one side of one sale; it does not undo pre-sale purchases, guarantee the tax treatment of a substitute or resolve related-party rules. Costs and changes in economic exposure remain part of the investment decision.

Try it with a hypothetical example

Review recurring contributions, reinvestments, option exercises and other scheduled activity across the complete calendar window before a hypothetical loss sale.

A question to think through

An investor disables reinvestment after a sale but purchased replacement shares ten days earlier. Has disabling future activity settled the issue?

Compare your reasoning

No. The earlier purchase is within the timing window. Lot matching and the other facts still require review.

A moment to reflect · optional

What recurring activity is easy to overlook?

Think through your answer, then compare it with the explanation.

Reveal the explanation

Dividend reinvestment or scheduled purchases that automatically acquire replacement shares.

Saving is optional and stays in this browser. This does not complete a learning journey or assess investing ability.

Sources & editorial notes

Reviewed 2026-10-13 · My Market Book editorial team. Examples are hypothetical unless identified as historical. General education, not a personal investment recommendation. Next scheduled review: 2026-11-12, or earlier after a material change. Rule and product sensitive.

MY MARKET BOOK / FREE CHAPTER

A clearer picture starts here.