Why Does It Hurt When Having Sex? Causes Explained

Pain during sex is remarkably common and almost always has a physical explanation, even when a clear cause is not immediately obvious. Researchers broadly divide the problem into superficial pain felt near the vaginal opening and deep pain felt further inside the pelvis, and distinguishing between the two is one of the first steps toward figuring out what is going on. The causes range from hormonal shifts and skin conditions to nerve sensitization, muscle tension, and structural issues like endometriosis, and many people deal with more than one at the same time.

Where the Pain Occurs Changes the List of Suspects

Clinicians separate painful intercourse into two categories because the underlying causes are different. Superficial (or introital) pain happens at or near the vaginal entrance and is often triggered the moment penetration begins. Deep pain is felt higher in the pelvis, usually with deeper thrusting, and tends to point toward problems with the uterus, ovaries, or surrounding tissues. A scoping review examining over a hundred studies found that the majority focused on superficial pain, with fewer addressing deep pain, and a smaller group looked at both types together.

1PubMed. Female Dyspareunia and the Relationship to Neurophysiologic Mechanisms: A Scoping Review

Some people experience both at the same time. In a study of over 300 women with endometriosis, roughly three-quarters reported painful intercourse. Among those, the largest group had both superficial and deep pain simultaneously, while a smaller proportion reported only deep pain or only superficial pain.

2PubMed Central. Painful sexual intercourse, quality of life and sexual function in patients with endometriosis: not just deep dyspareunia

This overlap matters because focusing treatment on just one type can leave the other untreated. If you have always assumed your pain is “just dryness” but also feel a deep ache during sex, there may be a second issue at play.

Hormonal Shifts and Vaginal Tissue Changes

One of the most straightforward causes of painful sex is a drop in estrogen. Estrogen keeps vaginal tissue thick, elastic, and well-lubricated. When levels fall, the tissue thins, becomes drier, and is more easily irritated by friction. This can happen during menopause, but also during breastfeeding, after certain cancer treatments, or while taking some hormonal medications.

The umbrella term for these changes after menopause is genitourinary syndrome of menopause, which describes a collection of symptoms affecting the vagina, vulva, urethra, and bladder that result from reduced estrogen.

3Clinical Obstetrics and Gynecology. Managing Menopause by Combining Evidence With Clinical Judgment: Genitourinary Syndrome of Menopause Estimates suggest it may affect up to half of postmenopausal women.

4PubMed. The genitourinary syndrome of menopause

Unlike hot flashes, which tend to fade over time, vaginal atrophy usually gets worse without treatment. Vaginal estrogen therapy, applied locally in low doses, is a well-studied option for restoring tissue health and reducing pain during sex.

5PubMed Central. Treating dyspareunia caused by vaginal atrophy: a review of treatment options using vaginal estrogen therapy Over-the-counter lubricants and vaginal moisturizers can also help with dryness, though they do not reverse the underlying tissue thinning.

Vulvodynia and Nerve-Related Pain

Vulvodynia is chronic pain at the vulva that lasts for at least three months without an obvious infection or skin disease to explain it. When the pain is concentrated specifically at the vaginal vestibule (the tissue just inside the labia), it is called provoked vestibulodynia, and it is one of the most common causes of pain during sex in younger, premenopausal women.

6PubMed Central. Vulvodynia-It Is Time to Accept a New Understanding from a Neurobiological Perspective

What makes vulvodynia frustrating is that the tissue often looks completely normal on examination. Advances in pain science suggest the problem lies not in damaged tissue but in how the nervous system processes signals from the area. The nerves become sensitized, interpreting light touch or pressure as pain. This is similar to what happens in other chronic pain conditions where the nervous system amplifies signals that should not be painful.

The pain can extend well beyond sex. Sitting for long periods, wearing tight clothing, or inserting a tampon may all trigger discomfort. Because the vulva looks unremarkable, many people are told nothing is wrong, which can delay diagnosis for years. A clinical exam that includes a cotton-swab test, where a clinician gently touches specific spots around the vestibule, can help pinpoint the problem.

Skin Conditions Affecting the Vulva

The vulvar skin is susceptible to the same inflammatory and autoimmune conditions that affect skin elsewhere on the body, and several of them make sex painful. Lichen sclerosus is one of the more common culprits. It causes white, thinned patches of skin that itch and crack easily, and over time it can lead to scarring that narrows the vaginal opening.

7PubMed Central. Lichen Sclerosus-Presentation, Diagnosis and Management

The impact on sexual function is significant. A meta-analysis found that about 59% of people with lichen sclerosus experienced sexual dysfunction, with pain during intercourse being the most commonly reported problem.

8The Journal of Sexual Medicine. Lichen Sclerosus and Sexual Dysfunction: A Systematic Review and Meta-Analysis Women with lichen sclerosus also reported less frequent sexual activity and lower satisfaction compared to women without the condition.

9PubMed Central. The Impact of Vulvar Lichen Sclerosus on Sexual Dysfunction

Other skin conditions that can cause vulvar pain include lichen planus, contact dermatitis from soaps or detergents, and chronic yeast infections. Any persistent itching, burning, or visible skin changes in the vulvar area warrant a visit to a clinician, ideally one familiar with vulvar dermatology, because these conditions often respond well to treatment when correctly identified.

Pelvic Floor Muscle Tension

The pelvic floor is a hammock of muscles that supports the bladder, uterus, and rectum. When those muscles are chronically tight or go into spasm, penetration can feel like hitting a wall. In vaginismus, the involuntary tightening is so severe that penetration becomes extremely difficult or impossible. Research has found that both fear and vaginal muscle tension were significantly greater in people with vaginismus compared to those with other types of pain or no pain at all.

10PubMed. Can Fear, Pain, and Muscle Tension Discriminate Vaginismus from Dyspareunia/Provoked Vestibulodynia? Implications for the New DSM-5 Diagnosis of Genito-Pelvic Pain/Penetration Disorder

Pelvic floor tension does not always start with sex. It can develop after a urinary tract infection, surgery, childbirth, or even prolonged stress. People who clench their jaw or hold tension in their shoulders may do the same thing with their pelvic floor without realizing it. The muscles can also tighten in response to pain from another source, creating a feedback loop where the original problem triggers guarding, which causes its own pain, which triggers more guarding.

Pelvic floor physical therapy is the frontline treatment. A prospective study of women with provoked vestibulodynia found that after pelvic floor physical therapy, participants had significantly higher pain thresholds and reported meaningful reductions in pain during intercourse. Pain-related anxiety and catastrophizing also decreased.

11The Journal of Sexual Medicine. A Prospective Study of Pelvic Floor Physical Therapy: Pain and Psychosexual Outcomes in Provoked Vestibulodynia

Endometriosis and Pelvic Infections

Endometriosis, where tissue similar to the uterine lining grows outside the uterus, is one of the most recognized causes of deep pain during sex. The pain tends to be positional, worsening with deep penetration, and is often described as a sharp or aching sensation in the pelvis. As noted earlier, the majority of women with endometriosis in one study reported painful intercourse, and many experienced both superficial and deep pain rather than just one type.

2PubMed Central. Painful sexual intercourse, quality of life and sexual function in patients with endometriosis: not just deep dyspareunia

Pelvic inflammatory disease, an infection of the reproductive organs usually caused by sexually transmitted bacteria, also causes pain during intercourse. Its typical symptoms include fever, lower abdominal pain, unusual discharge, and pain that worsens with vigorous movement. In some cases, worsening pain during sex may be the only symptom.

12Rev. Soc. Bras. Med. Trop. Open-access Brazilian Protocol for Sexually Transmitted infections, 2020: pelvic inflammatory disease

Ovarian cysts, uterine fibroids, and adenomyosis (where endometrial tissue grows into the muscular wall of the uterus) round out the list of structural causes of deep pain. These conditions often produce pain that varies with the menstrual cycle and may be worse in certain positions during sex.

After Childbirth or Pelvic Surgery

Pain during sex after childbirth is so common that many people assume it is just something they have to push through. But the cause matters, and it is often treatable. Scar tissue from perineal tears or episiotomies can create a focal point of tenderness. One study found that episiotomy was a significant risk factor for scar tenderness, while spontaneous tearing was not.

13The Journal of Sexual Medicine. Postpartum dyspareunia: clinical evaluation, causes, and treatment outcomes

Interestingly, when researchers compared different episiotomy techniques, the specific cutting method did not make a significant difference in rates of painful sex three months later.

14PubMed. Effect of different episiotomy techniques on perineal pain and sexual activity 3 months after delivery This suggests the injury itself, rather than the surgical approach, drives the problem. Breastfeeding-related estrogen suppression, pelvic floor muscle changes, and psychological adjustment to the postpartum period all compound the issue.

Pelvic surgeries such as hysterectomy or procedures for prolapse can also leave scar tissue or alter vaginal anatomy in ways that affect comfort during sex. After gynecological cancer treatment, radiation can cause lasting tissue changes. A study following cancer survivors through pelvic floor physical therapy found significant improvements in pain during intercourse that were maintained at one-year follow-up.

15PLoS ONE. Improvements following multimodal pelvic floor physical therapy in gynecological cancer survivors suffering from pain during sexual intercourse

Psychological Factors and the Brain-Pain Connection

Pain during sex is never “just in your head,” but the brain does play a real role in how pain is experienced and maintained. Anxiety, depression, and trauma history can all amplify pain signals. A systematic review of psychosocial factors in vulvodynia found that anxiety about body exposure during sex, negative feelings about one’s genitalia, and a partner’s response to the pain all influenced how much distress and avoidance a person experienced.

16PubMed Central. Psychosocial factors associated with pain and sexual function in women with Vulvodynia: A systematic review

Childhood sexual abuse has been identified as a risk factor for developing genital pain later in life, and research suggests anxiety may be the bridge between the two. In a study of adolescent girls, trait anxiety mediated the link between a history of sexual abuse and the development of genital pain.

17PubMed. Anxiety Mediates the Relation Between Childhood Sexual Abuse and Genito-Pelvic Pain in Adolescent Girls

None of this means the pain is imaginary. The nervous system genuinely changes in response to repeated pain experiences and emotional distress. When the brain expects pain, it lowers the threshold for perceiving it, so even normal sensations get interpreted as threatening. Cognitive behavioral therapy, mindfulness-based approaches, and couples therapy can all address these factors alongside physical treatments. Treating pain during sex often works best when both the body and the nervous system’s learned patterns are addressed together.

Medications, Allergies, and Everyday Products

Some medications cause sexual pain or dryness as a side effect without people connecting the dots. Certain antidepressants, particularly those that increase serotonin levels, can decrease arousal and lubrication. Hormonal contraceptives containing only progestin, some anti-seizure medications, long-term opioid use, and beta-blockers have all been linked to sexual dysfunction through various mechanisms including changes in neurotransmitter activity, increased prolactin, and suppression of the hormonal cycle.

Contact reactions are another underappreciated cause. Latex in condoms, fragrances in lubricants, preservatives in spermicides, and ingredients in topical medications or genital cosmetics can all trigger allergic reactions or contact dermatitis.

18PubMed. Allergy and Sexual Behaviours: an Update The resulting inflammation causes burning, stinging, or soreness that people may mistake for an infection. Switching to hypoallergenic, fragrance-free products, or non-latex condoms, can resolve the issue entirely if an irritant is the cause.

Douches, scented wipes, and heavily perfumed soaps are frequent offenders. The vulva is lined with mucous membranes that absorb chemicals more readily than regular skin. If pain started around the time you switched products, that is worth investigating before pursuing more complex diagnoses.

Pain During Sex in Men

Though the topic is discussed less often, men experience pain during sex too. Ejaculatory pain is a hallmark of chronic prostatitis and chronic pelvic pain syndrome, which is one of the more common causes. Pain during erection can result from Peyronie’s disease, where scar tissue forms inside the penis, causing curvature and discomfort. Tight foreskin (phimosis), frenulum tears, and infections of the glans or foreskin are other physical causes. Testicular pain during or after sex may point to epididymitis, varicocele, or referred pain from the lower back or hip.

Men’s pelvic floor muscles can also become chronically tight, producing pain with intercourse and difficulty with ejaculation. As with women, the causes can overlap, and psychological factors like anxiety and relationship stress play a role in both triggering and sustaining the pain cycle. Research in this area is less developed than for female sexual pain, and systematic evaluation of treatment approaches has been limited.

When Pelvic Organs Amplify Each Other

The bladder, bowel, and reproductive organs share overlapping nerve pathways in the pelvis. When one organ is inflamed or irritated, the neighboring organs can start hurting too, a phenomenon called cross-sensitization. Animal studies have demonstrated that inflammation in the colon, for example, can directly sensitize bladder nerve fibers, increasing pain sensitivity to both chemical and mechanical stimuli.

19PubMed. Pelvic organ cross-sensitization to enhance bladder and urethral pain behaviors in rats with experimental colitis

This helps explain why conditions like irritable bowel syndrome, painful bladder syndrome, and painful sex so often travel together. Bladder and bowel problems commonly co-occur across different disorders, and prolonged sensitization through shared nerve pathways may be the link.

20PubMed. Bladder-bowel interactions: Do we understand pelvic organ cross-sensitization? International Consultation on Incontinence Research Society (ICI-RS) 2018 If you have both chronic bladder symptoms and painful intercourse, or both bowel issues and pelvic pain, the connection may not be coincidental. Treating the original source of inflammation can sometimes calm the entire system down.

21PubMed Central. Cross-talk and sensitization of bladder afferent nerves

Treatment Approaches That Address Multiple Causes

Because painful sex so often involves several contributing factors at once, effective treatment usually is not a single intervention. Pelvic floor physical therapy has emerged as one of the most broadly useful treatments. A systematic review found that manual therapy techniques improved pain scores across multiple studies, though the researchers noted the overall quality of evidence ranged from poor to good.

22PubMed Central. The Efficacy of Manual Therapy for Treatment of Dyspareunia in Females: A Systematic Review

What “pelvic floor physical therapy” actually involves surprises most people. It is not standard gym-style exercise. A specialized therapist assesses the muscles internally and externally, identifies areas of tension or weakness, and uses techniques like manual release, biofeedback, dilator training, and progressive desensitization. For people with provoked vestibulodynia, this approach reduced both pain intensity during intercourse and pain-related anxiety in a prospective study.

11The Journal of Sexual Medicine. A Prospective Study of Pelvic Floor Physical Therapy: Pain and Psychosexual Outcomes in Provoked Vestibulodynia

Beyond physical therapy, treatment depends on the specific cause. Hormonal therapy addresses tissue thinning from estrogen loss. Topical steroids manage skin conditions like lichen sclerosus. Nerve-targeted medications, either topical anesthetics or low-dose antidepressants used for their pain-modulating properties, can help with vulvodynia. For endometriosis, hormonal suppression or surgical excision of lesions may reduce deep pain. Cognitive behavioral therapy addresses the anxiety and avoidance patterns that keep the pain cycle spinning.

Pain After Gender-Affirming Surgery

Transgender women and nonbinary people who undergo vaginoplasty can experience pain during penetrative sex related to the neovagina. A scoping review of outcomes after gender-affirming surgery found that vaginal stenosis (narrowing) and dyspareunia were among the most commonly reported complications for those who had feminizing procedures.

23PubMed. Pain and Dysfunction Reported After Gender-Affirming Surgery: A Scoping Review The neovaginal lining, depending on the surgical technique, may not self-lubricate the way a natal vagina does, and scar tissue can form at the vaginal canal. Consistent dilation and use of lubricant are standard parts of post-surgical care, and physical therapists were the clinicians most often involved in managing stenosis and pain.

Transmasculine individuals taking testosterone may also experience vaginal dryness and tissue thinning due to the suppression of estrogen, creating a situation similar to postmenopausal atrophy. Topical estrogen applied locally can help without significantly affecting testosterone levels, though this is a conversation to have with a prescribing provider. The key point is that pain during sex after any gender-affirming intervention is treatable, not an inevitable trade-off, and should be raised with a healthcare team familiar with these specific needs.