Painful sexual intercourse, known medically as dyspareunia, is genital pain felt during or after sex. It has many possible causes — physical ones like infections, endometriosis, vaginal dryness and structural problems, and psychological ones like anxiety, depression and a history of trauma. It affects both women and men, and the key to relief is identifying the underlying cause. Because the reasons range so widely, anyone with persistent painful sex should see a doctor for proper evaluation and treatment.

Pain during sex is common but should not be dismissed. Understanding the range of causes — and that they can be physical, emotional or both — is the first step toward a comfortable, fulfilling sex life.

Causes of pain during penetration

Dyspareunia can be felt externally on the vulva or internally, and arises from various factors. Health issues that can cause painful intercourse include endometriosis, vaginal infections and sexually transmitted diseases. Other contributors include vaginal dryness, hormonal changes and structural problems. The variety of causes is exactly why a one-size-fits-all answer does not work — the right fix depends on the source.

CategoryExamples
Infections / STIsVaginal and yeast infections, herpes, thrush
GynecologicEndometriosis, fibroids, ovarian cysts
PsychologicalAnxiety, depression, low self-esteem, past abuse
GastrointestinalIBS, constipation
In menThrush, testicle pain or swelling, STIs

Psychological factors

Psychological issues can play a significant role. Anxiety, depression and low self-esteem can inhibit arousal and interfere with lubrication, making intercourse painful — especially when these emotions make it hard to relax. A history of sexual abuse can also contribute to pain during sex. Addressing the emotional side is often as important as treating any physical cause.

Infections and gynecologic issues

Infections such as vaginal and yeast infections can cause painful sex in women, and STIs like herpes can lead to discomfort for both men and women. Gynecologic conditions also contribute: endometriosis, where tissue similar to the uterine lining grows outside the uterus, can cause pain during sex, as can fibroids (noncancerous growths in the uterus) and ovarian cysts. These are common, treatable sources of dyspareunia once identified.

Other factors and pain in men

Gastrointestinal problems such as irritable bowel syndrome (IBS) and constipation can cause pelvic discomfort that makes sex painful. Men can also experience pain during sex, caused by infections like thrush, testicle pain or swelling, or STIs such as herpes. And problems with sexual response — a lack of desire or arousal — can reduce lubrication and lead to painful intercourse. The body and mind are closely linked here.

Diagnosis and treatment

If you are experiencing painful sex, talk to your doctor to find the cause and get appropriate treatment. A thorough evaluation — including a physical exam and a discussion of your sexual history — can identify the underlying issue. Treatment then targets that cause: vaginal dryness can be eased with a sexual lubricant, infections treated with medication, and emotional issues such as anxiety or depression addressed with therapy or counseling. Understanding the cause and seeking the right treatment can restore a comfortable, pain-free and fulfilling sex life.

On infections and ED, read can genital herpes cause ED. On Viagra during pregnancy, see is Viagra safe for pregnancy. And for surgical causes of sexual change, read life after prostate removal.

Frequently asked questions

What is dyspareunia?
It is the medical term for painful sexual intercourse — genital pain felt during or after sex, externally or internally.
What causes painful sex?
Many things: infections, endometriosis, vaginal dryness, structural problems, IBS, and psychological factors like anxiety.
Can men have painful sex?
Yes. Causes in men include thrush, testicle pain or swelling, and STIs such as herpes.
How is it treated?
By addressing the cause: lubricants for dryness, medication for infections, and therapy for emotional factors.

For the full picture of causes and treatments, return to the erectile dysfunction and male sexual health hub.