Dividend Reinvestment Plan: Cost Basis, Lots, and Wash Sales

The cost basis of shares in a dividend reinvestment plan equals the dividend amount used to buy each lot of shares, plus any fees charged on that purchase. Every quarterly reinvestment creates a separate lot with its own price and holding period, so a few years of participation can leave you with dozens of lots to track. When you sell, you need those records to avoid paying capital gains tax on money you already paid income tax on.

Why Every Reinvestment Is Its Own Lot

A straight stock purchase gives you one lot: a share count, a date, a price. A DRIP makes a tiny purchase every time a dividend pays out. Ten years of quarterly dividends is 40 separate lots, each with its own per-share cost and its own holding period. Most of them include fractional shares, which makes the arithmetic worse.

The reason tracking matters: the IRS treats each reinvested dividend as taxable income in the year it’s paid, even though the cash never hit your account. You pay ordinary dividend tax on it now. Your cost basis in the new shares equals that same dividend amount, which is what prevents the IRS from taxing those dollars a second time when you sell. Lose the records, report a basis of zero, and you hand over capital gains tax on income you already reported.

What Each Lot’s Basis Actually Equals

The IRS states the rule plainly: the basis of stock received through a dividend reinvestment plan is the cost of the shares, plus any adjustments such as purchase fees or commissions.1Internal Revenue Service. FAQ on Calculating Basis for Dividend Reinvestment Plan Stock The cost figure matches the dividend income you reported for that quarter.

If the broker or transfer agent charged a fee, add it. A $150 dividend reinvested through an agent that charges a $3 service fee gives you $150 of taxable dividend income and a cost basis of $153 in the new shares. The service charge is itself reportable as dividend income.2Internal Revenue Service. Publication 550 – Investment Income and Expenses

Your broker or transfer agent reports annual dividends on Form 1099-DIV. Box 1a is total ordinary dividends; Box 1b is the portion that qualifies for long-term capital gains rates.3Internal Revenue Service. Instructions for Form 1099-DIV Those figures are the starting point for building your basis record.

Discounted DRIP Shares Change the Math

Some company-sponsored plans let you buy shares below market price. Your basis is not the discounted amount you effectively paid. It is the full fair market value of the shares on the dividend payment date, and the discount itself counts as extra dividend income.2Internal Revenue Service. Publication 550 – Investment Income and Expenses

A $200 dividend reinvested through a plan offering a 5% discount buys shares with a fair market value of about $210.53. You report $210.53 as dividend income, and your basis in those shares is $210.53. The extra $10.53 is taxable now, but it also lifts your basis so it won’t be taxed again at sale. The same rule applies to optional cash contributions made at a discount: the gap between what you pay and fair market value is dividend income.2Internal Revenue Service. Publication 550 – Investment Income and Expenses

A Worked Example

Say you reinvest four quarterly dividends in a single year:

  • Q1: $75.00 dividend buys 1.5 shares at $50.00
  • Q2: $80.00 dividend buys 1.4815 shares at $54.00
  • Q3: $82.50 dividend buys 1.5566 shares at $53.00
  • Q4: $85.00 dividend buys 1.4655 shares at $58.00

You now have 6.0036 new shares across four lots. The basis of each lot is the dividend that bought it: $75.00, $80.00, $82.50, $85.00. Total basis: $322.50, which matches the dividends you already reported as income.

Two years later you sell 3 shares at $65.00. Your gain depends on which lot each share came from. A Q1 share cost $50.00 and produces a $15.00 gain. A Q4 share cost $58.00 and produces only a $7.00 gain. Which lots you sell matters, and you have some control over that choice.

Choosing a Basis Method When You Sell

When you sell, you have to tell the IRS which shares went out the door. Three methods are available.

First-In, First-Out

FIFO is the default. If you don’t specify lots, the IRS treats the oldest shares as sold first.1Internal Revenue Service. FAQ on Calculating Basis for Dividend Reinvestment Plan Stock Oldest shares usually have the lowest basis, which means higher reported gains. They’re also the most likely to qualify for long-term rates.

Specific Identification

Specific identification gives you the most control. You pick the exact lots to sell, which lets you manage the tax outcome: highest-basis lots to minimize gains, or lots held more than a year to lock in long-term treatment. You have to identify the shares to your broker at or before the time of sale and keep records of the selection.4Internal Revenue Service. Publication 551 – Basis of Assets

Average Cost

Average cost adds up the total basis of all your shares and divides by the share count, giving every share the same per-share basis. The IRS allows this for DRIP shares left on deposit with a custodian or agent.5Internal Revenue Service. Mutual Funds (Costs, Distributions, etc.) 1 For the example above, the average would be $322.50 divided by 6.0036 shares, about $53.72 each. Average cost is the easiest to run, but it removes your ability to cherry-pick high-basis lots. Once you elect it for a given holding, you generally stay with it for that security going forward.

Holding Periods Set the Tax Rate

Each DRIP lot starts its own holding period the day after reinvestment. Shares held more than one year qualify for long-term capital gains rates. Shares held one year or less are taxed at your ordinary income rate.6Internal Revenue Service. Topic no. 409, Capital gains and losses

A DRIP that’s been running for years holds a mix of long-term and short-term lots at any given time. Your newest quarterly lot might be two months old while lots from three years back are safely long-term. FIFO tends to push you into long-term territory. But if you specifically identify lots to harvest a loss, make sure you aren’t accidentally selling recent reinvestments that get taxed at your full ordinary rate.

Automatic Reinvestment Can Trigger a Wash Sale

Here is where DRIPs create a problem many investors don’t see coming. If you sell shares at a loss and buy the same stock within 30 days before or after the sale, the IRS disallows that loss on your current return.7Office of the Law Revision Counsel. 26 U.S. Code 1091 – Loss from wash sales of stock or securities An automatic DRIP purchase counts.

The common scenario: you sell at a loss to offset gains elsewhere. Two weeks later a dividend pays out and the DRIP buys new shares of the same stock. That purchase sits inside the 30-day window and triggers a wash sale, wiping out part or all of your loss deduction.

The loss isn’t gone forever. The disallowed amount gets added to the basis of the replacement shares the DRIP bought.7Office of the Law Revision Counsel. 26 U.S. Code 1091 – Loss from wash sales of stock or securities You’ll recover the tax benefit when you eventually sell those replacement shares, assuming no further wash sale intervenes. But the loss you were counting on for this year is unavailable.

The fix: turn off automatic reinvestment before selling at a loss, and keep it off for at least 31 days. Then re-enroll. Easy to forget, and most people don’t think of it until the following April.

Return of Capital Reduces Your Basis

Not every distribution is a dividend. Some are classified as return of capital, reported in Box 3 of Form 1099-DIV. These aren’t taxable income. Instead, they reduce the basis in the shares you already own.8Internal Revenue Service. Mutual Funds (Costs, Distributions, etc.) Lower basis means a larger gain when you sell. If repeated distributions drive your basis to zero, further distributions are taxed as capital gains. REITs and some energy partnerships make these distributions frequently, so DRIP investors in those sectors should watch Box 3 and adjust their records each year.

Covered Shares, Non-Covered Shares, and the Records You Need

Brokers report cost basis to the IRS on Form 1099-B for covered securities when you sell. For individual stocks, shares bought after January 1, 2011 are generally covered. Shares bought before that date are non-covered, and the broker may not report basis at all; the tracking is on you.9Internal Revenue Service. 2011 Instructions for Form 1099-B

If your DRIP predates 2011, you have a mix. Form 1099-B will separate the two categories, and you’ll supply basis for the non-covered portion yourself on Form 8949 and Schedule D.10Internal Revenue Service. Instructions for Schedule D (Form 1040)

This is why every reinvestment statement matters. You need the date, number of shares, price per share, and any fees for every reinvestment back to when the plan started. If the records are lost, reconstruct them from old 1099-DIV forms, historical price data, or records from the broker or transfer agent.1Internal Revenue Service. FAQ on Calculating Basis for Dividend Reinvestment Plan Stock Rebuilding a decade of quarterly lots is tedious, but it beats paying tax twice on the same dollars.

DRIPs Inside Retirement Accounts

All of the above applies to taxable brokerage accounts. Inside a traditional IRA or Roth IRA, you don’t track per-lot basis. Dividends reinvested in a traditional IRA aren’t taxed until distribution, when the whole withdrawal is ordinary income regardless of what the shares cost. Qualified Roth distributions are tax-free. The lot-by-lot tracking that makes taxable DRIPs painful simply doesn’t apply.