Ibuprofen is the best over-the-counter medicine for period cramps. It works by blocking the production of prostaglandins, the hormone-like chemicals your uterus releases during menstruation that cause it to contract and cramp. A large network meta-analysis of 35 trials and over 4,300 participants ranked ibuprofen as the optimal over-the-counter choice for period pain when both effectiveness and safety were considered.
How Pain Relievers for Cramps Work
Period cramps happen because your uterus produces prostaglandins to help shed its lining each month. The more prostaglandins you produce, the stronger the contractions, and the worse the pain. Anti-inflammatory painkillers (NSAIDs) work by blocking the enzyme that makes prostaglandins in the first place. This doesn’t just dull the pain signal the way some painkillers do. It actually reduces the contractions causing the pain, which is why NSAIDs are more effective for cramps than other options.
Best Over-the-Counter Options, Ranked
Not all painkillers are equally effective for period cramps. Research ranking the most common over-the-counter options found this order of effectiveness:
- Ibuprofen: The best overall choice, balancing strong pain relief with a good safety profile. It’s widely available and fast-acting.
- Naproxen: Slightly less effective than ibuprofen in head-to-head comparisons, but it lasts longer, so you take fewer doses per day. 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. Always take it with food.
- Ketoprofen: Ranked highly for both effectiveness and safety, though it’s less commonly found on pharmacy shelves than ibuprofen or naproxen.
- Aspirin: Significantly less effective than ibuprofen for period pain. The same meta-analysis found aspirin was the weakest performer, no better than placebo in some comparisons.
What About Acetaminophen (Tylenol)?
Acetaminophen is a pain reliever, but it doesn’t reduce inflammation or block prostaglandin production the way NSAIDs do. For that reason, it’s generally less effective for period cramps on its own. It can be useful if you can’t take NSAIDs due to stomach problems or other health conditions, and some people combine it with an antispasmodic medication. A combination of an antispasmodic with acetaminophen is approved for period cramps in several countries across Europe, Asia, and Latin America, with about 85% of users experiencing relief within 60 minutes. That specific combination isn’t widely available in the U.S., but it shows that acetaminophen can work when paired with something that relaxes uterine muscles directly.
When to Take Your Medication
Timing matters more than most people realize. Because NSAIDs work by preventing prostaglandin production, they’re most effective when you take them before prostaglandin levels peak. The ideal approach is to take your first dose as soon as you notice the earliest signs your period is starting, or even when you feel the first hint of cramping. Waiting until the pain is already severe means prostaglandins have already built up, and the medication has to play catch-up.
For the first day or two of your period, taking doses on a regular schedule rather than waiting for pain to return gives more consistent relief. Once cramps start easing, you can switch to taking medication only as needed.
Hormonal Birth Control as Treatment
If over-the-counter painkillers aren’t enough, hormonal birth control is one of the most effective treatments for recurring period cramps. Combined oral contraceptives (the pill) work by suppressing ovulation and thinning the uterine lining. A thinner lining means less menstrual fluid and fewer prostaglandins, which directly translates to less cramping. Hormonal IUDs work through a similar mechanism, thinning the lining locally. Some people on hormonal IUDs eventually have very light periods or stop having them altogether, which can effectively eliminate cramps.
This option makes the most sense if you’re dealing with cramps every single cycle and find yourself reaching for painkillers for several days each month. It treats the root cause rather than managing symptoms after they appear.
Heat Therapy Works Surprisingly Well
A heating pad isn’t just a comfort measure. A systematic review of 22 randomized trials involving nearly 2,000 women found that heat therapy provided comparable or slightly better pain relief than NSAIDs after three months of use. Even within the first 24 hours of treatment, heat performed well against anti-inflammatory medication. The real advantage is safety: heat therapy reduced the risk of side effects by about 70% compared to NSAIDs. If you want to reduce how much medication you take, applying a heating pad or heat wrap to your lower abdomen is one of the most evidence-backed alternatives.
Vitamin B1 May Help Long-Term
A randomized, placebo-controlled trial of 556 young women with moderate to severe cramps tested daily vitamin B1 (thiamine) at 100 mg for 90 days. The results were striking: 87% were completely free of cramps after the treatment period, with another 8% experiencing significant improvement. Only 5% saw no benefit. This isn’t a quick fix you take when cramps hit. It’s a daily supplement taken over several months that appears to change the underlying pain pattern. It’s worth trying if you want to reduce your reliance on painkillers each cycle.
Who Should Be Careful With NSAIDs
NSAIDs are safe for most people when used for a few days per cycle, but certain factors raise the risk of stomach or cardiovascular problems. You’re at higher risk for gastrointestinal side effects if you have a history of stomach ulcers, take blood thinners or corticosteroids, drink alcohol regularly, or take multiple NSAIDs at the same time (including low-dose aspirin for heart health). People with established heart disease or high cardiovascular risk should also use NSAIDs cautiously, as they can worsen cardiovascular outcomes. Taking NSAIDs with food and using the lowest effective dose for the shortest time reduces these risks.
Signs Your Cramps Need Further Evaluation
Most period cramps are “primary dysmenorrhea,” meaning they’re a normal (if miserable) part of menstruation with no underlying disease. But cramps that don’t respond to NSAIDs or hormonal birth control can signal something else. Red flags include cramps that started or worsened after age 30, pain during sex, extremely heavy bleeding, pain with bowel movements or urination, or bleeding between periods. These patterns can point to conditions like endometriosis, adenomyosis, or fibroids, all of which are treatable but require a proper diagnosis through a pelvic exam and sometimes imaging.

