If sex was comfortable before and now it hurts, something has changed in your body. The pain isn’t something you should push through or dismiss. It has a physical explanation, and in most cases, it’s treatable once you identify the cause. The medical term for this is secondary dyspareunia, meaning pain that develops after a period of pain-free sexual activity. The causes range from infections and hormonal shifts to muscle tension and medication side effects.
Where the Pain Happens Matters
The location of your pain is the single most useful clue for figuring out what’s going on. Pain at the vaginal opening during penetration (sometimes called entry pain) points to a different set of causes than deep pain felt in the pelvis or lower abdomen during thrusting. Entry pain is more commonly tied to infections, skin irritation, dryness, or tight pelvic floor muscles. Deep pain is more often linked to conditions like endometriosis, ovarian cysts, pelvic inflammatory disease, or adhesions from prior surgery.
Paying attention to when exactly the pain starts, where you feel it, and whether it lingers afterward will help you describe it accurately and get to the right answer faster.
Infections That Cause Sudden Pain
A vaginal infection is one of the most common reasons sex becomes painful out of nowhere. Yeast infections cause the vagina and vulva to become red, swollen, and itchy, often with a thick, white discharge. That inflammation makes the tissue tender and easily irritated during sex. Bacterial vaginosis, an overgrowth of certain bacteria that normally live in the vagina, can also cause discomfort, though it sometimes produces no symptoms at all beyond a thin discharge with a fishy odor.
Urinary tract infections are another frequent culprit. The burning and pressure from a UTI can make any contact around the urethra and vaginal area painful. Sexually transmitted infections like trichomoniasis or chlamydia can trigger pelvic inflammatory disease, which inflames the uterus, fallopian tubes, or surrounding tissue and causes deep pain during sex. If your pain came on within days and is accompanied by unusual discharge, odor, burning during urination, or pelvic tenderness, an infection is a strong possibility and typically clears with treatment.
Hormonal Changes and Vaginal Dryness
Estrogen keeps vaginal tissue thick, elastic, and lubricated. When estrogen drops, the vaginal lining thins, loses its natural folds, and produces less moisture. The tissue becomes fragile enough to develop tiny tears during friction, which is why sex can go from comfortable to painful seemingly overnight. This isn’t exclusive to menopause. Estrogen can drop significantly during breastfeeding, in the postpartum period, or even at certain points in your menstrual cycle.
Hormonal birth control is a less obvious trigger. Some contraceptive pills, patches, and hormonal IUDs lower the amount of estrogen available to vaginal tissue. If your pain started weeks or months after beginning a new contraceptive, the timing may not be coincidental. Anti-estrogen medications used for endometriosis or fibroids have the same effect. Certain antidepressants, particularly SSRIs, can reduce lubrication and make arousal slower, both of which contribute to friction and pain.
Cancer treatments like chemotherapy and hormone therapy can cause a steep, sudden drop in estrogen, producing vaginal dryness that feels like it appeared out of nowhere.
Pelvic Floor Muscles That Won’t Relax
Your pelvic floor is a hammock of muscles at the base of your pelvis. When those muscles become chronically tight, a condition called pelvic floor hypertonicity, they can clamp down around the vaginal opening and make penetration feel like hitting a wall. This tightness often develops in response to stress, anxiety, a previous painful experience, or even just anticipating pain from a prior episode. The body tenses to protect itself, and the muscles essentially get stuck in that contracted state.
What makes this tricky is that it creates a cycle. Pain leads to muscle guarding, which causes more pain, which causes more guarding. People who experience painful periods or bladder sensitivity are more likely to develop this pattern, possibly because the nerves serving the bladder, uterus, and pelvic floor overlap and can amplify each other’s signals. Physical therapy focused on the pelvic floor is one of the most effective treatments. A trained therapist uses manual techniques, breathing exercises, and stretches to help the muscles learn to release again.
Products That Irritate Sensitive Tissue
Sometimes the cause isn’t inside your body at all. A new lubricant, condom, soap, laundry detergent, or even toilet paper can trigger irritation or an allergic reaction on vulvar and vaginal tissue, which is far more sensitive than skin elsewhere on your body. Propylene glycol, a common ingredient in water-based lubricants, is a known cause of both irritant contact dermatitis and allergic reactions. Glycerin, parabens, fragrances, and spermicides are other frequent offenders.
If your pain coincides with switching any product that contacts your genital area, try eliminating it. For lubricants, look for formulations with minimal ingredients and no added fragrance, glycerin, or parabens. Silicone-based lubricants tend to contain fewer potential irritants than water-based options. A simple elimination approach, removing one product at a time, often solves the problem within a week or two.
Endometriosis and Ovarian Cysts
Endometriosis occurs when tissue similar to the uterine lining grows outside the uterus, attaching to the ovaries, fallopian tubes, bowel, or the space behind the uterus. These growths respond to your hormonal cycle, swelling and bleeding in places they shouldn’t. Deep pain during sex, especially in certain positions, is a hallmark symptom. The pain often worsens around your period and may be accompanied by heavy or painful periods, pain with bowel movements, or difficulty getting pregnant.
Ovarian cysts can also cause sudden deep pain during sex. Most ovarian cysts are small, harmless, and resolve on their own within a few cycles. But larger cysts or those that rupture can cause sharp, one-sided pelvic pain that flares with movement or deep penetration. Bartholin’s cysts, which form near the vaginal opening when a lubricating gland gets blocked, cause a tender lump that makes entry painful.
Stress, Anxiety, and the Pain Response
Psychological factors don’t mean the pain is imaginary. Stress, anxiety, relationship tension, or a history of trauma can directly change how your nervous system processes sensation. Your brain can amplify pain signals through a process called central sensitization, where the nervous system becomes increasingly reactive to stimulation that previously felt fine. Over time, even light touch can register as painful.
This is especially relevant if you’ve had one painful sexual experience and now dread the next one. That anticipation alone can trigger muscle tension, reduce arousal and lubrication, and lower your pain threshold before anything has even happened. Addressing the psychological component alongside any physical cause is often necessary to fully resolve the pain. Cognitive behavioral therapy and mindfulness-based approaches have strong evidence for helping break this cycle.
Postpartum and Post-Surgical Pain
Childbirth can change the landscape of your pelvic anatomy. Vaginal tearing, episiotomy scars, and general tissue trauma from delivery can make sex painful for weeks or months afterward. Scar tissue is less flexible than the surrounding skin and can create tight, tender spots at the vaginal opening. Hormonal shifts during breastfeeding compound the problem by thinning vaginal tissue and reducing lubrication.
Pelvic or abdominal surgery, including cesarean sections, hysterectomies, and procedures for endometriosis, can also produce adhesions. These are bands of scar tissue that form between internal organs, sometimes pulling structures into positions that make deep penetration painful. If your pain started after a surgical procedure, adhesions are worth investigating.
What to Pay Attention To
When you’re trying to sort out what’s happening, tracking a few details makes a real difference. Note whether the pain is at the entrance or deep inside, whether it’s sharp or burning or aching, whether it happens only with penetration or also with tampon use or sitting, and whether you have any other symptoms like discharge, bleeding, or pelvic pressure. Think about what changed around the time the pain started: a new medication, a new product, a stressful period, recent childbirth, or a shift in your cycle.
Most causes of sudden painful sex are highly treatable. Infections clear with medication. Dryness responds to lubricants or, when needed, topical estrogen. Tight pelvic floor muscles improve with physical therapy. Product sensitivities resolve once you identify and remove the irritant. The key is not to wait and hope it goes away on its own, because pain that persists tends to recruit more of your nervous system into the problem, making it harder to reverse the longer it continues.

