What Medicine Works Best for Menstrual Cramps?

Ibuprofen is the most effective over-the-counter medicine for menstrual cramps. It works by blocking the production of prostaglandins, the chemicals directly responsible for the uterine contractions that cause period pain. Naproxen sodium is a close second, and both outperform acetaminophen (Tylenol), which has little to no effect on cramps. For pain that doesn’t respond to OTC options, hormonal birth control is the most common next step.

Why Cramps Happen

Your uterus sheds its lining each month, and prostaglandins are the compounds that trigger the contractions to push that lining out. Everyone produces them during menstruation, but people with painful periods tend to produce them in excess. Higher prostaglandin levels mean stronger, more frequent contractions, reduced blood flow to the uterine muscle, and more pain. This is why the most effective medicines for cramps target prostaglandin production rather than just masking pain signals.

Ibuprofen: The First Choice

Ibuprofen (sold as Advil, Motrin, and generics) is considered the go-to for mild to moderate menstrual cramps. It belongs to a class of drugs called NSAIDs, which block the enzyme that produces prostaglandins. This means it doesn’t just dull pain; it reduces the contractions causing it. No prescription is needed for standard doses.

Timing matters more than most people realize. NSAIDs are most effective when you start taking them before your cramps peak, ideally at the first sign of bleeding or even a day before your period is expected to start. Continuing through the first two days of your cycle, when prostaglandin levels are highest, gives the best results. If you wait until the pain is already severe, the prostaglandins have already been released and the medicine has to work from behind.

Naproxen: A Longer-Lasting Alternative

If ibuprofen doesn’t give you enough relief, naproxen sodium (sold as Aleve) is the recommended next option. It works through the same mechanism but stays active in your body longer, so you take fewer doses per day. Cochrane reviews of NSAID comparisons have found no strong evidence that any single NSAID is clearly superior to another for period pain, so switching between them is a reasonable strategy if one isn’t working well for you.

Why Acetaminophen Doesn’t Work Well

Acetaminophen (Tylenol) is a pain reliever, but it does not reduce prostaglandin production in the uterus. Seattle Children’s Hospital notes plainly that acetaminophen products “are not helpful for menstrual cramps.” If you can’t take NSAIDs, acetaminophen is better than nothing for general pain relief, but it won’t address the root cause of cramping the way ibuprofen or naproxen will.

Who Should Avoid NSAIDs

NSAIDs aren’t safe for everyone. You should avoid them if you have a history of stomach ulcers or gastrointestinal bleeding, kidney disease, or aspirin-sensitive asthma. They can also interact with blood thinners and certain blood pressure medications. If any of these apply to you, hormonal options or supplements (covered below) are worth discussing with your provider as alternatives.

Hormonal Birth Control for Persistent Cramps

When over-the-counter pain relievers aren’t enough, hormonal contraception is the standard next-line treatment. It works by thinning the uterine lining so there’s less tissue to shed and fewer prostaglandins produced in the process.

Combined oral contraceptives (the pill) significantly reduce pain intensity and decrease the need for painkillers. Low-dose and medium-dose estrogen formulations work equally well. Continuous regimens, where you take active pills for longer than the standard 21 days before a break, can provide faster and more complete relief, though they’re associated with slightly more weight gain than cyclic regimens.

Progestin-only pills are an option if you can’t take estrogen due to migraine with aura, blood clot risk, or other factors. Hormonal IUDs like the Mirena are also effective, both for typical menstrual cramps and for pain caused by endometriosis. These options require a prescription and a conversation with a healthcare provider to find the right fit.

Supplements That May Help

Two supplements have modest evidence behind them for menstrual pain: magnesium and vitamin B1 (thiamine).

Magnesium, taken at 300 to 600 mg daily, has been shown in small trials to reduce menstrual pain compared to a placebo. Forms like magnesium glycinate or gluconate are less likely to cause digestive issues than magnesium oxide. People with kidney problems should use caution, since magnesium is cleared through the kidneys. The main side effect at higher doses is loose stools.

Vitamin B1 at 100 mg daily improved menstrual pain in a study, but only after at least 30 days of consistent use. This isn’t a take-it-when-you-need-it supplement. You’d need to take it daily for one to three months before evaluating whether it’s making a difference. It’s generally well tolerated.

Neither supplement is likely to replace NSAIDs for moderate to severe cramps, but they can be a useful add-on, especially if you’re looking to reduce how much ibuprofen you take each cycle.

Antispasmodic Medications

In some countries, antispasmodic drugs are available over the counter for cramps. These work differently from NSAIDs: instead of reducing prostaglandin production, they directly relax the smooth muscle of the uterus. A combination of an antispasmodic with acetaminophen has outperformed both placebo and the antispasmodic alone in clinical trials for period pain. In a survey of over 300 women using this combination, average pain scores on a 0 to 10 scale dropped from about 7.5 to under 3, with over half reporting relief within 30 minutes. Availability varies by country, and these products aren’t widely sold in the United States.

Getting the Most Out of OTC Medicine

The single biggest mistake with period pain medication is waiting too long to take it. Starting ibuprofen or naproxen at the very first sign of your period, or even the day before if your cycle is predictable, prevents the prostaglandin surge rather than trying to counteract it after it’s already happened. Continue through the first two days for the best coverage.

Pairing medication with a heating pad on your lower abdomen can also improve results. Heat increases blood flow to the uterine muscle, which helps counteract the reduced blood supply caused by strong contractions. It’s a simple addition, but the combination of heat and an NSAID often works better than either one alone.

If you’ve been taking ibuprofen consistently, timing it correctly, and still finding that your cramps significantly interfere with daily life, that’s a signal worth paying attention to. Pain that starts years after your first period, worsens over time, or doesn’t respond to NSAIDs at all can point to conditions like endometriosis or fibroids, which require different treatment.