What Food Helps With Period Cramps and What to Avoid

Several foods can meaningfully reduce period cramps by lowering the inflammatory chemicals that cause them. The most effective options are rich in omega-3 fatty acids, magnesium, zinc, or calcium, all of which interfere with the production of prostaglandins, the chemical messengers that trigger uterine contractions and pain during your period. Choosing the right foods in the days leading up to and during menstruation can noticeably reduce cramping intensity.

Why Diet Affects Period Pain

Period cramps happen because your uterus contracts to shed its lining, and those contractions are driven by prostaglandins. The more prostaglandins your body produces, the stronger and more painful the contractions. This is where food comes in: diets high in omega-6 fatty acids and other inflammatory compounds increase the presence of pro-inflammatory prostaglandins, leading to more intense uterine contractions. Diets rich in anti-inflammatory nutrients do the opposite, dialing down prostaglandin production and easing the severity of cramps.

This means the effect works in both directions. Eating more of the foods that reduce inflammation helps, but cutting back on the ones that fuel it matters too. Processed foods, fried foods, and red meat are high in omega-6 fatty acids, which promote inflammation. Shifting the balance toward omega-3s and key minerals gives your body less raw material to manufacture the chemicals behind the pain.

Fatty Fish and Other Omega-3 Sources

Omega-3 fatty acids are among the most studied nutrients for period pain. They work by competing with omega-6s in your body’s inflammatory pathways, reducing the prostaglandins that cause cramping. In clinical trials, women who took omega-3 supplements daily for three months experienced less intense menstrual pain compared to those on a placebo. The anti-inflammatory activity of omega-3s directly influences how your body processes pain signals during menstruation.

The best food sources are fatty fish like salmon, mackerel, sardines, and anchovies. A serving of salmon (about 3 ounces) provides roughly 1,500 mg of omega-3s. If you don’t eat fish, walnuts, chia seeds, flaxseeds, and hemp seeds all contain the plant-based form of omega-3. Aim to eat these foods regularly rather than only during your period, since the anti-inflammatory effect builds over time.

Magnesium-Rich Foods

Magnesium works through two mechanisms at once. It relaxes the smooth muscle of the uterus, reducing the physical intensity of contractions, and it also decreases prostaglandin production, lowering pain at its source. That dual action makes it one of the most practical nutrients for cramp relief. Despite this, most people in the U.S. don’t get enough magnesium through diet alone.

Dark chocolate is the crowd favorite here, and for good reason. A one-ounce square of dark chocolate (70% cocoa or higher) contains about 65 mg of magnesium. Other strong sources include pumpkin seeds (about 150 mg per ounce), almonds (80 mg per ounce), spinach (roughly 160 mg per cooked cup), and black beans (120 mg per cooked cup). The recommended daily intake for women is 310 to 320 mg, so combining a handful of pumpkin seeds with a salad of leafy greens can cover a significant portion of your needs.

Ginger

Ginger is one of the more surprising entries on this list because its effectiveness has been directly compared to over-the-counter painkillers. Clinical studies have found that 750 to 2,000 mg of ginger powder per day, taken during the first three to four days of menstruation, reduces pain as effectively as ibuprofen and mefenamic acid, with no significant side effects reported.

To put that in practical terms, 2,000 mg of ginger powder is roughly one teaspoon. You can stir it into hot water for tea, add it to smoothies, or grate fresh ginger into stir-fries and soups. Fresh ginger is less concentrated than dried powder, so you’d need about a one-inch piece of fresh root to approximate the effect of a half teaspoon of powder. Starting a day or two before your period begins and continuing through the heaviest days gives the best results.

Calcium-Rich Foods

Calcium plays a role in regulating muscle contractions throughout the body, including in the uterus. In a randomized controlled trial, women who took 1,000 mg of calcium daily from mid-cycle through the end of menstrual pain experienced significantly lower pain scores compared to a placebo group. Interestingly, the group that took calcium alone actually showed a larger and statistically significant reduction in pain compared to the group taking calcium combined with vitamin D.

Dairy products are the most concentrated dietary sources. A cup of yogurt provides about 300 mg of calcium, a glass of milk around 300 mg, and an ounce of cheddar cheese about 200 mg. Non-dairy options include fortified plant milks, canned sardines with bones, tofu made with calcium sulfate, and cooked kale. Getting to 1,000 mg per day through food is realistic if you’re intentional about it, especially in the second half of your cycle when it seems to matter most.

Zinc Sources

Zinc reduces menstrual pain through several pathways: it inhibits prostaglandin production, acts as an antioxidant, prevents uterine spasms, and improves blood flow to the uterine lining. A systematic review and meta-analysis from Taipei Medical University confirmed its potential as a meaningful option for primary dysmenorrhea, the medical term for common period cramps not caused by another condition.

Oysters are by far the richest food source of zinc, with a single serving providing several times the daily recommended amount. More everyday options include beef, pumpkin seeds (which also deliver magnesium), chickpeas, cashews, and lentils. The recommended daily intake is 8 mg for women, and most of these foods provide 2 to 4 mg per serving, so a varied diet can cover your needs without supplementation.

Foods to Eat Less Of

Because prostaglandin production is the core driver of cramp severity, it’s worth knowing which foods push that process in the wrong direction. Omega-6 fatty acids, found abundantly in soybean oil, corn oil, and most processed snack foods, directly increase the inflammatory prostaglandins that make cramps worse. Diets heavy in these fats have been linked to more intense menstrual pain in multiple studies.

Salty foods can worsen bloating and water retention, which adds to the general discomfort of menstruation even though it doesn’t directly affect cramping. Caffeine narrows blood vessels, which some women find worsens their pain, though this varies. Alcohol is inflammatory and dehydrating. None of these need to be eliminated entirely, but reducing them in the days before and during your period can make a noticeable difference, especially when combined with adding more of the anti-inflammatory foods above.

Putting It Together

The most effective approach combines several of these foods rather than relying on any single one. A practical strategy for the week before and during your period might look like this: fatty fish two to three times that week, a daily handful of pumpkin seeds or almonds, dark leafy greens at most meals, ginger tea in the mornings, a square of dark chocolate, and yogurt or another calcium source daily. This covers omega-3s, magnesium, zinc, calcium, and ginger in amounts that clinical research suggests are meaningful.

These dietary changes tend to become more effective over two to three cycles as your body’s baseline inflammation shifts. If your cramps are severe enough that food-based strategies alone aren’t providing relief, that’s useful information, since very painful periods can sometimes signal conditions like endometriosis or fibroids that benefit from medical evaluation.