Too much caffeine can contribute to the onset of a migraine attack. Some people find that suddenly stopping caffeine altogether can also be a trigger. If you suspect this, you may wish to cut down on caffeine gradually. Caffeine can also help manage migraine, so there is caffeine in some migraine medications (for example, panadol extra). Be aware of the ingredients of the medications you take and any foods that may contain caffeine to ensure you are not overdosing.
Too much caffeine can also cause medication overuse headache. Try not to exceed 200mg of caffeine a day from any source to avoid medication overuse headache. That’s about 2-3 cups of tea, coffee or cola (Coke, Pepsi etc.).