A diet that eliminate headache-provoking foods and beverages can benefit a small percentage of people who suffer from migraine headaches.
Other migraine patients may be helped by a diet to prevent low blood sugar.
Low blood sugar, or hypoglycemia, can cause headache. This condition can occur after a period without food: overnight, for example, or when a meal is skipped. People who wake up in the morning with a headache may be reacting to the low blood sugar caused by the lack of food overnight.
Treatment for headaches caused by low blood sugar consists of scheduling smaller, more frequent meals for the patient. A special diet designed to stabilize the body's sugar-regulating system is sometimes recommended.
For the same reason, people with migraines should avoid oversleeping on weekends. Sleeping late can change the body's normal blood sugar level and lead to a headache.
Reference: National Institute of Neurological Disorders and Stroke