DietSleuth
Mental Health

Why a Food Diary for Headaches Needs to Track More Than Food

By DietSleuth Team
food diaryheadachesmigrainesfood triggerstyraminecaffeinesymptom trackingmigraine diary

Do Certain Foods Really Trigger Headaches and Migraines?

Yes, research does suggest that specific dietary components may trigger migraines in some people. The most commonly cited include tyramine (found in aged cheeses, cured meats, and fermented foods), caffeine, alcohol (particularly red wine and beer), MSG, nitrates in processed meats, and artificial sweeteners.

But here's where the evidence gets complicated. Studies show significant individual variation in which of these - if any - affect a particular person. A 2016 review published in Current Neurology and Neuroscience Reports found that while dietary triggers are frequently reported by migraine patients, the evidence for specific foods is often based on self-report rather than controlled studies, and individual responses vary widely.

In other words: the list of "migraine foods" circulated online is a population average, not a personal diagnosis. Tyramine affects some migraine sufferers significantly and others not at all. The same is true for caffeine, MSG, and almost every other food on the standard trigger list.

That's exactly why tracking matters - and why generic elimination of everything on the list usually doesn't work.

Why Food Is Only Part of the Problem

Migraines and chronic headaches are multifactorial conditions. Food is one potential trigger among many, and it rarely acts alone. The most commonly documented non-food triggers include:

  • Sleep disruption - both too little and oversleeping are well-established triggers
  • Stress and anxiety - including the "let-down" phenomenon where headaches strike when stress drops
  • Hormonal fluctuations - particularly in women around menstruation
  • Dehydration - even mild fluid loss can trigger headaches in susceptible people
  • Bright or flickering light - including screens
  • Barometric pressure changes - weather-related headaches are well documented
  • Skipped meals - not just what you eat, but when

The American Migraine Foundation notes that most people with migraines have multiple triggers, and it's often the combination or accumulation of triggers rather than any single one that tips them over the threshold.

This is critical for understanding why your food diary may have failed before. If you ate aged cheese on Tuesday but also slept badly, had a stressful meeting, and were slightly dehydrated - and then developed a headache on Wednesday - which trigger was responsible? Without tracking everything, there's no way to know.

The Reaction Delay Problem

The second reason food diaries often fail is the time lag between eating a potential trigger food and feeling the headache. For many people, this delay is anywhere from 12 to 24 hours, and in some cases up to 48 hours.

This makes intuitive cause-and-effect nearly impossible. You feel the headache on Thursday morning and think back to Thursday morning's breakfast - but the actual trigger may have been Wednesday's lunch. The National Headache Foundation recommends tracking at least two to three months of data precisely because single incidents are too easy to misattribute.

There's also a phenomenon worth knowing about: food cravings as a prodrome symptom. Many people crave chocolate or carbohydrates in the hours before a migraine begins. They eat those foods, the migraine arrives, and they conclude the food caused it - when actually the craving was already part of the migraine process. This is a well-documented pattern and one that a detailed diary can help you identify over time.

What a Headache Food Diary Needs to Track

A standard food diary captures meals and times. A headache-specific diary needs to go considerably further. Based on what we know about migraine triggers and delayed reactions, here's what to log every day - not just on headache days:

Food and drink

  • All meals and snacks with approximate times
  • Coffee, tea, and other caffeinated drinks (including amounts)
  • Alcohol type and amount
  • Water intake
  • Any supplements or over-the-counter medications

Sleep

  • Bedtime and wake time
  • Sleep quality (a simple 1-5 rating is enough)
  • Any disruptions

Stress and mood

  • Stress level (1-5 scale)
  • Notable events or emotional state

Hormonal and physical factors

  • Day of menstrual cycle, if applicable
  • Any notable physical activity or exertion

Environment

  • Weather changes (if you suspect barometric pressure is a factor)
  • Any exposure to strong smells, bright light, or screens

Headache details

  • Time of onset
  • Location and character of pain
  • Severity (1-10)
  • Duration
  • Any warning signs (aura, neck stiffness, sensitivity to light or sound)
  • Medication taken and whether it helped

Tracking all of this every day - not just when you have a headache - is what makes patterns visible. If you only log on headache days, you lose the comparison data that shows what was different.

How to Actually Spot Patterns in Your Data

Tracking for two to four weeks consistently gives you enough data to start looking for patterns. Here are some approaches:

Look for what changed 12-48 hours before each headache. Did you drink less water? Skip a meal? Sleep significantly less? Have a particularly stressful day? These questions are much easier to answer when you have daily logs rather than relying on memory.

Look for combinations, not single triggers. You may find that coffee alone doesn't trigger a headache, but coffee plus poor sleep does. Or that red wine is fine midweek but triggers a headache after a stressful work period. Triggers frequently work through accumulation rather than in isolation.

Look for patterns over your menstrual cycle (if relevant). Many women find their headaches cluster in specific phases - often the few days before menstruation begins or around ovulation. If this is your pattern, dietary changes may have limited impact during those windows regardless of what you eat.

Look for what you ate 24 hours before rather than in the hour before the headache. This is counterintuitive but important for delayed-reaction triggers like tyramine and nitrates.

This is the point where a digital tracking tool earns its keep. Manually cross-referencing weeks of data across five or six variables is genuinely difficult - the kind of pattern that would take you an hour to find manually can surface in seconds when an algorithm is looking for it.

Start Your Free Trial of DietSleuth

Which Foods Are Worth Watching Most Closely?

If you want to narrow your focus, the dietary components with the strongest evidence for migraine triggering in susceptible individuals are:

Tyramine - Found in aged cheeses (particularly hard and blue cheeses), cured and smoked meats, fermented foods, red wine, and beer. Tyramine is formed when certain proteins break down, so the longer a food has been aged or fermented, the higher the tyramine content. Research suggests tyramine may affect blood vessel tone in ways that can precipitate migraines in people who have difficulty metabolizing it.

Caffeine - This one is two-sided. Regular caffeine consumption can both prevent and trigger headaches. Withdrawal from caffeine - even a few hours late with your usual coffee - is a well-documented headache trigger. If you drink caffeine daily, sudden reduction is more likely to cause a headache than the caffeine itself.

Alcohol - Particularly red wine, beer, and spirits aged in oak. Both the alcohol itself and congeners (fermentation byproducts) are implicated. Some people find that any alcohol is a trigger; others find only specific types are a problem.

Nitrates and nitrites - Found in processed and cured meats (bacon, hot dogs, deli meats, jerky). These compounds cause vasodilation, which some researchers believe may contribute to headache onset.

MSG - The evidence for MSG as a universal trigger is actually weaker than commonly believed - as explored in our article on MSG sensitivity - but individual sensitivity does appear to exist in some people, particularly at high doses.

Skipping meals - Low blood sugar from missed or delayed meals is one of the most consistently reported headache triggers. Maintaining regular meal timing may be as important as food choices.

If you have a food intolerance to any of these, the headache connection may be part of a broader pattern of reactions worth tracking across multiple symptoms.

How Long Should You Keep the Diary?

Most headache specialists recommend three months of consistent tracking as the minimum for meaningful pattern analysis. This accounts for the natural variation in headache frequency and allows you to see whether changes you make are actually reducing attacks.

A practical approach is to track everything for the first four weeks without changing anything. This gives you a baseline. Then, if you've identified a suspected trigger, modify one variable at a time and continue tracking. Changing multiple things at once makes it impossible to know which change is responsible for any improvement you see.

If your headaches have a hormonal component, tracking for at least two to three full cycles is particularly important before drawing conclusions.

When a Headache Diary Is Not Enough

A headache diary is a tool for self-discovery and for giving your doctor better information - it is not a substitute for medical evaluation. If you're experiencing:

  • Sudden, severe headaches unlike any you've had before
  • Headaches with neurological symptoms (vision changes, weakness, difficulty speaking)
  • Headaches after head injury
  • Headaches that are progressively worsening over weeks or months
  • Headaches accompanied by fever, stiff neck, or rash

These require prompt medical attention, not a diary. For chronic or recurring headaches, sharing your tracking data with a neurologist or headache specialist gives them a much richer picture of your situation than a description of symptoms from memory.

This content is for informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult your healthcare provider before making changes to your diet or health routine.

Sources

  1. Rockett FC, de Oliveira VR, Castro K, et al. "Dietary aspects of migraine trigger factors." Nutr Rev. 2012;70(6):337-356. https://pubmed.ncbi.nlm.nih.gov/22646129/
  2. Martin VT, Vij B. "Diet and Headache: Part 1." Headache. 2016;56(9):1543-1552. https://pubmed.ncbi.nlm.nih.gov/27456214/
  3. Gazerani P. "Migraine and Diet." Nutrients. 2020;12(6):1658. https://pubmed.ncbi.nlm.nih.gov/32512568/
  4. American Migraine Foundation. "Understanding Your Triggers." https://americanmigrainefoundation.org/resource-library/triggers/
  5. National Headache Foundation. "Keeping a Headache Diary." https://headaches.org/resources/headache-diary-keeping-a-diary-can-help-your-doctor-help-you/
  6. Kelman L. "The premonitory symptoms (prodrome): a tertiary care study of 893 migraineurs." Headache. 2004;44(9):865-872. https://pubmed.ncbi.nlm.nih.gov/15447695/
  7. Peroutka SJ. "Migraine: a chronic sympathetic nervous system disorder." Headache. 2004;44(1):53-64. https://pubmed.ncbi.nlm.nih.gov/14979887/

Ready to Track How You Feel?

DietSleuth uses AI to help you identify connections between what you eat, your activities, and your symptoms.

Start Your Free 7-Day Trial

7-day free trial • Then $5/week • Cancel anytime