Period cramps are caused by your uterus contracting to shed its lining, driven by hormone-like compounds called prostaglandins. The more prostaglandins your body produces, the stronger the contractions and the more painful the cramps. But the full story involves a chain of hormonal shifts, reduced blood flow, and inflammation that begins days before your period starts.
The Hormonal Chain Reaction
The process that leads to cramps starts with a drop in progesterone. After ovulation, progesterone levels rise to maintain the uterine lining in case of pregnancy. When pregnancy doesn’t occur, progesterone drops sharply in the days before your period. That withdrawal is the trigger for everything that follows.
Falling progesterone activates an inflammatory pathway in the uterine lining. This ramps up production of prostaglandins, particularly a type called PGF2α. These prostaglandins do two things simultaneously: they make the uterine muscle contract, and they constrict the small spiral arteries that supply blood to the lining. Both are necessary for shedding the lining, but both also cause pain.
Why the Contractions Hurt
Prostaglandins force the uterine muscle to squeeze rhythmically, pushing out the lining tissue and blood. In that sense, the mechanism is similar to labor contractions, just on a smaller scale. When prostaglandin levels are higher than average, the contractions become more intense, more frequent, and more painful. Women with severe cramps consistently show higher prostaglandin concentrations in their menstrual fluid compared to women with mild or no cramps.
At the same time, PGF2α and another compound called endothelin-1 constrict the spiral arterioles in the uterine lining. This temporarily cuts off oxygen to the tissue, creating brief episodes of ischemia, essentially the same type of pain you feel when a muscle cramps from lack of blood flow during exercise. Researchers first observed this vasoconstriction in a primate model back in 1940, when endometrial tissue transplanted to a macaque’s eye allowed direct observation of intense, pulsing constriction in the small arteries following progesterone withdrawal.
There’s a third layer to the pain as well. Compounds called leukotrienes, which are part of the same inflammatory cascade, increase the sensitivity of pain nerve fibers in the uterus. This means that even normal-intensity contractions can register as more painful. In women whose cramps don’t respond well to standard painkillers, researchers have found substantially higher leukotriene levels in the uterine lining, suggesting these compounds play an outsized role in their pain.
Primary vs. Secondary Cramps
Most period pain falls into the category of primary dysmenorrhea. This is cramping caused purely by the prostaglandin-driven process described above, with no underlying structural problem. It typically begins within the first year or two of getting periods and tends to follow a predictable pattern: pain starts just before or at the onset of bleeding and lasts one to three days.
Secondary dysmenorrhea is different. The pain comes from a disorder in the reproductive organs, and it behaves differently too. It tends to start several days before bleeding begins, often worsens over time rather than staying consistent cycle to cycle, and may not go away after your period ends. Two of the most common causes are endometriosis and adenomyosis.
How Endometriosis and Adenomyosis Cause Pain
In endometriosis, cells from the uterine lining travel backward through the fallopian tubes and implant on surfaces outside the uterus, such as the peritoneum (the membrane lining the abdominal cavity) or the ovaries. These implants respond to estrogen just like normal uterine tissue, growing and becoming inflamed with each menstrual cycle. Because the tissue has nowhere to shed, it triggers chronic inflammation, scarring, and pain that goes well beyond typical cramps.
Adenomyosis involves a different path to a similar outcome. Instead of traveling outside the uterus, endometrial cells push inward, invading the muscular wall of the uterus itself. This causes the uterine wall to thicken and become inflamed from within, leading to heavier bleeding and deeper, more diffuse pain. Both conditions are fueled by estrogen from ovulatory cycles, which is why treatments that suppress ovulation are effective for both.
What makes these conditions distinct from ordinary cramps is that the pain mechanism isn’t just prostaglandin-driven contraction. It involves ongoing inflammation, nerve irritation from scar tissue, and in the case of adenomyosis, structural changes to the uterine muscle itself. If your cramps have gotten progressively worse over time, last longer than three days, or don’t respond to over-the-counter painkillers, that pattern is more consistent with a secondary cause.
Why Some People Get Worse Cramps
The single biggest variable in how painful your cramps are is how much prostaglandin your body produces. But several factors influence that baseline. Younger age is one: cramps are often most severe in adolescence and the early twenties, then gradually improve. Having heavier or longer periods is associated with more prostaglandin production, since there’s more lining to shed. Smoking, higher body weight, and earlier age at first period have all been linked to more severe cramps in epidemiological studies, though the exact mechanisms connecting each factor to prostaglandin levels aren’t fully mapped out.
Stress and sleep also play a role, likely through their effects on inflammation. And there’s a genetic component. If your mother or sister had severe cramps, you’re more likely to as well, which makes sense given that prostaglandin synthesis pathways are genetically influenced.
Why Painkillers Work (and When They Don’t)
The most effective over-the-counter treatment for period cramps is a class of anti-inflammatory drugs that block the enzyme responsible for prostaglandin production. Ibuprofen and naproxen are the most common examples. By reducing prostaglandin levels at the source, they address the root cause of the pain rather than just masking it. Studies evaluating these medications for menstrual cramps define effectiveness as at least a 50% reduction in pain, and they consistently outperform acetaminophen, which reduces pain signaling in the brain but doesn’t affect prostaglandin production in the uterus.
Timing matters. These medications work best when taken before prostaglandin levels peak, ideally at the first sign of cramps or even just before your period is expected to start. Once prostaglandins have already been released in large quantities, playing catch-up is harder.
When standard anti-inflammatory medications don’t provide adequate relief, it may be because leukotrienes are contributing more to the pain than prostaglandins. Since these drugs only block prostaglandin production, leukotriene-driven pain and nerve sensitization continue unchecked. This is one reason some people find their cramps barely respond to ibuprofen, and it’s a clue that warrants further evaluation for conditions like endometriosis or adenomyosis.
Hormonal birth control is the other major approach to managing cramps. By suppressing ovulation and thinning the uterine lining, it reduces the amount of tissue that needs to be shed and lowers prostaglandin production accordingly. For people with secondary dysmenorrhea caused by endometriosis or adenomyosis, interrupting the ovulatory cycle is one of the most effective treatments available, because estrogen from ovulation drives the inflammatory process in both conditions.