Does dividend reinvestment trigger a wash sale?

By Wash-Sale Guardian (who's behind it) · Published 2026-11-12 · Last updated 2026-11-12 · How the checker works

Get the year-end reminders by email ↓

It can, on this site's reading: a reinvested dividend buys shares, and this site treats a reinvestment in the stock or fund you sold at a loss, within 30 days before or after the sale and in any of your accounts, as a purchase that washes the loss on that many shares. That is usually a small part of the loss, a partial wash, and the washed part moves into the cost of the reinvested shares. IRS Publication 550's wash-sale section doesn't name reinvestment, and no IRS text we found does, so this rests on how Pub 550 describes a reinvestment, quoted below. This site treats a reinvestment as a purchase. If a large amount turns on it, ask a CPA or EA.

Why this site counts a reinvestment as a purchase

IRC §1091(a) disallows the loss when, within the window, "the taxpayer has acquired (by purchase or by an exchange on which the entire amount of gain or loss was recognized by law)" substantially identical stock or securities. Pub 550 describes a dividend reinvestment plan as one that "lets you choose to use your dividends to buy (through an agent) more shares of stock in the corporation instead of receiving the dividends in cash", and adds: "Most mutual funds also permit shareholders to automatically reinvest distributions in more shares in the fund, instead of receiving cash." On holding periods it says: "If your dividends and capital gain distributions are reinvested in new shares, the holding period of each new share begins the day after that share was purchased."

We found no IRS text that names reinvestment in the wash-sale rules. Read together, these sentences describe a reinvestment as buying shares, and this site treats one as a purchase, the same as an order you place yourself. If a large amount turns on it, ask a CPA or EA.

The partial wash, share for share

A reinvestment usually buys a few shares, often a fraction of one, so it washes only part of the loss. When fewer shares are bought than sold, Pub 550 says: "You do this by matching the shares bought with an equal number of the shares sold." Treas. Reg. §1.1091-1(c) gives the same rule. If every share you sold lost the same amount, the washed part is the loss per share times the reinvested shares. If they lost different amounts, which shares are matched is a question for a CPA or EA (how this site matches shares, in the wash-sale rule guide).

A worked example

Made-up trades in a made-up ticker, all in one taxable account:

  • Monday, March 2, 2026: you buy 100 shares of WILLOWMERE at $40, for $4,000.
  • Tuesday, December 1, 2026: a $45 dividend is reinvested in 1.5 shares at $30.
  • Monday, December 14, 2026: you sell the 100 shares bought in March at $30, for $3,000. That's a $1,000 loss, or $10 a share.

The window for a December 14 sale runs from November 14, 2026 through January 13, 2027, both days included, so the December 1 reinvestment is inside it. It washes the loss on 1.5 shares: $15 disallowed, $985 still deductible. On Form 8949 the sale would show code W and $15 in column (g), turning the $1,000 loss into a $985 loss. The 1.5 reinvested shares carry a basis of $45 + $15 = $60, and the $15 comes back when they are sold.

If the stock pays again before Thursday, January 14, 2027, the first clean date for this sale, and that dividend is reinvested, it washes the loss on that many more shares. With this account's trades imported, the checker gives the same $15, the $985, and the $60 basis on the year-end row once the 1.5 shares are sold.

Which shares a sale uses matters here. If you don't identify the shares you sell, the Form 1099-B instructions (2026) have the broker report them in this order: "Any shares for which the acquisition date is unknown", then "The shares that were purchased or acquired first". If you sell every share at once, the reinvested ones included, the sources we read don't settle how the rule applies to a purchase sold in the same sale: read literally, the rule counts any purchase in the 30 days before the sale. The checker counts an earlier purchase only for shares still held after the loss sale, so it reports no wash sale in that case. That is its rule, not a settled answer, so ask a CPA or EA.

What your 1099-B likely shows

The Form 1099-B instructions (2026) say: "You must report any loss disallowed under section 1091 if both the sale and purchase transactions occur in the same account with respect to covered securities with the same CUSIP number." Under those instructions, stock bought for cash in an account after 2010 is a covered security, or after 2011 for stock that can use the average basis method, such as most mutual fund shares and shares bought through a qualifying dividend reinvestment plan. Every share in the example was bought in 2026, so your 1099-B likely shows $15 in box 1g, and the broker is told to "Increase the adjusted basis of the acquired securities by the amount of the disallowed loss reported in box 1g."

A reinvestment in another account, at another broker or in an IRA is different: "You are permitted but are not required to report in box 1g all loss disallowed under section 1091." Check what your 1099-B shows. Pub 550 says "you cannot deduct a loss from a wash sale even if it is not reported on Form 1099-B", and the Form 8949 instructions have you enter the correct amount in column (g) when box 1g is incorrect (how code W works).

Shares of most mutual funds, and shares bought after 2010 through a qualifying dividend reinvestment plan, can use the average basis method under those instructions. Treas. Reg. §1.1091-2(b) points to a special rule for wash sales of certain mutual fund (regulated investment company) shares with an average basis. This guide doesn't cover it; if your account uses average basis, ask a CPA or EA.

A reinvestment in your IRA

Pub 550's list of what makes a wash sale ends with: "Acquire substantially identical stock for your individual retirement arrangement (IRA) or Roth IRA." It then says to "add the disallowed loss to the cost of the new stock or securities (except in (4) above)", and (4) is that IRA case. Rev. Rul. 2008-5 holds that the IRA's basis "is not increased by virtue of § 1091(d)", which we read as permanent.

Rev. Rul. 2008-5 covers an individual who "causes his or her individual retirement account or Roth IRA to purchase" the stock, and says it "does not address any issues other than those specifically addressed herein". Neither it nor Pub 550 mentions automatic reinvestment. This site reads a reinvestment you set up in your own IRA as a purchase you cause, so if the 1.5 shares in the example had been reinvested there instead, it would treat the $15 as disallowed with no basis to carry it, and your taxable broker isn't required to report it. That reading isn't settled, so ask a CPA or EA. One small reinvestment is a small part of the loss, but an IRA that reinvests every month can do it more than once while the window is open (the IRA guide). For a reinvestment in your spouse's IRA, the answer is unsettled (the spouse guide), so ask a CPA or EA.

Before you sell at a loss

  • Look back 30 days in every account, yours and your spouse's, IRAs included, for a reinvestment in the stock you plan to sell.
  • Pause reinvestment of that stock in every account until the first clean date, sale date plus 31 days. The wash sale calculator gives the date.
  • Count automatic investing too. A scheduled buy is a purchase like any other.
  • The other ways to take a loss without a wash sale, and the ones that don't work, are in how to avoid a wash sale.

What the free checker does with reinvested dividends

The free checker reads your brokers' CSV exports in your browser, with nothing uploaded. It counts a reinvestment when your file shows it as a buy, and it withholds the stock if it can't read a reinvestment row as a purchase, rather than guess.

  • It sells the shares bought first (first in, first out). If your account uses average basis or picks shares another way, its figures for that stock can differ from your broker's.
  • It only knows what your files show. A reinvestment or a 401(k) purchase that isn't in a file isn't seen, and neither is an account you haven't imported.
  • It compares the same ticker and options on it, so a fund's other share class under another ticker isn't compared (where the line is).
  • It doesn't model Section 475 mark-to-market accounting. Its methodology lists the rest.

Not tax advice. Sources, read on 2026-11-12: IRS Publication 550 (2025, the current edition) · IRC §1091 · Treas. Reg. §1.1091-1 · Treas. Reg. §1.1091-2 · Rev. Rul. 2008-5 · Form 8949 instructions (2025) · Form 1099-B instructions (2026). Confirm your own situation with a CPA or EA.

Frequently asked questions

Does dividend reinvestment trigger a wash sale?

It can, on this site’s reading. Under the wash-sale rule (IRC §1091), a purchase of the stock or fund you sold at a loss within 30 days before or after the sale, in any of your accounts, washes the loss on that many shares, and this site treats a reinvested dividend as such a purchase. IRS Publication 550 describes a dividend reinvestment plan as one that "lets you choose to use your dividends to buy (through an agent) more shares of stock in the corporation instead of receiving the dividends in cash", but no IRS text we found names reinvestment in the wash-sale rules, so ask a CPA or EA if a large amount turns on it.

How much of my loss does a reinvested dividend wash?

Treated as a purchase, as this site treats it, a reinvested dividend washes the loss on as many shares as it bought. IRS Publication 550 says to match "the shares bought with an equal number of the shares sold." If every share you sold lost the same amount, the washed part is the loss per share times the reinvested shares: 1.5 shares on a $10-a-share loss washes $15, and that purchase doesn’t touch the rest of the loss. If your shares lost different amounts, ask a CPA or EA which ones are matched.

Does a reinvestment before the sale count?

On this site’s reading that a reinvestment is a purchase, yes, if it falls in the 30 days before the loss sale. The wash-sale window in IRC §1091 runs from 30 days before the sale through 30 days after, so a dividend reinvested two weeks before you sell counts, and turning reinvestment off after the sale doesn’t undo it.

What if the dividend is reinvested in my IRA?

This site treats it as costing that part of the loss for good, but that isn’t settled. IRS Publication 550’s list includes acquiring substantially identical stock "for your individual retirement arrangement (IRA) or Roth IRA", with no basis increase in that case, and Rev. Rul. 2008-5 covers an individual who "causes his or her individual retirement account or Roth IRA to purchase" the stock. Neither mentions automatic reinvestment, and the ruling "does not address any issues other than those specifically addressed herein". This site reads a reinvestment you set up as a purchase you cause; ask a CPA or EA. For a spouse’s IRA it is unsettled too.

Will my 1099-B show a wash sale from a reinvested dividend?

Your 1099-B likely shows it in box 1g if the reinvestment and the sale were in the same account and the shares were covered securities: the Form 1099-B instructions (2026) require box 1g when "both the sale and purchase transactions occur in the same account". A reinvestment in another account or in an IRA is one a broker is "permitted but not required" to report. Check what your 1099-B shows, and add what it leaves out on Form 8949 with code W.

Does turning off dividend reinvestment help?

Turning off dividend reinvestment keeps it from buying shares inside the wash-sale window. To cover the whole window, reinvestment of that stock has to be off in every account, IRAs included, from 30 days before the sale through 30 days after it. A reinvestment already made in the 30 days before the sale still counts.

Informational, not tax advice. Primary sources: IRS Publication 550, IRC §1091, Treas. Reg. §1.1091-1 and §1.1091-2, Rev. Rul. 2008-5, Form 8949 instructions, Form 1099-B instructions — linked inline above. Found an error? Tell us and we'll fix it.

Get the year-end wash-sale reminders

Short emails at the moments that matter: before Nov 30 (the last day to sell at a loss and still re-buy within 2026); before Dec 31; and when 1099-Bs arrive in February. The one-page year-end checklist PDF comes with it.

Sign up and a link to the PDF appears right here. Confirm the email we send and you're on the list: about four to six emails a year, and you can unsubscribe in one click from any of them. Your trades stay in your browser. The form sends our email service only your email address and the page you signed up from — nothing else (see Privacy).