Updated

Norwegian scientists' large, cross-sectional study of more than 50,000 people has found that caffeine seems to both cause and prevent hurting heads.

In a study published in the Journal of Headache Pain, scientists at the Norwegian University of Science and Technology (NTNU) in Trondheim, Norway, concluded that people who consume high amounts of caffeine each day are more likely to suffer occasional headaches than those with low caffeine consumption.

However, they also found that low caffeine consumption was associated with a "greater likelihood of chronic headaches, defined as headaches for 14 or more days each month."

After noting that there was no obvious reason for the differences in the effect of caffeine on people, the researchers advised those who suffer from occasional headaches to try cutting back on caffeine.

Those who suffer from chronic headaches may reduce the amount and frequency of headaches they receive by drinking caffeine.

This article was provided by Inside Science News Service, which is supported by the American Institute of Physics, a not-for-profit publisher of scientific journals.