Why Does It Hurt When You Try to Have Sex?

Pain during sex is common, affecting roughly 10% to 20% of women in the United States at some point in their lives, and it happens to men too. The causes range from simple fixes like insufficient lubrication to conditions that need medical treatment, and in many cases the pain involves both physical and psychological factors working together. Understanding where the pain occurs and what it feels like is the fastest way to narrow down what’s going on.

Where and When the Pain Happens Matters

Pain during sex generally falls into two categories: pain at the entrance during initial penetration, and deeper pain that occurs with full penetration. These point to very different causes. Entry pain often involves the skin, muscles, or nerve endings around the vaginal opening. Deep pain typically involves internal organs or tissues like the uterus, ovaries, or pelvic floor muscles. Paying attention to exactly where it hurts, whether it’s always there or only in certain positions, and whether it started suddenly or has built over time will help you and a healthcare provider figure out the cause faster.

Not Enough Lubrication

The most straightforward reason sex hurts is friction from insufficient lubrication. This can happen for a number of reasons: not enough foreplay, hormonal changes, stress, certain medications (including antihistamines, some antidepressants, and hormonal birth control), or dehydration. Without adequate moisture, the tissue around and inside the vagina is more vulnerable to micro-tears and irritation, which creates a burning or raw sensation during and after sex.

Using a personal lubricant can make an immediate difference. The vagina has a natural osmolality (a measure of fluid concentration) of around 300, and lubricants that match this level are least likely to irritate tissue. Many commercial lubricants have much higher osmolality, which can actually pull moisture out of cells and cause more irritation. Water-based lubricants with low osmolality or silicone-based options, which don’t absorb into tissue at all, tend to be the gentlest choices.

Hormonal Changes and Vaginal Dryness

After menopause, during breastfeeding, or following certain cancer treatments, estrogen levels drop significantly. Estrogen is what keeps the vaginal lining thick, elastic, and well-lubricated. Without it, the tissue becomes thinner, drier, and less stretchy. The vaginal canal can also narrow and shorten, and blood flow to the area decreases. All of this makes the tissue more fragile and more likely to become irritated or tear during sex. This condition is extremely common in postmenopausal women, and it tends to get worse over time without treatment. Topical estrogen therapy or non-hormonal moisturizers designed for vaginal tissue are the most effective approaches.

Infections and Inflammation

Vaginal infections are one of the most common and most treatable causes of painful sex. Yeast infections, bacterial vaginosis, and trichomoniasis all inflame the vaginal tissue, making it swollen, irritated, and sensitive to contact. You might also notice changes in discharge (color, smell, or amount), itching, burning during urination, or light spotting. These infections result from shifts in the natural balance of bacteria or fungi in the vagina, or from sexually transmitted parasites in the case of trichomoniasis. All three are treatable, and the pain typically resolves once the infection clears.

Urinary tract infections and skin conditions affecting the vulva can also cause pain during or after sex, even though they aren’t technically vaginal infections.

Muscle Tightening (Vaginismus)

Vaginismus is an involuntary contraction of the muscles around the vagina. It’s not something you’re choosing to do. The muscles clamp down reflexively, making penetration painful, difficult, or in some cases impossible. For many people with vaginismus, even inserting a tampon or undergoing a pelvic exam is too uncomfortable. The condition often comes with significant anxiety and fear around penetration, which creates a cycle: anticipating pain triggers the muscles to tighten, which causes pain, which reinforces the fear.

Pelvic floor physical therapy is considered the first-line treatment. A trained therapist uses techniques like manual therapy, biofeedback, gradual dilation exercises, and relaxation training to help the muscles learn to release. One study found that internal manual techniques were the most effective at improving vaginismus symptoms, followed by patient education and at-home dilation exercises. After eight sessions, women showed measurably less muscle tension, improved vaginal flexibility, and greater muscle control.

Chronic Vulvar Pain (Vulvodynia)

Vulvodynia is chronic pain, burning, or stinging in the vulvar area that lasts at least three months with no identifiable infection or skin condition causing it. The pain usually flares with contact, like during sex or when sitting for long periods, though it can sometimes appear without any trigger. The exact cause isn’t fully understood, but it likely involves heightened nerve sensitivity in the vulvar tissue.

The American College of Obstetricians and Gynecologists recommends pelvic floor physical therapy as a treatment strategy for vulvodynia. In clinical studies, women with vulvodynia who completed pelvic floor therapy showed less pain, better quality-of-life scores, and improved sexual function compared to those who received general physical therapy for other body areas.

Deep Pain During Sex

Pain that occurs with deep penetration and feels like it’s coming from inside the pelvis has a different set of causes. Endometriosis, where tissue similar to the uterine lining grows outside the uterus, is one of the most common. Pelvic inflammatory disease (an infection of the reproductive organs, usually from untreated STIs), ovarian cysts, uterine fibroids, and a tilted uterus can all cause deep pain as well. Conditions outside the reproductive system, including irritable bowel syndrome, bladder inflammation, and hemorrhoids, sometimes contribute too.

Deep pain that’s worse in certain positions is a hallmark sign. Changing positions during sex can sometimes help in the short term, but persistent deep pain warrants medical evaluation because several of these conditions can worsen without treatment.

Pain During Sex for Men

Men experience painful sex less frequently than women, but it does happen. One of the more common causes is Peyronie’s disease, a condition where scar tissue forms inside the penis, usually from repeated minor injuries during vigorous sex or physical activity. The scar tissue creates a hard lump and prevents that section of the penis from stretching normally during an erection, leading to a noticeable curve and pain. The pain is often most acute during the early phase of the disease and may improve over time, though the curvature can remain or worsen.

Tight foreskin (phimosis), inflammation of the head of the penis, infections, and prostatitis (inflammation of the prostate gland) are other causes. Men can also experience pelvic floor dysfunction, where overactive pelvic muscles create pain during or after ejaculation.

The Role of Anxiety and Past Trauma

Pain during sex is never “just in your head,” but psychological factors play a measurable role in how the body experiences and maintains sexual pain. Women with a history of abuse are 4.1 times more likely to experience pain during sex. Fear and anxiety about pain can change how your nervous system processes sensations: research shows that women with genital pain develop a selective attention bias toward pain signals, meaning the brain becomes hyper-focused on detecting discomfort. This heightened alertness can amplify pain that might otherwise be mild.

This creates a self-reinforcing loop. An initial painful experience leads to anxiety about the next one, which increases muscle tension and nervous system sensitivity, which makes the next experience more painful. Women who experience vaginal muscle spasms report especially high anxiety levels, and those with negative beliefs about their own sexuality are more likely to avoid sexual activity altogether, which prevents them from having corrective positive experiences.

Cognitive behavioral therapy and sex therapy can help interrupt this cycle by addressing the fear and avoidance patterns directly. These approaches are often most effective when combined with physical treatment like pelvic floor therapy.

How Painful Sex Is Evaluated

A thorough evaluation starts with a detailed history: how long the pain has been happening, where exactly it is, what makes it better or worse, and your medical, surgical, and sexual history. A physical exam typically includes a cotton swab test, where a provider gently touches different areas of the vulva and vaginal opening with a cotton swab to map exactly where the pain is and how severe it is in each location. This helps distinguish between localized pain (in one specific spot) and generalized pain (spread across a wider area).

Infections are ruled out through lab tests, and a musculoskeletal evaluation checks for pelvic floor muscle overactivity or other structural issues. The goal is to identify whether the pain is coming from the skin and nerves, the muscles, the internal organs, or some combination.

Treatments That Help

Treatment depends entirely on the cause, which is why getting an accurate diagnosis matters so much. For infections, the right antimicrobial medication resolves the problem relatively quickly. For hormonal dryness, topical estrogen or vaginal moisturizers restore tissue health over several weeks. For muscle-related pain like vaginismus, pelvic floor physical therapy has the strongest evidence. In one study, 45% of patients with chronic pelvic pain and painful sex reported improvement after at least 12 sessions. A randomized controlled trial found that women who received targeted pelvic floor therapy had significantly less pain, better sexual function, and higher quality of life compared to a control group.

For conditions like endometriosis or fibroids, treatment may involve hormonal management or, in some cases, surgical intervention. For vulvodynia, a combination of pelvic floor therapy, topical treatments to calm nerve sensitivity, and psychological support tends to produce the best results. The key takeaway is that painful sex almost always has an identifiable cause, and nearly every cause has effective treatment options available.