Several common fruits can help relieve or prevent headaches, mostly by restoring things your body is running low on: water, magnesium, potassium, or key anti-inflammatory compounds. The best choices depend on what’s driving your headache, but watermelon, bananas, avocados, and berries top the list for most people.
Watermelon for Dehydration Headaches
Dehydration is one of the most common and overlooked headache triggers. Even being a pint or two low on fluids can cause headaches, dizziness, and confusion. Watermelon is roughly 92% water, making it one of the most hydrating foods you can eat. It also contains small amounts of magnesium and potassium, two minerals that support proper fluid balance in your cells.
If your headache came on after exercise, a hot day, or simply not drinking enough, watermelon works as both food and fluid replacement. Other high-water fruits like strawberries, cantaloupe, and oranges offer similar hydration benefits, though watermelon has the edge in sheer water content.
Bananas and Potassium Balance
Low potassium can cause headaches by disrupting the balance of fluids and electrical signals in your body. Bananas are the go-to potassium source for most people, delivering about 422 mg in a medium-sized fruit. They’re also easy on the stomach, which matters if your headache comes with nausea.
Dried apricots are an even more potent option. Half a cup of dried apricots packs roughly 755 mg of potassium. If you tend to get headaches alongside muscle cramps or fatigue, potassium-rich fruits are worth adding to your regular diet rather than reaching for them only during a headache.
Magnesium-Rich Fruits for Migraine Prevention
Magnesium plays a well-established role in migraine prevention. The American Migraine Foundation notes that supplemental magnesium at 400 to 600 mg per day is frequently used to reduce migraine frequency. While fruit alone won’t hit those therapeutic levels, regularly eating magnesium-rich fruits contributes to your overall intake and helps prevent the kind of mild deficiency that makes headaches more likely.
Avocados are the standout here, with about 58 mg of magnesium per fruit. Bananas, figs, and blackberries also contribute meaningful amounts. Think of these as part of a longer-term strategy rather than a quick fix for a headache that’s already started. People who get frequent migraines and eat very little magnesium-rich food may notice a real difference over weeks of consistent intake.
Berries and Inflammation
Many headaches involve inflammation of blood vessels in and around the brain. Berries, particularly blueberries, tart cherries, and strawberries, are loaded with plant compounds that reduce inflammation throughout the body. Tart cherries have been studied most extensively for pain-related inflammation, and their effects are sometimes compared to over-the-counter pain relievers, though milder.
These fruits won’t stop a severe headache the way medication can, but eating them regularly may lower the baseline level of inflammation in your body, making headaches less frequent or less intense over time.
Pineapple for Sinus Headaches
If your headache centers around your forehead, cheeks, or the bridge of your nose, sinus congestion may be the cause. Pineapple contains a natural enzyme that helps reduce swelling in the nasal passages and sinuses. Research suggests this enzyme can shorten the duration of sinusitis symptoms, particularly nasal inflammation and congestion. It also has broader anti-inflammatory effects throughout the body.
Fresh pineapple contains higher levels of this enzyme than canned, and the core of the pineapple has the highest concentration. Eating a few chunks during a sinus headache won’t replace a decongestant, but it can complement other relief strategies.
Fruits That Might Make Headaches Worse
Not all fruit is headache-friendly for everyone. Citrus fruits like oranges, grapefruit, and lemons contain compounds that can trigger headaches in people who are sensitive to them. The National Headache Foundation recommends that migraine-prone individuals limit citrus intake to no more than half a cup per day. Pineapple falls into this caution category as well, despite its sinus benefits.
Overripe bananas, dried fruits preserved with sulfites, and some fermented fruit products can also be problematic. These contain higher levels of compounds that affect blood vessel dilation in the brain. If you notice headaches worsening after eating specific fruits, keep a simple food diary for a few weeks. Patterns usually emerge quickly, and you can adjust from there.
Putting It Together
The best fruit for your headache depends on what’s causing it. A quick reference:
- Dehydration headache: watermelon, strawberries, cantaloupe
- Tension or fatigue headache: bananas, dried apricots, avocados
- Sinus headache: fresh pineapple
- Frequent migraines: avocados, figs, and berries as part of a daily routine
- Inflammation-related headache: tart cherries, blueberries
For most people, the simplest starting point is staying well-hydrated and eating a couple of servings of fruit daily, prioritizing variety. Headaches caused by nutritional gaps don’t usually respond to a single “superfruit.” They respond to consistently giving your body enough water, minerals, and anti-inflammatory nutrients so the headache never starts in the first place.

