We propose that the decision to pay dividends is driven by prevailing investor demand for dividend payers. Managers cater to investors by paying dividends when investors put a stock price premium on payers, and by not paying when investors prefer nonpayers. To test this prediction, we construct four stock price-based measures of investor demand for dividend payers. By each measure, nonpayers tend to initiate dividends when demand is high. By some measures, payers tend to omit dividends when demand is low. Further analysis confirms that these results are better explained by catering than other theories of dividends.