Buy on the Ex-Dividend Date: Do You Get Paid?
Buy on the ex-dividend date and you do not get the dividend: a T+1 trade settles after the record date and the seller keeps it. Real Apple dates inside.
No. If you buy on the ex-dividend date, you do not get the dividend. A US stock trade settles one business day after it is executed (the T+1 cycle), and the record date is the day the company reads its shareholder register to decide who is paid. Under T+1 the ex-dividend date and the record date fall on the same day, which puts a purchase made on the ex-date onto the register one day after it was read. The seller is still the holder of record, and the cash goes to them. The rest of this page runs that arithmetic on real dates, then covers the two edge cases that catch readers: buying the session before, and the large special dividends whose ex-date lands after the record date.
Who gets the dividend: the settled holder on the record date
Four dates attach to every dividend. The declaration date is when the board announces it. The record date is the day the company takes a snapshot of its shareholder register. The ex-dividend date (the ex-date) is the first session on which a new buyer no longer receives the upcoming payment. The pay date is when the cash lands. The full anatomy is in our ex-dividend date explainer; this page is only about the buy-side timing.
The snapshot on the record date is taken from settled positions. A trade you execute today does not change the register today; ownership transfers when the trade settles, and since May 28, 2024 US equities settle on the next business day, the cycle known as T+1 (the mechanics are in how T+1 stock settlement works). The ex-date is defined from that lag: it is the first session on which a new purchase settles after the record date. Under the old T+2 cycle that session was one business day before the record date. Under T+1 it is the record date itself.
Here is the arithmetic on a hypothetical Tuesday ex-date. Buy the shares on Monday and the trade settles Tuesday, the record date; your name is on the register and the dividend is yours. Buy on Tuesday, the ex-date, and the trade settles Wednesday, one day after the snapshot; the seller's name is on the register and the dividend is theirs. The trade date is irrelevant to eligibility. Only the settled position on the record date counts.
The switch to T+1 is visible in the dividend calendar itself. The panel below takes twenty large, household dividend payers and measures the calendar gap between each ex-date and its record date, month by month, since mid-2023.
| month | month_label | dividend_count | avg_calendar_days_ex_to_record | same_day_pct |
|---|---|---|---|---|
| 2023-06-01 | Jun 2023 | 4 | 1.5 | 0 |
| 2023-07-01 | Jul 2023 | 7 | 1.57 | 0 |
| 2023-08-01 | Aug 2023 | 11 | 1.36 | 0 |
| 2023-09-01 | Sep 2023 | 2 | 1 | 0 |
| 2023-10-01 | Oct 2023 | 6 | 1.5 | 0 |
| 2023-11-01 | Nov 2023 | 12 | 1.17 | 0 |
| 2023-12-01 | Dec 2023 | 2 | 1 | 0 |
| 2024-01-01 | Jan 2024 | 7 | 1.43 | 0 |
| 2024-02-01 | Feb 2024 | 9 | 1.56 | 0 |
| 2024-03-01 | Mar 2024 | 4 | 1 | 0 |
| 2024-04-01 | Apr 2024 | 5 | 1.4 | 0 |
| 2024-05-01 | May 2024 | 11 | 1.09 | 9.1 |
| 2024-06-01 | Jun 2024 | 4 | 0 | 100 |
| 2024-07-01 | Jul 2024 | 7 | 0 | 100 |
| 2024-08-01 | Aug 2024 | 9 | 0 | 100 |
| 2024-09-01 | Sep 2024 | 4 | 0 | 100 |
| 2024-10-01 | Oct 2024 | 6 | 0 | 100 |
| 2024-11-01 | Nov 2024 | 10 | 0.3 | 90 |
| 2024-12-01 | Dec 2024 | 4 | 0 | 100 |
| 2025-01-01 | Jan 2025 | 7 | 0 | 100 |
The exact SQL behind every number
SELECT
toString(m) AS month,
formatDateTime(m, '%b %Y') AS month_label,
count() AS dividend_count,
round(avg(dateDiff('day', ex_dt, rec_dt)), 2) AS avg_calendar_days_ex_to_record,
round(100 * countIf(rec_dt = ex_dt) / count(), 1) AS same_day_pct
FROM
(
SELECT
toStartOfMonth(any(ex_dividend_date)) AS m,
any(ex_dividend_date) AS ex_dt,
any(record_date) AS rec_dt
FROM global_markets.stocks_dividends
WHERE ticker IN ('AAPL', 'MSFT', 'KO', 'JNJ', 'PG', 'PEP', 'JPM', 'XOM', 'CVX', 'HD',
'MCD', 'WMT', 'IBM', 'CSCO', 'VZ', 'MRK', 'PFE', 'ABBV', 'TXN', 'LLY')
AND ex_dividend_date >= '2023-06-01'
AND ex_dividend_date < today()
GROUP BY id
)
WHERE rec_dt >= ex_dt
GROUP BY m
ORDER BY mIn Jun 2023 the ex-date ran an average of 1.5 calendar days ahead of the record date, and 0% of that month's ex-dates shared a day with the record date. In Sep 2026, the latest month with an ex-date in the basket, the average gap was 0 days and 100% of ex-dates fell on the record date. The one-day lead disappeared in the months following the settlement change. The two dates now coincide, and a purchase on the ex-date settles one day too late.
Buy on the ex-dividend date: Apple's recent dividends as a worked example
Apple pays quarterly and its dates are a clean template. The panel lists Apple's most recent dividends with all four dates and adds two settlement columns: the last session on which a buyer still received the payment, and the session on which a T+1 purchase made on the ex-date settled (the next session on the tape).
| ex_date | weekday | declared_label | ex_label | record_label | pay_label | cash_amount | days_ex_to_record | last_session_with_dividend | buy_on_ex_settles | settles_days_after_record | days_record_to_pay |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026-08-10 | Monday | Jul 30, 2026 | Aug 10, 2026 | Mon, Aug 10 | Aug 13 | 0.27 | 0 | Fri, Aug 7 | Tue, Aug 11 | 1 | 3 |
| 2026-05-11 | Monday | Apr 30, 2026 | May 11, 2026 | Mon, May 11 | May 14 | 0.27 | 0 | Fri, May 8 | Tue, May 12 | 1 | 3 |
| 2026-02-09 | Monday | Jan 29, 2026 | Feb 9, 2026 | Mon, Feb 9 | Feb 12 | 0.26 | 0 | Fri, Feb 6 | Tue, Feb 10 | 1 | 3 |
| 2025-11-10 | Monday | Oct 30, 2025 | Nov 10, 2025 | Mon, Nov 10 | Nov 13 | 0.26 | 0 | Fri, Nov 7 | Tue, Nov 11 | 1 | 3 |
| 2025-08-11 | Monday | Jul 31, 2025 | Aug 11, 2025 | Mon, Aug 11 | Aug 14 | 0.26 | 0 | Fri, Aug 8 | Tue, Aug 12 | 1 | 3 |
| 2025-05-12 | Monday | May 1, 2025 | May 12, 2025 | Mon, May 12 | May 15 | 0.26 | 0 | Fri, May 9 | Tue, May 13 | 1 | 3 |
| 2025-02-10 | Monday | Jan 30, 2025 | Feb 10, 2025 | Mon, Feb 10 | Feb 13 | 0.25 | 0 | Fri, Feb 7 | Tue, Feb 11 | 1 | 3 |
| 2024-11-08 | Friday | Oct 31, 2024 | Nov 8, 2024 | Mon, Nov 11 | Nov 14 | 0.25 | 3 | Thu, Nov 7 | Mon, Nov 11 | 0 | 3 |
The exact SQL behind every number
SELECT
toString(d.ex_dt) AS ex_date,
formatDateTime(d.ex_dt, '%W') AS weekday,
formatDateTime(d.decl_dt, '%b %e, %Y') AS declared_label,
formatDateTime(d.ex_dt, '%b %e, %Y') AS ex_label,
formatDateTime(d.rec_dt, '%a, %b %e') AS record_label,
formatDateTime(d.pay_dt, '%b %e') AS pay_label,
d.cash AS cash_amount,
dateDiff('day', d.ex_dt, d.rec_dt) AS days_ex_to_record,
formatDateTime(px.prior_sess, '%a, %b %e') AS last_session_with_dividend,
formatDateTime(px.next_sess, '%a, %b %e') AS buy_on_ex_settles,
dateDiff('day', d.rec_dt, px.next_sess) AS settles_days_after_record,
dateDiff('day', d.rec_dt, d.pay_dt) AS days_record_to_pay
FROM
(
SELECT
any(ex_dividend_date) AS ex_dt,
any(declaration_date) AS decl_dt,
any(record_date) AS rec_dt,
any(pay_date) AS pay_dt,
round(toFloat64(any(cash_amount)), 4) AS cash
FROM global_markets.stocks_dividends
WHERE ticker = 'AAPL'
AND ex_dividend_date >= '2024-06-01'
AND ex_dividend_date < today() - 3
GROUP BY id
) AS d
INNER JOIN
(
SELECT
sess,
lagInFrame(sess, 1) OVER (ORDER BY sess ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS prior_sess,
leadInFrame(sess, 1) OVER (ORDER BY sess ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS next_sess
FROM
(
SELECT date AS sess
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'AAPL'
AND date >= '2024-05-01'
AND date < today()
GROUP BY date
)
) AS px ON px.sess = d.ex_dt
WHERE px.next_sess > px.sess
AND px.prior_sess >= toDate('2024-05-01')
ORDER BY d.ex_dt DESC
LIMIT 8Take the latest row. Apple declared a $0.27 per-share dividend on Jul 30, 2026. The ex-date was Aug 10, 2026, a Monday, and the record date was Mon, Aug 10: the gap between them is 0 days. A share bought on the ex-date settled on Tue, Aug 11, 1 calendar days after the register was read, and that buyer collected nothing. A share bought one session earlier, on Fri, Aug 7, settled on the record date and did collect. The cash itself arrived 3 days after the record date, on Aug 13, to whoever was on the register, whether or not they still owned the shares by then. Apple's full payment history is on the AAPL dividend page.
What if you buy the day before the ex-dividend date?
Then you get the dividend, and you also get the price adjustment. On the morning of the ex-date the shares no longer carry a claim on that cash. Resting buy orders on the book are marked down by the dividend amount before the open under a standing FINRA rule, and the opening auction prices the stock without the payment attached. A holder who bought the session before owns shares that open roughly the dividend lower and is owed the dividend in cash. Net, nothing was created. Why stocks drop on the ex-dividend date covers the mechanism in depth; the panel below measures it across the same twenty names, comparing the average change from the prior close to the ex-date open against the average dividend as a share of that prior close, over every ex-date since June 2024.
| label | ex_date_count | avg_dividend_pct_of_price | avg_close_to_open_pct |
|---|---|---|---|
| All 20 combined | 182 | 0.71 | -0.55 |
| PFE | 9 | 1.65 | -1.48 |
| VZ | 9 | 1.62 | -1.46 |
| CVX | 9 | 1.04 | -0.85 |
| PEP | 10 | 0.93 | -0.93 |
| ABBV | 9 | 0.83 | -0.72 |
| XOM | 9 | 0.8 | -0.62 |
| MRK | 9 | 0.8 | -0.6 |
| KO | 9 | 0.71 | -0.85 |
| IBM | 9 | 0.69 | -0.58 |
| TXN | 9 | 0.68 | -0.5 |
| JNJ | 9 | 0.68 | -0.61 |
| PG | 9 | 0.66 | 0.46 |
| HD | 9 | 0.64 | -0.17 |
| CSCO | 9 | 0.62 | -1.03 |
| MCD | 10 | 0.61 | -0.67 |
| JPM | 9 | 0.52 | -0.54 |
| WMT | 9 | 0.23 | -0.35 |
| MSFT | 9 | 0.19 | 0.33 |
| LLY | 9 | 0.17 | -0.15 |
The exact SQL behind every number
SELECT
arrayJoin([toString(d.sym), 'All 20 combined']) AS label,
count() AS ex_date_count,
round(avg(100 * toFloat64(d.cash) / toFloat64(px.prior_close)), 2) AS avg_dividend_pct_of_price,
round(avg(100 * (toFloat64(px.ex_open) / toFloat64(px.prior_close) - 1)), 2) AS avg_close_to_open_pct
FROM
(
SELECT
any(ticker) AS sym,
any(ex_dividend_date) AS ex_dt,
any(cash_amount) AS cash
FROM global_markets.stocks_dividends
WHERE ticker IN ('AAPL', 'MSFT', 'KO', 'JNJ', 'PG', 'PEP', 'JPM', 'XOM', 'CVX', 'HD',
'MCD', 'WMT', 'IBM', 'CSCO', 'VZ', 'MRK', 'PFE', 'ABBV', 'TXN', 'LLY')
AND ex_dividend_date >= '2024-06-01'
AND ex_dividend_date < today() - 3
GROUP BY id
) AS d
INNER JOIN
(
SELECT
sym,
sess,
ex_open,
lagInFrame(close_px, 1) OVER (PARTITION BY sym ORDER BY sess ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS prior_close
FROM
(
SELECT
ticker AS sym,
date AS sess,
any(open) AS ex_open,
any(close) AS close_px
FROM global_markets.stocks_daily_aggs
WHERE ticker IN ('AAPL', 'MSFT', 'KO', 'JNJ', 'PG', 'PEP', 'JPM', 'XOM', 'CVX', 'HD',
'MCD', 'WMT', 'IBM', 'CSCO', 'VZ', 'MRK', 'PFE', 'ABBV', 'TXN', 'LLY')
AND date >= '2024-05-01'
AND date < today()
GROUP BY sym, sess
)
) AS px ON px.sym = d.sym AND px.sess = d.ex_dt
WHERE px.prior_close > 0
AND px.ex_open > 0
GROUP BY label
ORDER BY (label = 'All 20 combined') DESC, avg_dividend_pct_of_price DESCAcross all 182 ex-dates in the sample, the average dividend was worth 0.71% of the prior close, and the average change from that close to the ex-date open measured -0.55%. Averaging across many ex-dates is what makes the pattern visible. On any single ex-date the ordinary overnight move of the whole market sits on top of the adjustment, and for a low-yield name like Apple that noise is many times larger than the dividend itself, which the per-ticker rows show. Whether buying the session before to collect the payment is worth doing is a separate question with its own arithmetic (the bid-ask spread, and the tax treatment of a dividend on shares held for under 61 days), covered in the dividend capture strategy guide. This page only settles who gets paid.
Can you sell on the ex-dividend date and still get paid?
Yes, and it is the same arithmetic run in reverse. A sale executed on the ex-date settles the day after the record date, which leaves the seller on the register when it is read. The seller keeps the dividend, and the buyer takes shares that opened lower by roughly that amount. The sell side, including a sale placed the session before the ex-date, is worked through in can I sell on the ex-dividend date and keep the dividend.
When the ex-date comes after the record date: large and special dividends
The "ex-date equals record date" rule has one carve-out that catches people. Under FINRA Rule 11140, when a cash or stock distribution is worth 25% or more of the security's value, the ex-date is set to the first business day after the pay date rather than on the record date. Between the record date and that late ex-date the shares trade with a due bill attached: an obligation, tracked by the clearing system, that passes the distribution from whoever was on the register to whoever owns the shares when the ex-date finally arrives. In that window the record date no longer answers the question. A buyer who purchases after the record date but before the ex-date does receive the distribution, through the due bill, and a holder of record who sells in that window gives it up.
The everyday rule and the large-distribution rule are compared date by date in record date vs ex-dividend date. The practical test is the same under both: find the ex-date the exchange actually published, and ask whether your purchase settles before or after the register is read. A purchase on the ex-date itself never qualifies.
Data notes
The twenty-name basket in the first and third panels is a fixed list of large US dividend payers (AAPL, MSFT, KO, JNJ, PG, PEP, JPM, XOM, CVX, HD, MCD, WMT, IBM, CSCO, VZ, MRK, PFE, ABBV, TXN, LLY), chosen for regular quarterly schedules and continuous price history rather than by yield. Each dividend is counted once by its vendor identifier. T+1 settlement is approximated by the next session on the price tape, which matches the settlement calendar on all but the rare bank holiday when exchanges trade. Ex-date opens are compared against the previous session's close, unadjusted.
FAQ
Do you get the dividend if you buy on the ex-dividend date?
No. A purchase on the ex-dividend date settles one business day later under T+1, which is one day after the record date on which the company reads its shareholder register. The seller is the holder of record and receives the dividend.
How long do you have to own a stock to get the dividend?
One session is enough for eligibility. A share bought the session before the ex-date settles on the record date and receives the payment, even if it is sold on the ex-date itself. Tax treatment runs on a different clock: a dividend on shares held for fewer than 61 days around the ex-date is generally taxed as ordinary income rather than at the qualified-dividend rate.
What is the difference between the ex-dividend date and the record date?
The record date is the company's snapshot of its shareholder register; the ex-dividend date is the first session on which a new buyer misses the payment. Under T+1 settlement they fall on the same calendar day for ordinary dividends. For distributions worth 25% or more of the share price, the ex-date moves to the business day after the pay date.
Does the pay date matter for who receives the dividend?
No. The pay date is only when the cash moves. Eligibility was fixed on the record date, and the payment goes to the holder of record even if they sold the shares between the record date and the pay date.
If I buy the day before the ex-date and sell on the ex-date, do I still get paid?
Yes. The purchase settles on the record date and the sale settles one day after it, which leaves you on the register at the moment it is read. The shares you sell open lower by roughly the dividend, and the cash you collect is matched by that lower sale price.
Every panel above carries the exact SQL underneath it. To check the four dates on any dividend you hold, or to see how a name has opened on its past ex-dates, ask the question in plain English on the Strasmore terminal.