What Causes Painful Sex: Hormones, Muscles, and More

Painful sex affects 8% to 56% of women, depending on the population studied, and the causes range from temporary and easily treated to chronic conditions that need ongoing management. The medical term is dyspareunia, and it can show up as pain at the vaginal opening, deep in the pelvis, or both. Understanding where and when the pain occurs is the first step toward figuring out what’s behind it.

Where the Pain Occurs Matters

Pain during sex generally falls into two categories. Superficial pain happens at or near the vaginal opening during initial penetration. Deep pain occurs farther inside the pelvis during thrusting or deep penetration. These two types often have different causes, though about 40% of people with painful sex experience both at the same time.

Superficial pain is more commonly linked to skin conditions, infections, muscle tension, or dryness at the vaginal entrance. Deep pain tends to point toward conditions affecting the uterus, ovaries, or surrounding ligaments. Paying attention to the location, timing, and quality of the pain (burning, aching, sharp, throbbing) helps narrow down what’s going on.

Hormonal Changes and Vaginal Dryness

Declining estrogen is one of the most common causes of painful sex, and it doesn’t only affect people going through menopause. During the reproductive years, estrogen keeps vaginal tissue thick, elastic, and well-lubricated. It also supports a healthy population of beneficial bacteria that maintain an acidic environment (pH between 3.5 and 5.0), which protects against infections.

When estrogen drops, that entire system shifts. The vaginal lining thins out, loses its folds and stretch, and produces less moisture. The pH rises above 5.0, making the tissue more vulnerable to irritation and infection. Physical changes can include tissue fragility, small tears or fissures, visible blood vessels through the thinned walls, and a vaginal canal that becomes shorter and narrower over time. Between 40% and 84% of women with these menopausal tissue changes report pain during sex.

Breastfeeding creates a similar hormonal situation. High levels of prolactin (the hormone that drives milk production) suppress estrogen, leading to vaginal dryness and tissue thinning even in younger postpartum women. This is sometimes called genitourinary syndrome of lactation, and it resolves once breastfeeding ends and estrogen levels recover.

Several medications can also lower estrogen or reduce lubrication. Hormonal birth control, certain antidepressants, anti-estrogen drugs used for fibroids or endometriosis, and cancer treatments like chemotherapy can all contribute to dryness that makes sex uncomfortable or painful.

Pelvic Floor Muscle Tension

The pelvic floor is a group of muscles that supports the bladder, uterus, and rectum, and surrounds the vaginal opening. In some people, these muscles tighten involuntarily when penetration is attempted or even anticipated. This is called vaginismus, and it creates a cycle that’s hard to break: fear of pain triggers muscle clenching, which causes more pain, which reinforces the fear.

The tightening can range from mild (making penetration uncomfortable) to severe (making it feel impossible, like hitting a wall). It may develop after a painful experience, such as a rough pelvic exam, an infection, or a difficult delivery, or it may appear without an obvious trigger. Pelvic floor physical therapy is the primary treatment, often using a series of graduated dilators that help retrain the muscles to relax in response to pressure rather than contract.

Infections and Skin Conditions

Vaginal and vulvar infections are a common and treatable cause of painful sex. Yeast infections cause swelling, redness, and irritation of the vulvar tissue, along with soreness during penetration. Severe cases can involve visible fissures and raw patches on the skin, which make even mild contact painful. Bacterial vaginosis, sexually transmitted infections like chlamydia, herpes, or trichomoniasis, and urinary tract infections can all create inflammation that leads to pain during sex.

Chronic or recurring infections deserve extra attention because they can sensitize the nerve endings in vulvar tissue over time. Even after an infection clears, the area may remain hypersensitive for weeks or months. A condition called vulvodynia involves chronic burning or stinging pain at the vaginal entrance that persists without an active infection. It can be identified using a cotton swab test, where gentle pressure is applied to different spots around the vulva to map where the pain is most intense.

Endometriosis and Deep Pelvic Pain

Endometriosis is one of the leading causes of deep pain during sex. It occurs when tissue similar to the uterine lining grows outside the uterus, often on the ligaments behind the cervix, in the space between the rectum and vagina, or on the ovaries. These growths, called nodules, develop their own nerve supply and can become highly sensitive to pressure.

Nodules located in the area behind the cervix carry more than five times the odds of causing painful sex compared to endometriosis in other locations. Size matters too: in one study, painful nodules averaged 7.6 mm compared to 3.7 mm in people without symptoms. The nodules appear to overproduce nerve growth factor, a protein that amplifies pain signaling in the surrounding tissue. This means the pain isn’t just from physical contact with the nodule during deep penetration; the tissue itself becomes wired to send stronger pain signals.

Deep pain during sex can also result from ovarian cysts, uterine fibroids, pelvic inflammatory disease, or adhesions (scar tissue from previous surgeries or infections that binds pelvic organs together).

Pain After Childbirth

Painful sex is extremely common in the first year after giving birth. About 42% of women experience it between 2 and 6 months postpartum, and many resume sexual activity while still uncomfortable. At 3 months postpartum, 64% report some level of discomfort during intercourse, with about 16% saying it happens often or always.

The causes are layered. Perineal tears or episiotomy scars may still be healing. Scar tissue can create tight, sensitive spots at the vaginal opening. Breastfeeding suppresses estrogen, thinning and drying the vaginal tissue. Pelvic floor muscles may be weakened, overly tight, or both after the strain of delivery. Sleep deprivation, stress, and the emotional adjustment to new parenthood can also lower arousal, which means less natural lubrication.

The good news is that these numbers improve steadily. By 12 months postpartum, the percentage of women reporting frequent pain during sex drops to about 8.5%. For most people, a combination of time, adequate lubrication, and pelvic floor recovery resolves the issue.

When Multiple Factors Overlap

Painful sex rarely has a single, neat explanation. Someone with mild endometriosis might not have pain until they also start a medication that reduces lubrication. A person recovering from a yeast infection might develop pelvic floor tension from bracing against the pain, and that muscle guarding can persist long after the infection is gone. Stress and anxiety about pain create real physiological changes: muscles tighten, arousal drops, and the nervous system becomes more alert to pain signals in the pelvic region.

This layering effect is why painful sex can feel so frustrating to sort out. A thorough evaluation typically involves a careful external and internal exam to check for tenderness at specific points around the vaginal opening, a pH test to look for signs of tissue thinning (a reading of 6.0 to 7.5 suggests atrophy), and sometimes imaging to check for endometriosis or other structural causes of deep pain. The goal is to identify every contributing factor, not just the most obvious one, because addressing only part of the problem often leaves residual pain that keeps the cycle going.