Over-the-counter anti-inflammatory painkillers are the most effective first-line option for period cramps, but they work best when you take them early, ideally before the pain peaks. Beyond pills, heat therapy, certain supplements, and hormonal birth control all have solid evidence behind them. The right approach depends on how severe your cramps are and how often they disrupt your life.
Why Period Cramps Happen
The lining of your uterus produces chemicals called prostaglandins, which trigger the muscles and blood vessels of the uterus to contract. That contraction is what you feel as cramping. People with more painful periods tend to produce higher levels of prostaglandins, which means stronger, more frequent contractions and less blood flow to the uterine muscle. This is the root cause of most period pain, and it’s why treatments that lower prostaglandin levels tend to work so well.
Anti-Inflammatory Painkillers (NSAIDs)
NSAIDs like ibuprofen and naproxen are the go-to because they directly reduce the amount of prostaglandins your body makes. That means they don’t just mask the pain; they address the underlying cause. Ibuprofen is widely available and works quickly, while naproxen lasts longer per dose, so you don’t need to take it as frequently.
Timing matters more than most people realize. Taking an NSAID at the very first sign of cramping, or even just before your period starts if you can predict it, gives the medication time to lower prostaglandin levels before they build up. If you wait until the pain is already intense, you’re playing catch-up. For naproxen, the NHS recommends starting with 500 mg, then 250 mg every 6 to 8 hours as needed, with a maximum of 1,250 mg per day after the first day. Follow the label directions for ibuprofen, and take either with food to protect your stomach.
Acetaminophen (Tylenol) can help with mild cramps, but it doesn’t reduce prostaglandins the way NSAIDs do, so it’s generally less effective for period-specific pain.
Heat Therapy
A heating pad on your lower abdomen isn’t just comforting. A 2025 meta-analysis in Frontiers in Medicine pooled data from over 1,900 women and found that heat therapy provided comparable or slightly better pain relief than NSAIDs after three months of use. Even within the first 24 hours, heat performed well against painkillers in head-to-head comparisons. The safety profile was notably better too: women using heat were about 70% less likely to experience side effects compared to those taking NSAIDs.
A simple hot water bottle, adhesive heat wrap, or electric heating pad set to a comfortable temperature all work. Aim for about 30 to 60 minutes of continuous warmth. You can also combine heat with an NSAID for more stubborn cramps, since they work through different mechanisms.
Magnesium and Ginger
Magnesium helps relax smooth muscle, including the uterine wall, and several small studies show it can reduce cramp severity. Cleveland Clinic recommends 150 to 300 mg per day, with magnesium glycinate as the preferred form because it’s absorbed more efficiently and tends to be easier on the stomach. One study found that 250 mg of magnesium combined with 40 mg of vitamin B6 was effective for pain reduction. You can take magnesium daily throughout the month rather than only during your period, since it works best when your levels are consistently adequate.
Ginger has also shown promise. In clinical trials, 250 mg of ginger powder taken three to four times per day during the first three days of menstruation reduced pain intensity. One study comparing ginger to a prescription anti-inflammatory found that both reduced pain similarly over two months of use. Fresh ginger tea may help mildly, but the studied doses used concentrated powder in capsule form, so a supplement is likely more reliable than a cup of ginger tea if you’re looking for measurable relief.
TENS Units
A TENS (transcutaneous electrical nerve stimulation) unit is a small, battery-powered device that sends mild electrical pulses through pads stuck to your skin, typically on your lower abdomen or back. These pulses interrupt pain signals traveling to your brain and may also encourage your body to release its own natural painkillers.
A Cochrane review found that both high-frequency and low-frequency TENS reduced period pain compared to placebo, with no clear advantage of one setting over the other. TENS units are reusable, drug-free, and available without a prescription. They’re worth trying if you prefer to avoid medication or want something to use alongside other methods.
Hormonal Birth Control
If your cramps are severe enough to regularly interfere with your daily life, hormonal contraceptives can be a game-changer. Combined oral contraceptives (the pill) work by thinning the uterine lining, which means your body produces fewer prostaglandins during your period. Less prostaglandin, less pain. Extended-cycle regimens, where you take active pills for 12 weeks and then have a withdrawal bleed, mean you only deal with a period every three months.
The hormonal IUD thins the lining locally and often reduces or eliminates periods over time. The hormonal injection works similarly: most women stop having periods entirely within the first year. These options are especially useful if cramps have been a persistent, monthly problem that over-the-counter options don’t fully control. They require a prescription and a conversation with a healthcare provider about which method fits your situation.
When Cramps Signal Something Else
Most period cramps are caused by prostaglandins alone and aren’t a sign of anything wrong. But pain that starts several days before your period, lasts until bleeding completely stops, or gets progressively worse over months may point to an underlying condition like endometriosis or uterine fibroids. Heavy bleeding that soaks through a pad or tampon every hour, pain during sex, or cramps that don’t respond to NSAIDs at all are also worth investigating. Cleveland Clinic recommends contacting a provider if you experience severe or unusual cramps lasting more than three days, since these patterns can indicate secondary dysmenorrhea, meaning the pain has a structural or medical cause that needs its own treatment.