TL;DR Much has been said about caffeine’s effect on headaches. Many say that it could cause migraine headaches, while others believe it could cure than do harm. But according to research, caffeine could in fact ease the pain from migraine because of two things – it has vasoconstrictive properties resisting blood flow, and that it speeds up the effectivity of painkillers. But too much caffeine could cause migraine too – mainly because of caffeine withdrawal and medication rebound.
Migraines can get so painful that people who suffer from them are often only able to do little, if nothing at all.
Migraine headaches are very common and are a major health problem globally. In the United States alone, there are about 38 million migraine patients - adults and children alike . That's about 1 in 4 households with people prone to migraines.
“Many people do not realize how serious and debilitating migraine can be,” the Migraine Research Foundation writes. “In addition to attack-related disability, migraine interferes with a sufferer’s ability to function in everyday life, whether that is going to school or work, caring for family or enjoying social activities.”
But there’s a silver lining:
Caffeine, which is in so many delicious products, actually helps relieve symptoms and boosts the effectiveness of medications.
Sounds too good to be true? Not really!
It's all backed by science.
Moments before migraine strikes, blood vessels start to enlarge. What makes caffeine an effective pain reliever is its vasoconstrictive properties that restrict blood flow, narrowing the blood vessels and eventually helping ease the pain.
More importantly, caffeine speeds up relief because painkillers work a lot faster with it.  Caffeine boosts the efficacy of acetaminophen, aspirin, and ibuprofen by up to 40 percent,  given that there's 100 mg or greater of the stimulant consumed. 
Here's a fun fact: caffeine and pain relievers work so well together that some over-the-counter medicines contain caffeine. If you're curious, Cleveland Clinic listed down the various OTC's and the amounts of caffeine in each through this link: 
Caffeine also helps cure other types of headaches. A rare type called hypnic headaches are experienced by elderly people, waking them up with intense pain in the middle of the night.
Caffeine is especially helpful for treating hypnic headaches that doctors prescribe a cup of coffee when it strikes, or even before grandma and grandpa hit the hay!
While caffeine helps provide a much-needed reprieve from migraines, it can also make them worse with over-consumption. These phenomena tell you that you've gone overboard:
A similar phenomenon is called caffeine rebound, which happens as part of withdrawal. While only 2 percent of the population suffers from it , caffeine rebound can cause a severe headache... even worse than a typical migraine!
Each person reacts differently to caffeine, so it's important to know where to draw the line.
A good rule of thumb is to be aware of how caffeine affects us while keeping tabs of how much we take in.
Here are some tips to make the most of our caffeine intake and say adieu to migraines:
Is there a big difference between synthetic and natural caffeine? Which gives a stronger jolt? Does it even matter?
Natural caffeine in coffee, tea, and chocolate is much less common than the synthetic caffeine found in so many other products.
Caffeine is found in plant species such as the more popular ones like Coffea arabica and Coffea robusta, as well as tea leaves, kola nuts, cacao beans, Yerba mate and guarana berries.
Not only does naturally-occurring caffeine from said plants keep your cognitive functions at their peak, but it also contains antioxidants that help you fight illnesses like cancer and Alzheimer’s.