For people prone to “throbbing brain pain,” it may be smart to go easy on the coffee. Drinking three or more caffeinated beverages a day has been associated with a higher risk of a same-day migraine for this group, according to a study published in The American Journal of Medicine.

However, consuming two (or fewer) such drinks was generally not problematic except for those who rarely consume caffeine. Just why a certain intake of caffeine can trigger migraines still needs to be sussed out, say the researchers.