Reinvesting changes nothing about when the tax is due, and this is the single most common surprise. A distribution paid in a taxable account is reportable income in the year it is paid, whether it arrives as cash or is immediately spent on more shares. IRS Publication 550 makes the point directly about these plans: where dividends are used to buy more stock at fair market value, the dividends are still reported as income. The practical consequence is that the tax has to be paid from somewhere else, because the money that would have paid it has already been reinvested. On a small position this is trivial. On a large one held for income, it means a tax bill arriving each year against a holding that has produced no spendable cash.
Every reinvestment is a purchase, and that is the fact with the longest tail. Each one buys shares at that day's price, so it has its own cost basis and its own holding period, and it is a separate tax lot from every other purchase in the same position. A position held for ten years with quarterly distributions contains forty-one lots. Three consequences follow, and none of them is obvious from a statement showing a single line.
First, the basis of the position grows every time a distribution is reinvested, and those additions are what prevent the same dollars being taxed twice, once as distribution income and again as capital gain at sale. Forgetting them is the classic and expensive basis error, and the details of it belong with cost basis rather than here. Brokers have reported basis to the IRS for dividend reinvestment plan shares acquired since the start of 2012, so the exposure is concentrated in positions older than that.
Second, holding periods inside the position are staggered. Shares bought by a reinvestment last month have been held for a month, however long you have owned the rest. Selling the whole position after many years therefore usually produces a mostly long-term gain with a small short-term slice attached, and selling a part of it makes the choice of which lot you are selling matter.
Third, an automatic purchase is still a purchase for the purposes of the wash sale rule, so a reinvestment landing within the 61-day window around a sale at a loss can disallow part of that loss without anyone deciding anything. This is a well-documented trap and it is covered where it belongs, on the pages for the wash sale rule and for tax-loss harvesting.
The company-run version has a trade-off the brokerage version does not. The SEC's caution about direct plans is that they "usually will not allow you to buy or sell shares at a specific market price or at a specific time," and that instead "the company will buy or sell shares for the plan at set times, such as daily, weekly, or monthly, and at an average market price." So you give up control of execution in exchange for the automation. The SEC also advises checking with the company or your brokerage firm about whether the service carries a charge, which varies by plan.
In a tax-advantaged account the entire tax discussion above falls away. Distributions inside an IRA or a workplace plan are not reported as income when they occur, basis in individual lots does no work, and the wash sale rule has nothing to disallow. What remains is the ordinary argument for automation, which is that the cash gets invested rather than sitting idle, and the ordinary argument against it, which is that the reinvestment buys more of what you already hold regardless of whether that is where the money should go.