We study the economic effects of religious practices in the context of the observance of Ramadan fasting, one of the central tenets of Islam. To establish causality, we exploit variation in the length of daily fasting due to the interaction between the rotating Islamic calendar and a country’s latitude. We report two key, quantitatively meaningful results: (i) longer Ramadan fasting has a negative effect on output growth in Muslim countries, and (ii) it increases subjective well-being among Muslims. We find evidence that these patterns are consistent with a standard club good explanation for the emergence of costly religious practices: increased strictness of fasting screens out the less committed members, while the more committed respond with an increase in their relative levels of participation. together, our results underscore that religious practices can affect individual behavior and beliefs in ways that have negative implications for economic performance, but that nevertheless increase subjective well-being among followers.