Why Can’t I Have Sex? Medical and Mental Reasons

There are dozens of reasons sex might feel impossible, painful, or off-limits right now, and nearly all of them are treatable or temporary. The cause could be physical pain, a medical condition, hormonal changes, medication side effects, recovery from surgery or childbirth, or psychological factors. Understanding which category your situation falls into is the first step toward fixing it.

Pain During Penetration

One of the most common reasons people can’t have sex is that it hurts. For women and people with vaginas, this pain broadly falls into two categories: pain at the entrance (superficial) and pain deeper inside (deep). These have different causes and different solutions.

Superficial pain is often caused by involuntary tightening of the pelvic floor muscles, a condition now classified as genitopelvic pain/penetration disorder. Your muscles clamp down during any attempt at penetration, sometimes so forcefully that insertion becomes physically impossible. Some people have experienced this their entire lives (primary), while others develop it after a period of pain-free sex (secondary). Pelvic floor physical therapy is one of the most effective treatments, gradually retraining the muscles to relax.

Deep pain during sex can signal conditions like endometriosis, where tissue similar to the uterine lining grows in places it shouldn’t. Lesions in the space behind the uterus are particularly problematic because that area gets compressed during deep penetration. A tilted uterus can also cause deep pain, as the penis or toy may press directly against the uterus or stretch the ligaments supporting it. These conditions are diagnosable and often manageable with the right medical care.

Hormonal Changes That Affect the Body

Estrogen plays a major role in keeping vaginal tissue thick, elastic, and naturally lubricated. When estrogen drops, as it does during menopause, breastfeeding, or certain cancer treatments, the vaginal lining becomes thinner, drier, and more fragile. This condition, called genitourinary syndrome of menopause, can make sex feel like sandpaper or cause light bleeding afterward. The drop in estrogen also shifts the vagina’s acid balance, making infections more likely on top of the discomfort.

For men, testosterone helps blood vessels in the penis dilate properly. Low testosterone can contribute to difficulty getting or maintaining erections, though it’s rarely the only factor. Hormonal causes are treatable, typically with topical estrogen for vaginal dryness or testosterone therapy when levels are genuinely low.

Erectile Dysfunction

Erections depend on two systems working together: blood flow and nerve signaling. Your penis needs enough blood flowing in to become firm, and the valves inside it need to close properly to keep that blood trapped. When blood vessels are narrowed or damaged by conditions like diabetes, high blood pressure, or heart disease, not enough blood arrives. In other cases, the valves don’t seal, so blood flows back out before you can maintain an erection.

The other pathway is neurological. Signals travel from your brain through your spinal cord to the nerves in your penis, triggering the physical chain of events. Nerve damage from diabetes, spinal cord injuries, or surgery in the pelvic area can interrupt those signals entirely. Both vascular and nerve-related erectile dysfunction are common and have effective treatments ranging from oral medications to devices to surgical options.

Medications That Kill Desire or Function

If sex suddenly became difficult or unappealing after starting a new medication, the drug itself may be the problem. Antidepressants are among the worst offenders. Up to 80% of patients on certain antidepressants report sexual side effects that emerged after starting treatment, including low desire, difficulty with arousal, and trouble reaching orgasm. This is separate from the sexual dysfunction that depression itself causes, which affects up to 70% of people with major depression even before medication.

Antipsychotics, blood pressure medications, hormonal birth control, and anti-seizure drugs can all interfere with sexual function too. If you suspect a medication is the cause, a prescriber can often adjust the dose, switch to an alternative with fewer sexual side effects, or add a second medication to counteract the problem. Don’t stop taking prescribed medications on your own.

Recovery Periods After Surgery

Certain surgeries require a stretch of pelvic rest, meaning no penetrative sex, to let internal tissues heal safely.

  • Heart procedures: After angioplasty with a stent, you may only need to wait a few days for the catheter insertion site to heal. After bypass surgery, the recommendation is typically six to eight weeks so the breastbone can knit back together. The physical demand of sex for most adults is comparable to climbing two flights of stairs or walking briskly.
  • Prostate surgery: Doctors generally clear patients for sex about six weeks after surgery. For receptive anal sex, the recommendation is closer to eight weeks because the entire perineal area remains inflamed and needs more time. Erectile function after prostate surgery can take months or longer to return and may require rehabilitation.
  • Hysterectomy: Most surgeons recommend six to eight weeks of pelvic rest to allow the vaginal cuff (the stitched top of the vagina) to heal completely.

After Childbirth

There’s no single required waiting period after giving birth. The traditional advice to wait six weeks is really just the typical timing of the first postpartum checkup, not a biological deadline. What actually matters is that any vaginal tears have healed, bleeding has stopped, and you feel physically ready. If you had a tear that required surgical repair, your provider may want to examine you before clearing you for sex, or suggest waiting longer than the standard timeline. This applies to both vaginal deliveries and cesarean sections, since a C-section involves abdominal healing as well.

Breastfeeding adds another layer. It suppresses estrogen, which can cause vaginal dryness and make sex uncomfortable even after everything has healed structurally. A water-based lubricant or, in some cases, a low-dose topical estrogen can help.

Active Infections

If you’re being treated for a sexually transmitted infection, you need to abstain from sex until the treatment is fully effective, not just until you feel better. For chlamydia and gonorrhea treated with a single dose of antibiotics, the recommendation is to wait seven days after taking the medication. For a seven-day antibiotic course, you should wait until 24 hours after the final dose. Both you and your partner need to complete treatment and observe the waiting period. Having sex before that window closes risks reinfection, putting you right back where you started.

Yeast infections, bacterial vaginosis, and urinary tract infections aren’t STIs, but sex during an active infection can worsen symptoms, delay healing, and cause significant pain.

Psychological and Emotional Barriers

Sometimes the barrier isn’t physical at all. Anxiety about performance, past trauma, relationship conflict, body image issues, stress, and grief can all make sex feel impossible. Your brain is the primary sex organ in the sense that arousal starts there. If your nervous system is stuck in a stress response, the physical mechanics of arousal simply don’t activate the way they should.

Sexual trauma deserves specific mention. Survivors may experience involuntary muscle guarding, flashbacks, dissociation, or a complete shutdown of desire. These responses are protective, not broken. Therapy approaches like trauma-focused cognitive behavioral therapy or EMDR have strong evidence for helping people reclaim sexual function after trauma, often in combination with pelvic floor therapy if the body has developed a physical guarding pattern.

Low desire with no clear physical cause is also worth exploring with a therapist who specializes in sexual health. Desire is complex, shaped by relationship dynamics, mental health, sleep, stress levels, and even how you feel about your own body on a given day. It rarely has a single fix, but it almost always responds to the right combination of interventions.