Explainer · Dividends

Do You Get the Dividend If You Sell on the Ex-Dividend Date?

Sell on the ex-dividend date and you keep the dividend. Sell a day earlier and it goes to the buyer, because the date works backward from the day most people expect.

AI-assisted, reviewed by the MoneyTrendReport editor → 4 min read Published

Short answer

Yes. If you still held the shares when the market closed on the day before the ex-dividend date, you get the dividend even if you sell on the ex-date itself. A buyer on the ex-date doesn't get it, and if you sell the day before the ex-date, you don't either.

Sell 150 shares at market, Thursday morning. Thursday is the ex-date. The dividend is $0.40 a share. You held the shares through Wednesday’s close.

That sale leaves the dividend where it was. The company owes the payment to whoever sits on its books on the record date, and nothing you trade on Thursday can change that list in time.

Why does Wednesday’s close decide it?

Settlement lags the trade. Under the SEC’s T+1 standard, a US stock trade becomes final one business day after it’s placed. The company pays the holders listed on its record date. With a single day of settlement, the ex-date and the record date now usually fall on the same day, which is what makes the arithmetic work: to be on the list for that date, a buyer has to have bought before the ex-date, so anyone holding at the close the evening before is already counted.

Follow Thursday’s sale from both sides. You sell. The trade settles Friday. On the record date you’re still the owner, and the buyer isn’t yet. From Thursday morning on, the shares trade without the right to the payment, which is all the ex-dividend date really marks.

What if you sell on a different day?

You sell on Owned at Wednesday’s close? Receive the $0.40?
Tuesday No No
Wednesday, the day before the ex-date No No
Thursday, the ex-date Yes Yes
Friday or later Yes Yes

Wednesday is the costly row. Sell then, and the buyer settles in time for the record date. The dividend goes to them. The buyer’s side mirrors it exactly, so a purchase on Wednesday comes with the payment and a purchase on Thursday doesn’t, however early in the session it fills.

When does the money show up?

On the payment date. The company sets it when it declares the dividend. It often falls weeks after the ex-date, by which time you may have no position left at all, and the $60 still lands in your account as a dividend credit because the obligation was fixed back on the record date and nothing that happened to the shares afterward can undo it. The three dates are laid out side by side in record and payment dates.

Automatic reinvestment is the odd case. If it was switched on and you’ve sold the whole position, brokers differ. Some just pay cash.

Does selling on the ex-date gain you anything?

Very little. The price usually opens lower on the ex-date by roughly the dividend. Cash is about to leave the company, and new buyers won’t receive it, so they pay less; the mechanics are in why a stock drops on the ex-dividend date.

In a clean case the totals match. They rarely match in practice. Prices move for other reasons the same morning, whether it’s the market, the sector or news on the company, so the stock can open well above or below the neat $24.60, and over a day or two that drift usually matters more than a 40-cent dividend. Trading in and out around the ex-date for the payment is a strategy with its own problems, set out in dividend capture rarely survives the ex-date.

How is that dividend taxed?

It’s taxable in the year it’s paid. The rate depends on how long you held. The IRS gives the lower qualified rate only when you’ve owned the shares for more than 60 days within a window that opens 60 days before the ex-date. Buy a few weeks ahead of the ex-date, sell on it, and the test fails. The dividend is then taxed as ordinary income, and it appears in the ordinary total on your 1099-DIV while staying out of the qualified box, a split explained under qualified dividend. Tax situations differ. Check yours with a tax professional.

A long-held position sold on the ex-date is different. If the shares were yours for months before the window opened, the holding test is already met, and selling on the ex-date has no effect on it.

What if you’re short the stock?

The flow reverses. A short seller doesn’t own the shares, so the dividend on them belongs to the lender who supplied them, and your broker charges that amount to your account as a debit that looks like a dividend running the wrong way. The same cutoff decides it. Short at Wednesday’s close and you owe the $0.40 a share, even if you cover first thing Thursday. Cover on Wednesday and you owe nothing, since the shares go back before the cutoff.

Are there exceptions to the timing?

One. Unusually large special dividends can follow a different ex-date convention, set by the exchange. When a payout is big relative to the share price, read the company’s announcement and your broker’s notice before you trade around it.

Readers also ask

Does the dividend show in my account before the payment date?

Many brokers list it as a pending or accrued dividend once the ex-date has passed, then post the cash on the payment date. Where it appears and what it's called differ from broker to broker, so look in the activity or income section of your account.

Can you buy a stock the day before the ex-dividend date and get the dividend?

Yes. A purchase made in the session before the ex-date settles in time under T+1, which puts you on the company's list for the record date. Buying on the ex-date itself is too late. Expect the price to open lower by about the dividend on the ex-date, which offsets most of what the payment adds.