The four dates are the mechanism, and the ex-dividend date is where the money actually moves. The board declares the dividend on the declaration date, fixing an amount and a payment date. The record date determines who is on the shareholder register to receive it. The ex-dividend date, which Publication 550 defines as the first date following the declaration on which the buyer of a stock is not entitled to receive the next dividend payment, is the one investors need. On that date the shares begin trading without the right to the upcoming payment, and the market prices them accordingly.
That last point defeats a strategy people rediscover every year. Buying just before the ex-dividend date to capture a payment does not create value, because the share price adjusts to reflect the payment leaving the company. What it can create is a tax bill on a distribution that did not make the holder any richer, and, as set out below, a distribution that fails the holding period and is therefore taxed at ordinary rates.
Qualified dividends are the tax question, and the holding-period rule is stated wrongly almost everywhere. IRC 1(h)(11)(B)(i) defines qualified dividend income as dividends received during the taxable year from domestic corporations and qualified foreign corporations. Such dividends are taxed at the same rates as long-term capital gains, which is a large advantage over ordinary income rates. The statute then imports a holding-period requirement at 1(h)(11)(B)(iii)(I), by cross-reference and substitution into section 246(c), and Publication 550 states the resulting rule in plain words: you must have held the stock for more than 60 days during the 121-day period that begins 60 days before the ex-dividend date. When counting days held, include the day you disposed of the stock but not the day you acquired it.
Notice the shape of that window rather than memorising it. It begins 60 days before the ex-date and runs 121 days, so the majority of it lies after the ex-dividend date. Someone who buys shortly before the ex-date and sells shortly after has almost none of the required days, whichever side of the ex-date they sat on. Someone who has held the position for years has the whole window automatically and never has to think about it. The common wrong version of the rule, that you must hold for 60 days before the ex-dividend date, gets the geometry backwards.
Preferred stock has its own rule and it should not be derived from the statute's nested substitutions. Publication 550 states it directly: for preferred stock you must have held the shares more than 90 days during the 181-day period that begins 90 days before the ex-dividend date, if the dividends are due to periods totalling more than 366 days. If the preferred dividends relate to periods totalling less than 367 days, the ordinary rule applies.
Several categories are excluded from qualified treatment outright, and one of them affects a large number of ordinary portfolios. IRC 1(h)(11)(B)(ii) excludes dividends from corporations exempt from tax under section 501 or 521, amounts deductible under section 591 as dividends paid by mutual savings banks and similar institutions, and dividends described in section 404(k), which are employer securities dividends paid through an employee stock ownership plan. Separately, 1(h)(11)(D)(iii) provides that a dividend received from a regulated investment company or a real estate investment trust is subject to the limitations prescribed in sections 854 and 857, which is the statutory route by which most REIT distributions are not qualified dividends and are taxed at ordinary rates. Publication 550 also excludes capital gain distributions, payments in lieu of dividends where you know or have reason to know they are not qualified, and dividends on shares you are obligated to make related payments on, such as under a short sale.
A return of capital behaves differently in a way that matters years later. Publication 550 states that a nondividend distribution reduces the basis of your stock and is not taxed until your basis is fully recovered, at which point further nondividend distributions are reported as capital gain. So a high-distribution fund can be handing back part of your own money, deferring tax rather than eliminating it, and quietly lowering the basis you will subtract from a future sale price. Capital gain distributions from a fund behave differently again: Publication 550 says to report them as long-term capital gains regardless of how long you owned your shares in the fund.
One timing quirk catches fund investors in January. Where a mutual fund or a real estate investment trust declares a dividend in October, November or December, payable to shareholders of record in one of those months, and actually pays it in January, the shareholder is treated as having received it on December 31 and reports it in the year it was declared.
Beyond the shared mechanics, three narrower questions have their own pages. The full set of exceptions and edge cases in qualified treatment belongs with qualified dividends. The ratio of dividends to share price belongs with dividend yield. And the mechanics and basis consequences of automatically buying more shares belong with dividend reinvestment plans. The rate schedule itself sits with capital gains tax.