Anti-inflammatory pain relievers, heat, exercise, and certain supplements all help with period cramps, and combining a few of these approaches tends to work better than relying on just one. Period cramps happen because your uterus contracts to shed its lining, driven by hormone-like chemicals called prostaglandins. Women with more painful periods produce higher levels of these chemicals, which squeeze the uterine muscle harder and reduce blood flow to it, creating pain the same way a muscle cramp anywhere else in your body does.
Why Cramps Happen in the First Place
After ovulation, prostaglandin levels in the uterine lining climb steadily. When progesterone drops at the end of your cycle, prostaglandin production surges even further. By the time your period starts, levels can be roughly three times higher than they were in the first half of your cycle. These prostaglandins make the uterine muscle contract hard and constrict its blood vessels, starving the tissue of oxygen. That oxygen deprivation triggers pain nerve fibers, producing the deep, cramping ache in your lower abdomen and sometimes your lower back. Other inflammatory compounds amplify those pain signals, which is why cramps can radiate into your thighs or cause nausea and fatigue alongside the pain itself.
Over-the-Counter Pain Relievers
NSAIDs like ibuprofen and naproxen are the most effective first-line option because they directly block the production of the prostaglandins causing the problem. In a randomized, double-blind crossover trial, ibuprofen cut prostaglandin levels in menstrual fluid by more than half compared to placebo. Acetaminophen (Tylenol) also reduced pain significantly more than placebo, but ibuprofen was the more potent option.
Timing matters. NSAIDs work best when you take them at the very first sign of cramps, or even just before your period starts if you can predict the timing. Once prostaglandins have already flooded the tissue and triggered the inflammatory cascade, you’re playing catch-up. If ibuprofen alone isn’t enough, naproxen lasts longer per dose and may carry you through the night without waking up in pain.
Heat Therapy
A heating pad on your lower abdomen is one of the oldest remedies for cramps, and the evidence backs it up. A large meta-analysis of 22 randomized trials found that heat therapy provided pain relief comparable to, or slightly better than, NSAIDs after three months of use. Even within the first 24 hours, heat performed well against anti-inflammatory medications. Heat works by relaxing the uterine muscle and improving local blood flow, counteracting the vessel constriction that prostaglandins cause.
You can use a hot water bottle, a microwavable grain bag, or an adhesive heat wrap that sticks to your clothing and stays warm for hours. If you’re out of the house, the stick-on wraps are discreet enough to wear under your clothes at work or school. Combining heat with an NSAID gives you two different mechanisms of relief working at the same time.
Exercise
Moving your body when you’re cramping might sound counterintuitive, but regular physical activity is one of the most consistent non-drug interventions studied. A review of nine randomized controlled trials found that both low-intensity exercise (yoga, stretching, core work) and high-intensity exercise (aerobic training, dance-based workouts) significantly reduced menstrual pain compared to doing nothing. The effect was clinically meaningful: roughly a 25-point drop on a 100-point pain scale.
Most of the programs that showed benefits lasted 8 to 12 weeks, which means this is more of a long-term strategy than a quick fix during your worst cramp day. That said, gentle movement like walking or stretching during your period can still help in the moment by increasing blood flow to the pelvis. One trial even found that adding abdominal stretching to a pain reliever reduced pain more than the medication alone.
Magnesium Supplements
Magnesium helps relax smooth muscle, including the uterine wall. Small studies suggest it can reduce the intensity of cramps, and the Cleveland Clinic notes that a daily dose of 150 to 300 milligrams is a reasonable range to try. The effect isn’t dramatic on its own, but magnesium can complement other strategies, especially if your dietary intake is low. Many people don’t get enough magnesium from food alone. Good dietary sources include dark leafy greens, nuts, seeds, and dark chocolate.
Magnesium glycinate and magnesium citrate are the forms most commonly recommended for muscle relaxation and are generally well tolerated. Magnesium oxide, the cheapest form, is less well absorbed and more likely to cause loose stools.
TENS Units
A transcutaneous electrical nerve stimulation (TENS) unit is a small, battery-powered device that sends gentle electrical pulses through electrode pads stuck to your skin. It works by essentially overwhelming the pain signals traveling to your brain. For period cramps, the typical setting is a frequency of 80 to 100 Hz with a pulse width around 100 microseconds. The intensity should feel strong but not painful.
Electrode placement has two main options. You can place all four pads on your lower back: two higher up (around the bra line and below) to cover the nerves supplying the uterus, and two lower near your sacrum. Alternatively, place two on your lower back and two on your lower abdomen directly over the area that hurts. TENS units are reusable, portable, drug-free, and available without a prescription, making them a good option if you prefer to avoid medication or need something in addition to it.
Hormonal Birth Control
If your cramps are severe enough to regularly interfere with your life, hormonal birth control is one of the most effective long-term solutions. It works by thinning the uterine lining, which means less tissue to shed and far fewer prostaglandins produced each cycle. In one study of women with painful periods, the percentage whose cramps lasted two or more days dropped from 81% to 14% after three cycles on a combined oral contraceptive. The share of women whose pain interfered with daily activities fell from 73% to just 10%, and more than half were able to stop using pain relievers entirely.
Combined pills, hormonal IUDs, the patch, and the ring can all help, though the mechanism and degree of relief vary. This is a conversation to have with your provider, especially if over-the-counter methods aren’t cutting it.
Signs Your Cramps May Need Medical Attention
Most period cramps are “primary dysmenorrhea,” meaning they’re a normal (if miserable) byproduct of menstruation with no underlying disease. But cramps that get progressively worse over time, or that started being severe only after years of manageable periods, can signal something else. Endometriosis, fibroids, ovarian cysts, and adenomyosis are among the conditions that cause what’s called secondary dysmenorrhea.
Pay attention if your cramps come with any of these patterns:
- Pain during sex, urination, or bowel movements, which can point to endometriosis
- Periods that are significantly heavier than they used to be, with large clots or bleeding that soaks through protection quickly, which may suggest fibroids or adenomyosis
- Bleeding between periods or irregular spotting, which can indicate polyps or other structural changes
- Fever, unusual vaginal discharge, or odor, which could signal an infection
- Pain that doesn’t respond at all to NSAIDs and heat, especially if it’s worsening cycle after cycle
None of these automatically mean something serious, but they do mean your cramps deserve a closer look rather than just more ibuprofen.

