Anti-inflammatory painkillers taken early, steady heat on your lower abdomen, and regular exercise form the most effective combination for period cramps. No single approach works perfectly on its own, but layering a few evidence-based strategies together gives most people meaningful relief.
Why Period Cramps Happen
Your uterine lining produces chemicals called prostaglandins, which force the uterine muscles and blood vessels to contract so the lining can shed. Prostaglandin levels peak on the first day of your period, which is why cramps are usually worst in the first 24 to 48 hours. The more prostaglandins your body makes, the stronger the contractions and the more intense the pain. This is also why some people barely notice their period while others are doubled over: it comes down to individual prostaglandin production.
Anti-Inflammatory Painkillers
Over-the-counter anti-inflammatory drugs work by directly blocking prostaglandin production, which makes them the most targeted option for cramp relief. A large network meta-analysis published in Medicine compared common painkillers head-to-head and found that ibuprofen and diclofenac ranked as the two most effective options, with ibuprofen roughly ten times more likely to relieve pain than a placebo. Naproxen was also effective, about four times more likely to help than placebo, though it ranked slightly lower overall.
The key is timing. These drugs prevent prostaglandin formation rather than neutralizing prostaglandins already circulating in your system. Starting your dose at the very first sign of cramping, or even a few hours before you expect your period to begin, makes a noticeable difference compared to waiting until pain is fully established. Taking them on a schedule for the first one to two days rather than waiting for pain to return between doses also keeps prostaglandin levels consistently suppressed.
Aspirin, while technically an anti-inflammatory, performed no better than placebo in the same analysis. Acetaminophen (Tylenol) works differently: it can dull pain signals but does nothing to reduce prostaglandin production, so it’s a less effective choice for cramps specifically.
Heat Therapy
Applying heat to your lower abdomen is one of the simplest and most underrated options. A randomized controlled trial found that wearing a heated abdominal patch for about 12 hours per day provided pain relief comparable to over-the-counter painkillers. Heat works by relaxing the uterine muscle and improving blood flow to the area, counteracting the constriction that prostaglandins cause.
A heating pad, hot water bottle, or adhesive heat wrap all do the job. The advantage of wearable heat patches is that they let you move through your day without being stuck on a couch. Combining heat with an anti-inflammatory painkiller tends to work better than either alone, since they target cramps through different mechanisms.
Exercise and Movement
Working out during your period might sound unappealing, but a systematic review of randomized trials found that regular physical activity reduced pain intensity by nearly 2 points on a 10-point scale and shortened pain duration by almost 4 hours per cycle. The catch: participants exercised consistently for at least two full menstrual cycles before seeing these results. This isn’t a quick fix for today’s cramps. It’s a strategy that pays off over time.
The type of exercise matters less than consistency. Walking, swimming, cycling, and yoga have all shown benefits in studies. Moderate aerobic activity increases blood flow and triggers your body’s natural pain-relieving chemicals. Yoga may offer an added benefit through specific poses that stretch the lower back and pelvis, though the evidence isn’t strong enough to rank it above other forms of movement.
Hormonal Birth Control
If over-the-counter methods aren’t enough, hormonal birth control is one of the most effective long-term solutions. Combined oral contraceptives (the pill) reduce cramp severity by thinning the uterine lining, which means fewer prostaglandins are produced in the first place. A Cochrane review found that people using the pill had a 37% to 60% chance of meaningful pain improvement, compared to 28% with placebo. On a 6-point pain scale, the pill reduced scores by about 0.7 to 1.3 points more than placebo.
Hormonal IUDs, the implant, and the hormonal patch or ring can also reduce cramps, often even more dramatically because some of these methods lighten or stop periods entirely. The tradeoff is that hormonal methods come with their own side effects and aren’t right for everyone, so this is a conversation worth having with a healthcare provider if cramps are regularly disrupting your life.
Magnesium Supplements
Magnesium plays a role in muscle relaxation, and small clinical studies suggest that daily supplementation can reduce cramp severity. Cleveland Clinic recommends magnesium glycinate specifically because it’s better absorbed and less likely to cause digestive upset than other forms. Study doses range from 150 to 300 milligrams per day, with 150 milligrams being a reasonable starting point.
One study found that combining 250 milligrams of magnesium with 40 milligrams of vitamin B6 provided more relief than magnesium alone. The evidence base here is smaller than for painkillers or hormonal options, but the risk is low and many people find it helpful as an add-on strategy. If you’re already eating a diet rich in nuts, seeds, leafy greens, and whole grains, you may be getting a decent amount of magnesium already.
TENS Devices
A TENS (transcutaneous electrical nerve stimulation) unit is a small, battery-powered device that sends mild electrical pulses through sticky pads placed on your skin. It works through three mechanisms: interrupting pain signals traveling to your brain, triggering your body’s natural painkillers (endorphins), and reducing the blood flow restriction in uterine muscles that contributes to cramping.
A Cochrane review found that both high-frequency and low-frequency TENS reduced pain scores on a 10-point scale by roughly 1.4 to 2 points compared to placebo. The evidence quality is low, meaning we can’t be fully confident in the exact numbers, but many people find TENS helpful as a drug-free option. Several companies now make small, discreet TENS devices designed specifically for menstrual pain that stick directly to your lower abdomen under clothing.
Building Your Own Approach
The most effective strategy for most people layers two or three methods together. A practical starting combination: take ibuprofen at the first sign of cramping and reapply heat throughout the day. Add regular exercise between periods for cumulative benefits over time. If that combination isn’t enough, magnesium supplementation or a TENS device can provide additional relief without adding another medication.
If cramps are severe enough to make you miss work or school, get worse over time, or come with pain during sex, bowel movements, or urination, something beyond normal prostaglandin activity may be involved. Endometriosis, which affects the tissue lining the uterus, is one of the most common causes of unusually severe cramps. As Mayo Clinic notes, normal menstrual cramping should be tolerable and shouldn’t force you to miss your regular activities. Pain that exceeds that threshold, especially if it extends well before or after your period, is worth investigating.

