It's day one, you're curled around a hot water bottle, and someone tells you to "eat better." Helpful. What they never say is which foods, how much, and whether any of it has been tested on real people with real cramps. So we read the trials. A few foods have decent evidence behind them. Most have none. Here's the short list that survived.
How food can touch period cramps at all
Cramps come from prostaglandins, the compounds your uterine lining releases to make the muscle contract. More prostaglandins, harder contractions, more pain. Some foods nudge that system: omega-3 fats compete with the fats prostaglandins are built from, magnesium is involved in letting muscle relax, and ginger appears to act on the same pathway ibuprofen does. It's a lever, and a small one.
7 foods that ease period cramps
1. Ginger. The best-studied food on this list. A 2015 meta-analysis in Pain Medicine pooled four randomized trials and found that 750 to 2,000 mg of ginger powder a day, taken during the first three or four days of the period, lowered pain scores compared with placebo. A 2021 review added that in the two trials which compared them, ginger and NSAIDs came out about equal on pain severity. Practical version: a teaspoon of grated fresh ginger steeped in hot water, two or three times a day, starting the day before your period.
2. Fatty fish. Salmon, sardines, mackerel. In a 1996 crossover trial, 42 teenagers took fish oil (1,080 mg EPA plus 720 mg DHA a day) for two months and their menstrual symptom scores fell from 69.9 to 44.0. That's a supplement dose; two or three servings of oily fish a week is the slower, food-shaped version.
3. Leafy greens, beans and seeds. This is the magnesium group. Three small trials in a Cochrane review found magnesium "promising" for period pain, with the honest caveat that nobody has settled the dose. Food is the low-risk way in. Per the NIH, an ounce of roasted pumpkin seeds has 156 mg, an ounce of almonds 80 mg, half a cup of cooked spinach 78 mg, half a cup of black beans 60 mg. Adult women need 310 to 320 mg a day, and most of us fall short.
4. Dark chocolate. USDA data puts 70 to 85% dark chocolate at 228 mg of magnesium per 100 g, so a 35 g portion carries about 80 mg. A 2023 trial gave 45 students either 35 g of 70% dark chocolate, coconut water, or 400 mg of ibuprofen on day one. Two hours later the chocolate group's pain had dropped 3.9 points on a 10-point scale, ibuprofen 4.6, coconut water 2.9. Small, unblinded, a single dose. But not nothing. We wrote a longer piece on why dark chocolate helps period cramps.
5. A plant-heavy plate. In a 2000 crossover study, 33 women ate a low-fat vegetarian diet for two cycles and their cramps lasted 2.7 days instead of 3.9. You don't have to go vegetarian to borrow the pattern: more beans, grains and vegetables, less fried and fatty food, especially in the week before.
6. Fruit and vegetables, generally. A 2019 systematic review of 38 observational studies found that women who ate more fruit, vegetables, fish and dairy reported less menstrual pain. Observational, so it can't prove cause. It does point the same way as the trials.
7. Water, and warm drinks. Cleveland Clinic's gynecologists note that dehydration can make cramps worse, and a warm mug of anything is a mild heat pack from the inside. We could not find a trial that tested "drink more water" for cramps. It's cheap and it won't hurt.
3 foods that make period cramps worse
Too much caffeine. A 2024 meta-analysis of 23 studies in female college students found that high caffeine intake went with roughly twice the odds of period pain. Only two of the studies looked at caffeine, so hold this loosely. Your morning coffee is fine. The fourth one probably isn't.
Alcohol. The NHS lists cutting down on alcohol among the things that may ease period pain. Alcohol also dehydrates you and wrecks your sleep, and both show up as worse cramps the next day.
A heavy, fatty, processed week. The flip side of the vegetarian trial above. Fried food, takeout and fatty meat in the days before a period were what the low-fat diet removed, and cramps got shorter.
What we tried that did nothing
Bananas. We kept reading that the potassium stops cramps, ate three a day for two cycles, and noticed nothing except that we were sick of bananas. We could not find a trial behind the claim, so they're off the list. Eat them if you like them.
Putting it on a plate
Day before: ginger tea in the morning, a big spinach and bean bowl for lunch, salmon or sardines for dinner. Days one and two: ginger again, pumpkin seeds in your bag, a square or two of dark chocolate in the afternoon, water within reach. Skip the second coffee. If the week before is when you struggle, our guide to PMS foods covers that stretch.
A word on what we make. Girl Chocolate is a dark chocolate bar made for the days around your period, sold as a pouch of 8 bars, one cycle's worth, with magnesium and other functional ingredients. It's item four above in a form you can keep in a drawer. It supports PMS relief* and we're clear that it's one option among the seven here, not a replacement for any of them. Here's the bar. Not sure which days hit you hardest? The Period Type quiz takes two minutes.

Print our free period cramp relief cheat sheet: the heat, ginger, magnesium and timing facts from this guide, all on one page. 1 page, PDF, no email needed.
Download the PDFSources
- Daily 2015, ginger for primary dysmenorrhea, meta-analysis (Pain Medicine)
- Harel 1996, omega-3 for dysmenorrhea in adolescents (Am J Obstet Gynecol)
- Barnard 2000, low-fat vegetarian diet and dysmenorrhea (Obstet Gynecol)
- Proctor 2001, herbal and dietary therapies for dysmenorrhoea (Cochrane)
- NIH Office of Dietary Supplements, Magnesium fact sheet
- Nuha 2023, dark chocolate vs ibuprofen for primary dysmenorrhea (PubMed)
When to talk to a doctor
Food is for ordinary cramps. See a doctor if you have any of these:
- Pain that stops you doing daily life, even with painkillers
- Bleeding through a pad or tampon every hour
- Pain that suddenly got much worse, or changed its pattern
- Pain with a fever
* These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.