You don’t need to hold stocks for long for dividends to be paid. You simply need to hold the shares overnight before the scheduled ex-dividend date. If you purchase a company’s shares five minutes before the closing bell the day before the ex-dividend date, you’ll receive the dividend even if you sell the shares the next day.