A dividend reinvestment plan (DRIP) buys additional shares with a dividend. That automatic purchase can matter when you sell the same or a substantially identical investment at a loss—even when you did not place a new order yourself.

Before you get started, we’d recommend reading through The wash-sale rule, demystified, Wash sales across spouse accounts, What counts as substantially identical?, The tax-loss harvesting tax rules, Dividends and wash sales.

Illustration of a calendar window, a circular purchase arrow, blue and gold tokens and a document stack.
Illustrative calendar: an automatic reinvestment can fall within the 30 days before or after a loss sale. Review the acquisition and matched shares, not intent.

An automatic purchase is still a purchase

Can a DRIP cause a wash sale?

Yes. A purchase of substantially identical shares within 30 days before or after a loss sale can disallow the loss on matched shares. Automatic reinvestment is not an exception to the wash-sale analysis.

The window includes the sale date and both sides of it. Review the actual acquisition date and number of shares, not just the dividend announcement or a DRIP setting. A small purchase can disallow part of a larger loss; it does not necessarily disallow the whole sale.

STEP 1: LOSS HARVEST Sell XYZ stock at a loss §1091 window opens: 30 days before + 30 after DRIP still enrolled STEP 2: DIVIDEND PAID Quarterly dividend on XYZ DRIP auto-buys new shares inside the 30-day post-sale window — same security STEP 3: §1091 APPLIES Wash sale triggered Matched loss disallowed Intent is irrelevant — automatic counts
A broker reinvestment may create a wash sale on matched shares. A smaller replacement purchase can disallow part—not necessarily all—of a larger loss.

What happens to the matched loss?

Is a DRIP wash-sale loss gone forever?

In the ordinary taxable-account case, the disallowed loss is generally added to the replacement shares’ basis and the holding period carries over. If the replacement is acquired in your own IRA or Roth IRA, Revenue Ruling 2008-5 disallows the loss without increasing IRA basis.

These are different outcomes. Do not describe the IRA result as merely waiting for a later deduction. Harvesting often defers tax rather than eliminating it, and an IRA wash sale can eliminate the matched deduction.

Taxable Account Basis-carryover mechanism applies WHAT HAPPENS Disallowed loss adds to the new DRIP lot's cost basis HOLDING PERIOD Sold lot's holding period tacks onto the new replacement lot WHEN IT RESURFACES Smaller gain or larger loss when the new lot is eventually sold DEFERRED, NOT LOST Your IRA / Roth IRA No basis-carryover mechanism WHAT HAPPENS Disallowed loss does not raise your IRA or Roth IRA basis GOVERNING GUIDANCE Rev. Rul. 2008-5 addresses your own IRA / Roth purchase PRACTICAL OUTCOME Disallowed amount may be permanently unavailable MAY BE PERMANENTLY LOST
An ordinary taxable-account wash sale generally adjusts replacement-share basis. A replacement in your own IRA or Roth IRA does not receive that basis increase under Revenue Ruling 2008-5.

Look beyond the selling account

Do spouse and IRA purchases matter?

Yes. IRS Publication 550 expressly includes a spouse’s purchase in the wash-sale discussion. Revenue Ruling 2008-5 addresses the separate case of the selling taxpayer’s own IRA or Roth IRA purchase; it is not a blanket ruling on every spouse or retirement account.

Review relevant accounts across brokers, including a spouse’s reinvestments. For a spouse’s IRA or other less directly addressed account arrangements, get qualified tax guidance rather than treating a software screening pool as a legal ruling.

YOUR TAXABLE ACCOUNT Where the loss is originally harvested An actual DRIP purchase can create same-account risk under the ordinary section 1091 same-taxpayer scope SAME-ACCOUNT SCOPE SPOUSE'S ACCOUNT Spouse purchases count per Publication 550 DRIP purchases of the same stock there can disallow the harvest even though the accounts are legally distinct CROSS-ACCOUNT SCOPE YOUR IRA / ROTH IRA No wash-loss basis increase inside a traditional or Roth IRA A DRIP purchase here can make the disallowed loss permanently unavailable rather than deferred PERMANENT-LOSS RISK
The sources address distinct cases: Publication 550 includes spouse purchases; Revenue Ruling 2008-5 addresses the selling taxpayer’s own IRA or Roth IRA. Other arrangements need qualified review.

Review before you sell

What should I check before a loss sale?

Review the preceding 30 days of acquisitions, dividend reinvestments and relevant household activity before selling. Then consider planned purchases during the following 30 days and whether a replacement is substantially identical.

Changing a DRIP setting now does not undo an earlier acquisition. Broker changes may not take effect immediately, and a replacement in a similar sector is not automatically safe. Confirm settings and transactions with the broker; do not rely on a calendar alone.

Illustration of a calendar with a highlighted week beside an off-position toggle and blue tokens.
Review completed purchases before the loss sale and planned purchases afterward. Changing reinvestment settings does not reverse a purchase already made or establish that a loss is deductible.

Software has a visibility limit

Does HarvestEngine™ control broker DRIP settings?

No. Broker-side dividend reinvestment occurs outside HarvestEngine’s proposal flow. Screening depends on available connected-account data and its freshness; unconnected accounts, missing activity and future purchases need a separate review.

A recorded purchase may be available after synchronization, but that is not a promise to predict every reinvestment or prevent every wash sale. Household coordination and a final review remain important.

LOSS SALE EXECUTES Review acquisitions within 30 days before and after the loss sale COOLDOWN WINDOW RECORDED HarvestEngine's wash engine logs recent loss-sale information for its wash-sale screening ENGINE-GENERATED PROPOSALS Available purchase records are reviewed alongside recent loss sales AVAILABLE DATA REVIEW BROKER-SIDE DRIP PURCHASE Executes on the dividend payment date, independent of HarvestEngine's proposal flow BROKER-CONTROLLED DRIP
The engine reviews available data; broker-side reinvestment happens outside its proposal flow. Connected records may help after synchronization, but unconnected activity and future purchases remain visibility limits.

Continue learning

Where can I learn the broader rule?

Read the wash-sale explanation and household coordination article alongside your broker’s reinvestment information. Keep acquisitions and loss sales in the same record set.

The diagrams illustrate review steps, not proof that a loss will be deductible. Account type, share matching and the substantially-identical analysis affect the outcome.

Sources and further reading

Where can I check these rules?

Use the applicable IRS guidance and your tax-return instructions.

Primary sources checked October 11, 2026: IRS Publication 550 (2025), capital losses and wash sales; IRS Topic 409; Revenue Ruling 2008-5 (own IRA/Roth IRA case). These sources address different rules, not one blanket household ruling.

Explore paper practice (invitation required) — join the paper waitlist