Overview
Pain during sex (dyspareunia) can happen before, during, or after sex. It's more common in women but can affect anyone. Many women have it at some point in their lives, and it's especially common after childbirth and around menopause.
Pain at the entrance of the vagina is often from dryness, irritation, infection, or the muscles tightening on their own (vaginismus). Deep pain with thrusting may come from endometriosis, ovarian cysts, fibroids, or pelvic infection. Over time, ongoing pain can cause you to lose interest in sex, so it's worth getting help.
When to get medical care
Causes
Common causes in women include vaginal dryness (not enough arousal or lubrication, breastfeeding, menopause, some birth control or medicines), vaginal infections like yeast or bacterial vaginosis, STIs, vaginismus, irritation from soaps, condoms, or lubricants, and healing after childbirth. Deep pain can come from endometriosis, pelvic inflammatory disease, ovarian cysts, fibroids, a tipped uterus, bladder problems like interstitial cystitis, or irritable bowel syndrome. In men, causes include infections, prostatitis, Peyronie disease, and skin conditions. Past trauma, anxiety, and relationship stress can also play a role.
OwieClear has pages on 4 conditions that can cause pain during sex. Each shows how soon to get care.
Common causes
- EndometriosisSee a doctor if it doesn't get better
Tissue like the lining of the uterus grows outside the uterus.
- Painful sex (dyspareunia)See a doctor if it doesn't get better
Pain during or after sex.
- Vulvar pain (vulvodynia or vaginismus)See a doctor if it doesn't get better
Burning, stinging, or pain at the vulva or vaginal opening that lasts, especially with sex or inserting a tampon, without an infection.
- Pelvic inflammatory disease (PID)Often needs care today
An infection of the uterus, fallopian tubes, or ovaries, often from an untreated STI.
What you can do at home
- Use a water-based or silicone lubricant. Take more time for foreplay and arousal.
- Try different positions to find ones that are more comfortable, especially for deep pain.
- Empty your bladder before sex, and try a warm bath beforehand to relax.
- Avoid scented soaps, douches, and bubble baths that irritate the area.
- Talk with your partner about what hurts and what helps. Stop if it hurts.
- After childbirth, wait until you've healed and feel ready, and use lubrication, especially if you're breastfeeding.
Medicines
Vaginal moisturizers can help dryness. For dryness after menopause, a doctor may prescribe low-dose vaginal estrogen. Infections are treated with antibiotics or antifungals. Pelvic floor physical therapy helps vaginismus and tight muscles, and sex therapy or counseling can help, especially when no physical cause is found.
At the doctor
The doctor will ask about the pain and do an exam to look for a cause. Tell them anything that makes the exam uncomfortable.
Questions you may be asked
- When the pain started, or whether sex has always been painful
- Whether it hurts every time
- Where it hurts: at the entrance or deep inside
- Whether there's bleeding, discharge, or itching
- Whether you've given birth recently or are near menopause
- Your birth control and medicines
- Any past trauma, stress, or relationship concerns
The exam
A pelvic exam, done gently, checking the vulva, vagina, cervix, and pelvic organs.
Tests
- Tests for vaginal infections and STIs
- A urine test
- A Pap test if due
- A pelvic ultrasound
- Laparoscopy (a small camera) if endometriosis is suspected
Prevention
These steps can help prevent pain.
- Use plenty of lubrication
- Use condoms to prevent STIs
- Treat infections promptly
- Avoid irritating products
- Do pelvic floor exercises after childbirth
Check your symptoms
Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.
Sources
Last updated 2026-11-13.