How to Get Rid of Bad Cramps: Remedies That Work

The fastest way to get rid of bad menstrual cramps is to combine an anti-inflammatory painkiller with heat on your lower abdomen. Together, these two approaches target the root cause of the pain: chemicals called prostaglandins that force your uterus to contract. But if you want lasting relief cycle after cycle, a few additional strategies can make a real difference.

Why Cramps Hurt So Much

Your uterine lining produces prostaglandins, chemicals that trigger the muscles and blood vessels of your uterus to squeeze and contract. On the first day of your period, prostaglandin levels are at their highest. As the lining sheds over the next couple of days, those levels drop, which is why cramps typically ease up after day one or two. People with more intense cramps tend to produce higher amounts of prostaglandins, leading to stronger, more painful contractions.

Anti-Inflammatory Painkillers

Over-the-counter anti-inflammatory painkillers like ibuprofen and naproxen work by blocking the production of prostaglandins at the source. That makes them more effective for cramps than acetaminophen (Tylenol), which doesn’t have the same anti-inflammatory action. For menstrual cramps specifically, ibuprofen is typically dosed at 400 mg every four hours as needed.

Timing matters. If you know your period is coming, taking your first dose at the very earliest sign of cramping, or even just before your period starts, gives the medication a head start before prostaglandin levels peak. Waiting until the pain is severe means those chemicals are already circulating, and it takes longer to catch up.

Heat Works as Well as Ibuprofen

A heating pad or hot water bottle on your lower abdomen isn’t just comforting. In a randomized controlled trial, a continuous low-level heat patch worn for about 12 hours a day provided the same degree of pain relief as 400 mg of ibuprofen taken three times daily. Both were significantly more effective than a placebo. When heat and ibuprofen were used together, pain relief kicked in faster (about 1.5 hours versus nearly 3 hours for ibuprofen alone), even though the total amount of relief over two days was similar.

Stick-on heat patches designed for menstrual pain are convenient if you need to move around during the day. A microwavable heating pad or a hot water bottle works just as well at home. Aim for a warm, steady temperature rather than something so hot it irritates your skin.

Movement and Yoga

Exercise is probably the last thing you feel like doing when cramps hit, but gentle movement increases blood flow to your pelvis and releases your body’s natural painkillers. You don’t need an intense workout. A 20-minute walk or a short yoga session can help noticeably.

Yoga poses that open the hips and stretch the lower back are particularly useful. Good options include Cat/Cow (alternating between arching and rounding your back on all fours), Wide-Legged Child’s Pose, Seated Forward Fold, and Legs Up the Wall. Breathing exercises paired with these stretches can also reduce bloating and stress, both of which amplify how bad cramps feel.

TENS Units for Drug-Free Relief

A TENS (transcutaneous electrical nerve stimulation) unit sends mild electrical pulses through electrode pads stuck to your skin. These pulses interrupt pain signals traveling to your brain and can also prompt your body to release endorphins. For period pain, a frequency between 80 and 100 Hz with a pulse width around 100 microseconds is a common effective setting.

Electrode placement makes a difference. If your unit has four pads, place the upper pair on your lower back around waist level (roughly where your bra band sits in the back to a few inches below) and the lower pair further down near your sacrum. Alternatively, you can put two pads on your lower back and two on your lower abdomen directly over the area that hurts. Portable TENS units are small enough to wear under clothing, which makes them practical for use at work or school.

Magnesium and Diet

Magnesium helps muscles relax, and some evidence suggests that daily supplementation can reduce cramp severity over time. Studies have used doses in the range of 150 to 300 mg per day, sometimes combined with vitamin B6. Starting at the lower end (around 150 mg) minimizes the chance of digestive side effects like loose stools. This isn’t an instant fix. Magnesium needs to be taken consistently, not just on the day cramps start.

Beyond supplements, foods high in magnesium include dark leafy greens, nuts, seeds, and dark chocolate. Staying well-hydrated and cutting back on salt in the days before your period can also reduce the bloating and water retention that make cramping feel worse. Some people find that reducing caffeine and alcohol in the days leading up to their period helps as well, since both can increase inflammation or dehydration.

Putting It All Together

For immediate relief during a bad cramp episode, the most effective combination is an anti-inflammatory painkiller taken early, a heat source on your lower belly or back, and a comfortable position (lying on your side with knees drawn up works well for many people). For longer-term improvement, regular exercise, daily magnesium, and a TENS unit give you additional tools that stack on top of each other.

When Cramps Signal Something Else

Normal period cramps start around the time bleeding begins and taper off within two to three days. If your pain pattern looks different from that, it’s worth paying attention. Cramps that start several days before your period, get progressively worse over months or years, or persist after bleeding stops can point to an underlying condition rather than typical menstrual pain.

Endometriosis, where tissue similar to the uterine lining grows outside the uterus (on the ovaries, fallopian tubes, or bladder), is one of the most common causes. It often produces scar tissue and adhesions that intensify pain over time. Adenomyosis, where that same type of tissue grows into the muscular wall of the uterus itself, is another possibility, particularly for women who have had children. Both conditions are treatable, but they won’t improve with heating pads and ibuprofen alone. If your cramps are getting worse with each cycle, interfering with daily life despite over-the-counter treatment, or accompanied by very heavy bleeding, those are signs worth investigating with a healthcare provider.