Over-the-counter anti-inflammatory painkillers like ibuprofen and naproxen are the most effective first-line option for period cramps. They work by blocking the chemicals your uterus produces to trigger contractions, which is exactly what causes the pain. But timing matters, and pills aren’t your only option. Heat therapy, hormonal birth control, supplements, and nerve stimulation devices can all play a role depending on how severe your cramps are.
Why Period Cramps Happen
Your uterus produces chemicals called prostaglandins to trigger the contractions that shed its lining each month. Higher prostaglandin levels mean stronger contractions, less blood flow to the uterine muscle, and more pain. This is why treatments that either reduce prostaglandin production or relax the uterine muscle tend to work best.
NSAIDs: The Most Common Choice
Ibuprofen and naproxen belong to a class of drugs called NSAIDs (nonsteroidal anti-inflammatory drugs). They directly block prostaglandin production, which both reduces pain and decreases the intensity of uterine contractions. This makes them more targeted for cramps than acetaminophen (Tylenol), which relieves pain but doesn’t affect prostaglandins.
The key with NSAIDs is consistency and timing. Taking them on an as-needed basis doesn’t work well for most people. Instead, start taking them at the first sign of your period, or just before bleeding begins if your cycle is predictable, and continue on a regular schedule for the first two to three days. Waiting until the pain is already intense means prostaglandins have had time to build up, and you’re playing catch-up.
Cochrane reviews have found no strong evidence that any single NSAID outperforms the others for cramp relief or safety. So if ibuprofen works for you, there’s no reason to switch. If it doesn’t, trying naproxen or asking about a prescription-strength option is reasonable.
Heat Therapy Works as Well as Ibuprofen
A heating pad or heat patch on your lower abdomen isn’t just comforting. A clinical trial found that continuous low-level topical heat was as effective as ibuprofen for treating period cramps. Women using a heated patch with a placebo pill got the same level of pain relief as women taking ibuprofen with an unheated patch. The combination of heat plus ibuprofen provided the greatest relief of all.
Portable heat patches that stick to your clothing make this practical outside the house. If you prefer not to take medication, or if you want to boost the effect of painkillers you’re already using, heat is one of the simplest and best-supported additions.
Hormonal Birth Control
If over-the-counter options aren’t enough, hormonal birth control is a well-established treatment for cramps. The mechanism is straightforward: hormonal contraceptives thin the uterine lining, which means fewer prostaglandins and lighter contractions.
Several types can help. Combined oral contraceptive pills reduce menstrual pain for many users, with monophasic formulations (where every active pill has the same hormone dose) appearing to work better than triphasic ones. Extended-cycle regimens, where you take active pills for 12 weeks before a break, reduce the number of periods you have, which means fewer episodes of cramping altogether. About one in five women who choose extended-cycle regimens do so specifically for pain relief.
The hormonal IUD cuts the prevalence of cramps roughly in half. In one observational study, 60% of users reported painful periods before getting the device, compared to 29% after three years of use. The injectable hormonal shot takes a different approach: most users stop having periods entirely within the first year, eliminating cramps along with bleeding.
TENS Devices
TENS (transcutaneous electrical nerve stimulation) units send mild electrical pulses through pads placed on your skin, typically on the lower abdomen or back. These pulses are thought to interrupt pain signals traveling to your brain and may also stimulate your body’s own pain-relief pathways.
A Cochrane review of multiple trials found that both high-frequency and low-frequency TENS reduced menstrual pain compared to placebo or no treatment. The evidence is considered low certainty, meaning it likely helps but the size of the benefit isn’t nailed down yet. TENS devices are widely available without a prescription and have virtually no side effects, which makes them worth trying if you want a drug-free option or something to layer on top of other treatments.
Magnesium and Other Supplements
Magnesium plays a role in muscle relaxation, and small clinical studies suggest that supplementing with 150 to 300 milligrams per day can reduce period pain. One study found that combining 250 milligrams of magnesium with 40 milligrams of vitamin B6 provided more relief than magnesium alone or a placebo. Magnesium glycinate and magnesium citrate are the forms most commonly recommended because they’re easier on the stomach.
The evidence here is less robust than for NSAIDs or hormonal methods, but the risk is low and the potential upside makes it a reasonable option to try, especially if you’re looking for something you can take daily rather than just during your period.
When Cramps Signal Something Else
Most period cramps are what doctors call primary dysmenorrhea: painful but normal. They tend to start in adolescence and often improve with age. Secondary dysmenorrhea, on the other hand, is period pain caused by an underlying condition. It’s worth paying attention to the pattern of your pain and any accompanying symptoms.
Cramps that get progressively worse over time, rather than staying consistent cycle to cycle, can point to endometriosis or adenomyosis. Pain during sex, urination, or bowel movements alongside cramps is a hallmark of endometriosis. Unusually heavy or prolonged periods with large blood clots may suggest fibroids or adenomyosis. Irregular bleeding between periods can indicate uterine polyps. Fever, unusual discharge, or foul odor alongside pelvic pain may point to pelvic infection.
If your cramps don’t respond to NSAIDs at recommended doses, have changed significantly, or come with any of these additional symptoms, it’s worth getting evaluated. Conditions like endometriosis take an average of several years to diagnose partly because people assume their pain is just “bad cramps.”
Putting It All Together
For most people, the most effective approach combines strategies. Start NSAIDs early, right at or just before the onset of bleeding, and take them on a schedule rather than waiting for pain to spike. Add a heating pad or wearable heat patch, especially during the worst days. Consider a daily magnesium supplement in the 150 to 300 milligram range. If those measures aren’t enough, hormonal birth control offers a significant step up in relief, with the hormonal IUD and extended-cycle pills being particularly effective at reducing the frequency and severity of painful periods.

