Anti-inflammatory painkillers like ibuprofen are the most effective over-the-counter option for period cramps, and they work even better when you take them before the pain peaks. But pills aren’t your only choice. Heat therapy, certain supplements, and even small electrical devices can meaningfully reduce menstrual pain, either alone or in combination.
Why Period Cramps Happen
Your body produces chemicals called prostaglandins to trigger contractions in the uterus, which is how the uterine lining sheds each month. That process is normal and necessary. The problem is that some people produce excess prostaglandins, and higher levels mean stronger, more painful contractions. Those contractions also temporarily reduce blood flow to the uterus, which adds to the cramping sensation.
This is why anti-inflammatory medications work so well for cramps: they directly reduce prostaglandin production. It also explains why the pain usually hits hardest on the first day or two of your period, when prostaglandin levels are at their peak. Typical cramp pain starts in the lower abdomen or pelvis and can radiate to the lower back or thighs, lasting anywhere from 8 to 72 hours.
NSAIDs: The First-Line Option
Ibuprofen and naproxen are the go-to choices because they target the root cause of menstrual pain, not just the sensation of it. By blocking prostaglandin production, they reduce both the intensity of uterine contractions and the inflammation that amplifies pain signals. Acetaminophen (Tylenol) can help with pain perception, but it doesn’t have the same anti-inflammatory effect, making it a weaker option for cramps specifically.
For ibuprofen, the recommended dose for menstrual cramps is 400 mg every four hours as needed. Naproxen lasts longer per dose, so you take it less frequently. The key with either medication is timing: NSAIDs are significantly more effective when you start taking them before the pain ramps up. If you can predict when your period will start, beginning a day or two beforehand and continuing through the first two days of your cycle gives the best results. Waiting until you’re already curled up in pain means prostaglandins have had a head start.
Take NSAIDs with food to protect your stomach lining. If you find that one brand doesn’t help much, it’s worth trying the other. People respond differently to different anti-inflammatories, so naproxen might work where ibuprofen fell short, or vice versa.
Heat Therapy
If you prefer not to take medication, or you want something to use alongside it, heat is a surprisingly strong option. Randomized trials comparing topical heat to NSAIDs for menstrual cramps found that heat application was a comparable alternative to painkillers. A heating pad, hot water bottle, or adhesive heat wrap applied to your lower abdomen relaxes the uterine muscle and improves blood flow, directly counteracting the cramping mechanism.
Heat patches that stick to your skin or clothing are practical if you need relief at work or school. Aim for a consistent, moderate warmth (around 104°F or 40°C) rather than intense heat that could irritate your skin. Many people find that combining heat with an NSAID provides better relief than either one alone.
Supplements Worth Trying
A few supplements have decent evidence behind them for menstrual pain, though they work differently than painkillers. These aren’t instant fixes. They tend to require consistent daily use before you notice a difference.
Magnesium at 300 to 600 mg daily has reduced menstrual pain compared to placebo in multiple small trials. Magnesium plays a role in muscle relaxation, which likely explains the benefit. Forms like magnesium glycinate or gluconate are gentler on your digestive system than magnesium oxide, which is more likely to cause loose stools.
Vitamin B1 (thiamine) at 100 mg daily improved menstrual pain in research, but only after at least 30 days of consistent use. This isn’t something you pop on day one of your period and expect results. A one- to three-month trial is reasonable to see if it helps. B1 is well tolerated with minimal side effects.
Both supplements are inexpensive and low risk, making them reasonable to try alongside other approaches. They won’t replace an NSAID on a high-pain day, but they may reduce your overall pain levels cycle to cycle.
TENS Devices
A TENS (transcutaneous electrical nerve stimulation) unit sends mild electrical pulses through sticky pads on your skin, which interrupts pain signals traveling to your brain and may also trigger your body’s own pain-relieving chemicals. These small, battery-powered devices are available without a prescription and cost roughly $20 to $50.
For period cramps, the most effective settings appear to be a frequency of 50 to 120 Hz with a constant (not pulsing) current. You control the intensity yourself, adjusting it to the strongest comfortable tingle. For electrode placement, try one pair of pads on your lower back near the tailbone and a second pair just above your pubic bone, or place them directly around the area where you feel the most pain. It takes some experimentation to find the placement that works best for your body.
Hormonal Birth Control
If over-the-counter options aren’t cutting it, hormonal contraceptives are one of the most effective long-term solutions for severe cramps. The pill, hormonal IUDs, and implants all work by thinning the uterine lining, which means fewer prostaglandins and lighter, less painful periods. Some methods can reduce or eliminate periods entirely. This is a conversation to have with a healthcare provider, since the right option depends on your health history and whether you also want contraception.
When Cramps Signal Something Else
Most period cramps are what’s called primary dysmenorrhea, meaning there’s no underlying condition causing them. This type typically starts six to twelve months after your first period, peaks in the late teens or early twenties, and often improves with age. A normal physical exam is expected.
Secondary dysmenorrhea is different. It results from conditions like endometriosis, fibroids, or adenomyosis, and it tends to show up later in life, sometimes in someone who previously had painless periods. Red flags include pain that goes beyond what you’d call tolerable, cramps that cause you to regularly miss work or school, heavy bleeding or bleeding between periods, pain during sex, or pain that’s getting progressively worse over time rather than staying stable. If your cramps have changed in character, intensified significantly, or started responding poorly to treatments that used to work, that shift is worth investigating.
Putting It Together
The most practical approach for most people combines strategies. Start an NSAID a day or two before your period if your cycle is predictable. Layer on heat therapy during the worst hours. Consider adding daily magnesium or vitamin B1 as a background supplement to see if your baseline pain improves over a few cycles. A TENS device is a good drug-free option to keep on hand for breakthrough pain or if you want to reduce how much medication you take.
If you’re doing all of this and still struggling, that’s useful information in itself. Pain that doesn’t respond to NSAIDs and heat, or that disrupts your daily life, is worth bringing up with a provider who can evaluate whether something beyond normal cramping is going on.

