Sex that suddenly becomes painful is almost always a sign that something has changed in your body, whether that’s an infection, a hormonal shift, a muscle response, or an underlying condition that’s just now making itself known. Up to 16% of American women experience chronic vulvar pain alone, and painful sex affects people of all genders. The good news: most causes are treatable once identified.
Infections Are the Most Common Culprit
If sex hurt out of nowhere, an infection is one of the first things to consider. Yeast infections and bacterial vaginosis are extremely common and can cause irritation, swelling, and rawness that makes penetration painful. Sexually transmitted infections like herpes, genital warts, and chlamydia can do the same, sometimes with visible sores or discharge and sometimes without any obvious signs at all.
Pelvic inflammatory disease (PID) deserves special attention because it can cause deep internal pain during sex. PID is an infection of the reproductive organs, often triggered by untreated chlamydia or gonorrhea. Some people with PID have no symptoms at all beyond pain or bleeding during intercourse, which makes it easy to overlook. Left untreated, PID can cause scarring and long-term fertility problems, so pain that feels deep inside the pelvis rather than at the vaginal opening is worth getting checked promptly.
Hormonal Changes That Affect Vaginal Tissue
A drop in estrogen is one of the most reliable triggers for sudden painful sex. Estrogen keeps vaginal tissue thick, elastic, and naturally lubricated. When levels fall, that tissue becomes thinner, drier, and more fragile. The medical term is vaginal atrophy, and it doesn’t just happen during menopause.
Breastfeeding, certain birth control pills, anti-estrogen medications, and even high stress levels can lower estrogen enough to change how sex feels. The shift can happen over weeks rather than years, which is why the pain can seem sudden. If you’ve recently started a new medication, had a baby, or entered perimenopause, hormonal changes are a strong possibility.
Endometriosis and Ovarian Cysts
Deep pain during sex, the kind that feels like pressure or aching far inside the pelvis, often points to something structural. Endometriosis is a leading cause. In this condition, tissue similar to the uterine lining grows outside the uterus, attaching to pelvic organs and the tissue lining the abdomen. These growths produce their own estrogen, which fuels a cycle of local inflammation. That inflammation irritates nerve endings in the area and, over time, can actually cause new nerve fibers to grow around the lesions, amplifying the pain signal.
Endometriosis can also create adhesions, bands of scar tissue that essentially glue pelvic organs together. When the uterus gets pulled or pushed during penetration, those adhesions resist the movement, producing sharp or aching deep pain. Ovarian cysts can cause a similar sensation. A cyst that’s grown large enough or ruptured can make certain positions or depths of penetration suddenly painful when they weren’t before.
When Muscles Tighten Involuntarily
Sometimes the pain isn’t caused by tissue damage or infection at all. Vaginismus is a condition where the muscles around the vaginal opening contract automatically whenever penetration is anticipated or attempted. It can develop at any point in life, even after years of comfortable sex.
The prevailing explanation is that a fear of pain triggers the pelvic floor muscles to clamp down protectively, creating a cycle: you expect pain, the muscles tighten, the tightening causes pain, and that pain reinforces the expectation. The original trigger varies. It could be a single painful sexual experience, a difficult pelvic exam, a traumatic vaginal delivery, anxiety, negative beliefs about sex, or a history of sexual abuse. Stress from completely unrelated areas of life can also contribute, because chronic tension tends to settle in the pelvic floor the same way it settles in the shoulders and jaw.
Vaginismus responds well to pelvic floor physical therapy, which involves learning to consciously relax those muscles. Some people also benefit from working with a therapist to address the psychological side of the cycle.
Causes That Affect Men
Painful sex isn’t exclusively a women’s health issue. For men, one of the most common causes of sudden pain during or after sex is prostatitis, inflammation of the prostate gland. Chronic prostatitis, sometimes called chronic pelvic pain syndrome, can cause pain during ejaculation, pain in the penis during or after urination, and a deep ache in the pelvic area. Bacterial prostatitis involves an active infection and tends to come on more acutely, while the chronic form can develop gradually and persist for months.
Infections of the foreskin or the head of the penis can also make sex suddenly painful, as can urinary tract infections, tight foreskin (phimosis), or Peyronie’s disease, a condition where scar tissue inside the penis causes curvature and discomfort during erections. Any new pain with erection or ejaculation warrants a visit to a healthcare provider, since most of these conditions are straightforward to diagnose and treat.
What a Diagnostic Workup Looks Like
If you’re nervous about bringing this up with a doctor, it helps to know what to expect. A thorough evaluation starts with your history: when the pain started, where exactly it occurs (at the entrance, deeper inside, or both), whether it happens with all types of penetration or only certain positions, and any recent changes in medications, relationships, or health.
For vulvar or vaginal pain, a physical exam typically includes a cotton swab test, where a soft swab is gently pressed against different areas of the vulva to map where the pain is and how intense it feels. This helps distinguish between pain that’s localized to one spot and pain that’s more widespread. Your provider may also test for infections using a vaginal swab and check for pelvic floor dysfunction, since overactive pelvic muscles are a common and underdiagnosed contributor. The exam is designed to be gentle, and you can ask to stop at any point.
Practical Steps You Can Take Now
While sorting out the underlying cause, a few things can reduce pain in the meantime. Lubricant is the simplest intervention, but quality matters. The World Health Organization recommends lubricants with an osmolality below 1,200 mOsm/kg and a pH around 4.5, which matches the vagina’s natural environment. Many popular drugstore lubricants have been reformulated to meet these standards. If you’ve been sensitive to lubricants in the past, look for products that specifically advertise low osmolality or WHO compliance on the label. Water-based options tend to be gentlest for sensitive tissue.
Beyond lubricant, pay attention to what makes the pain better or worse. Certain positions may reduce deep pain by limiting penetration depth. Spending more time on arousal before penetration increases natural lubrication and relaxes pelvic muscles. If the pain is consistently worse at certain times of your menstrual cycle, that’s useful information to bring to your provider, as it can point toward hormonal or endometriosis-related causes.
Avoiding scented soaps, douches, and detergents near the genital area can also help rule out contact irritation, which is a surprisingly common and easily fixable trigger that people often overlook.

