Does a DRIP Trigger the Wash Sale Rule?

Updated July 9, 2026 5 min read

Selling a losing stock to capture a tax loss seems straightforward, until an unrelated automatic purchase quietly complicates the picture. A dividend reinvestment plan can do exactly that.

The short answer

Yes — a dividend reinvestment purchase can trigger the wash sale rule if it happens within 30 days before or after selling shares of the same stock at a loss. Because DRIP purchases happen automatically on a schedule tied to dividend payment dates, an investor can end up repurchasing a small number of shares without actively deciding to, which is enough to count as a replacement purchase under the rule.

How the wash sale rule generally works

The wash sale rule generally disallows claiming a tax loss on a security if a substantially identical security is purchased within 30 days before or after the sale that produced the loss. The rule exists to prevent someone from selling purely to harvest a paper loss while effectively maintaining the same position throughout. It applies across an investor’s accounts, not just within a single one, and reinvestment purchases are not automatically exempt.

Why a DRIP is an easy way to trigger it by accident

Someone actively harvesting a loss usually remembers not to manually rebuy the same stock right away. A DRIP purchase, by contrast, happens in the background and isn’t something most people think to check before selling. If a dividend from that same stock happens to land — and get automatically reinvested — within the 30-day window around a loss sale, even a small reinvestment purchase can be enough to trigger the rule and disallow some or all of the intended loss. This is easy to overlook precisely because the reinvestment purchase might be worth only a few dollars, far smaller than the position being sold, yet the rule doesn’t generally carve out an exception for a small replacement purchase.

What generally happens if it’s triggered

When a wash sale is triggered, the disallowed loss doesn’t simply disappear — it’s generally added to the cost basis of the newly purchased replacement shares, deferring the tax benefit rather than eliminating it outright. Understanding exactly how this adjustment works, and how it interacts with the rest of a tax-loss harvesting strategy, can get detailed, and the specifics can depend on individual circumstances and the accounts involved.

Reducing the risk of an accidental trigger

What to weigh

A dividend reinvestment plan is a convenience feature, but it doesn’t pause itself around other tax decisions being made elsewhere in a portfolio. Anyone planning a loss sale close to a scheduled dividend has a reason to check the reinvestment settings first, since rules in this area are detailed and outcomes can depend heavily on the specific timing involved.