When Painful Sex Points to an Infection
SaveNot every case of painful sex or pelvic pain is an infection, but enough of them are that it is worth knowing what an infectious cause tends to look like. This covers which STIs commonly cause pain during sex or pelvic pain, how pelvic inflammatory disease fits in as a more serious possibility, and what combination of symptoms is worth being seen for rather than waiting out.
Last updated: July 2026
Can an STI actually cause pain during sex or pelvic pain?
Yes. Chlamydia and gonorrhea both commonly infect the cervix, causing cervicitis — inflammation that can make deep penetration painful and cause the pain to linger for hours afterward. Both infections are frequently silent otherwise, meaning pain during sex can be the first and only symptom a person notices, well before any discharge or other sign draws attention to an infection 1Ref 1Centers for Disease Control and Prevention (2024).About Chlamydia.Supports that chlamydia is a common, curable, frequently asymptomatic bacterial STI that can cause pelvic inflammatory disease and infertility in women if untreated..
Painful sex from an STI is usually deep and internal rather than at the entrance, and it is often accompanied by another symptom — unusual discharge, spotting after sex, or burning with urination — even if that second symptom is mild enough to dismiss on its own. Painful sex causes in women covers the fuller range of both infectious and non-infectious reasons sex can hurt, since infection is one possibility among several worth ruling in or out.
The timing of the pain relative to the cause is what makes this confusing in practice: cervicitis from chlamydia can be present for weeks or months, quietly, before a person connects the pattern of pain to anything beyond bad luck or a rough encounter. Because the infection itself does not hurt outside of sex for many people, pain during intercourse is sometimes the only clue available, which is part of why it is worth naming directly to a clinician rather than describing only the more general symptom of pelvic discomfort.
Pelvic inflammatory disease — when infection spreads further
Pelvic inflammatory disease (PID) happens when an untreated infection, usually chlamydia or gonorrhea, spreads upward from the cervix into the uterus, fallopian tubes, or ovaries. What is pelvic inflammatory disease explains this process in more depth, but the core symptom pattern is pelvic or lower abdominal pain, often dull and persistent rather than sharp, sometimes worse during sex or during a period, and sometimes accompanied by fever or unusual discharge.
Pelvic inflammatory disease symptoms can be subtle enough that a person attributes them to ordinary cramping for weeks before seeking care, which matters because PID is also the pathway through which an STI most commonly causes lasting fertility problems. Pain that is new, that persists beyond a single cycle, or that comes with fever is worth being evaluated for specifically because of this risk, not because pelvic pain is always serious.
Trichomoniasis and other infectious causes
Trichomoniasis, a common curable infection caused by a parasite, can cause vaginal irritation, unusual discharge, and pain during sex, though the majority of people who have it have no symptoms at all 2Ref 2Centers for Disease Control and Prevention (2024).About Trichomoniasis.Supports that trichomoniasis is a common curable STI caused by a parasite, that the majority of infected people have no symptoms, and that it is treated with oral antibiotics.. Because it is so often silent, trichomoniasis is easy to overlook as a cause of intermittent discomfort during sex, especially when the discomfort is mild or comes and goes.
Mycoplasma genitalium, a less commonly tested-for organism, can also cause cervicitis with a similar pain and discharge pattern, and is generally only tested for specifically once more common causes have been considered 3Ref 3Centers for Disease Control and Prevention (2021).Mycoplasma genitalium - STI Treatment Guidelines.Supports that M. genitalium testing is not recommended for an initial cervicitis workup but is considered for persistent symptoms after empiric treatment for more common causes.. Genital herpes, particularly during an outbreak, can cause pain during sex as well, though the pain is usually associated with visible sores rather than deep pelvic discomfort.
What these causes share, beyond the mechanism of inflammation, is how ordinary they are. None of them require an unusual exposure or an obviously risky encounter — a long-term monogamous relationship where one partner had an infection before it began is enough. That is a large part of why an infectious cause is worth ruling out even when nothing about a person's sexual history feels like an obvious risk factor.
Signs that point away from an STI
Pain that is sharp and localized at the entrance to the vagina rather than deep inside, pain tied closely to vaginal dryness, or pain that has been present consistently since a person's first sexual experience are all patterns that point toward a non-infectious cause more than an STI. Conditions like vaginismus, endometriosis, and vaginal dryness from menopause or certain medications are common non-infectious reasons sex is painful, and they are addressed differently than an infection would be.
A history of consistent, monogamous testing with no new partners lowers the likelihood that a new STI explains a change in symptoms, though it does not rule out an infection that has been present and silent for some time. The distinction matters less for deciding whether to seek care — pain that is new or worsening is worth evaluating either way — and more for what the evaluation itself is likely to focus on first.
What an evaluation actually involves
A clinician evaluating pain during sex or pelvic pain will typically start with a pelvic exam, checking for cervical tenderness, unusual discharge, or tenderness of the uterus and ovaries that can suggest PID, alongside a swab test for chlamydia, gonorrhea, and sometimes trichomoniasis. Additional testing for syphilis or HIV may be offered depending on individual risk and history, since anyone found to have one STI is generally offered testing for others as well 4Ref 4Centers for Disease Control and Prevention (2021).STI Screening Recommendations.Supports CDC's population-specific STI screening recommendations, used here to support that a person diagnosed with one STI is generally offered testing for others as well..
Being specific with a clinician about exactly where the pain is, when it happens relative to sex or a menstrual cycle, and what else has changed — a new partner, a missed period, new discharge — helps direct the exam and testing toward the most likely cause rather than a broad, unfocused workup.
Treatment and what happens next
Chlamydia, gonorrhea, and trichomoniasis are all curable with antibiotics, and pain caused directly by cervical inflammation typically improves within days of starting treatment. PID is also treated with antibiotics, chosen to cover the several organisms that can cause it, and current guidance specifically added an additional antibiotic to the standard PID regimen to broaden that coverage 5Ref 5Workowski KA, Bachmann LH, Chan PA, et al. (Centers for Disease Control and Prevention) (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.The comprehensive U.S. evidence-based diagnostic and treatment recommendations for chlamydia, gonorrhea, trichomoniasis, and PID, including the addition of metronidazole to the standard PID regimen..
Any recent sex partner is worth having evaluated and treated as well, since chlamydia and gonorrhea both pass easily between partners who are not treated together, and reinfection is one of the more common reasons symptoms return after treatment that initially worked.
Common questions
Related
Sexual health
When a Sore Throat Follows Oral SexSexual health
The Medical Reasons Sex Hurts, When It Isn't an InfectionSexual health
When an Infection Causes Testicular Pain
Say it back
How would you explain this to someone you love?
Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.
When pelvic pain needs same-day evaluation
- —Pelvic pain with fever or chills
- —Pain severe enough to interfere with standing, walking, or daily activity
- —Pelvic pain along with nausea, vomiting, or feeling faint
- —Pain that comes with abnormal vaginal bleeding, especially after sex or between periods
Severe pelvic pain with fever, or pain that comes on suddenly and intensely, is a reason to seek same-day or emergency care rather than wait for a scheduled appointment.
This describes general symptom patterns linking painful sex and pelvic pain to sexually transmitted infections for educational purposes. It is not a diagnosis. A pelvic exam and testing are needed to identify the actual cause of any individual case.
References
- 1.Centers for Disease Control and Prevention (2024). About Chlamydia. CDC (cdc.gov/chlamydia). linkSupports that chlamydia is a common, curable, frequently asymptomatic bacterial STI that can cause pelvic inflammatory disease and infertility in women if untreated.
- 2.Centers for Disease Control and Prevention (2024). About Trichomoniasis. CDC (cdc.gov/trichomoniasis). linkSupports that trichomoniasis is a common curable STI caused by a parasite, that the majority of infected people have no symptoms, and that it is treated with oral antibiotics.
- 3.Centers for Disease Control and Prevention (2021). Mycoplasma genitalium - STI Treatment Guidelines. CDC STI Treatment Guidelines, 2021. linkSupports that M. genitalium testing is not recommended for an initial cervicitis workup but is considered for persistent symptoms after empiric treatment for more common causes.
- 4.Centers for Disease Control and Prevention (2021). STI Screening Recommendations. CDC STI Treatment Guidelines, 2021. linkSupports CDC's population-specific STI screening recommendations, used here to support that a person diagnosed with one STI is generally offered testing for others as well.
- 5.Workowski KA, Bachmann LH, Chan PA, et al. (Centers for Disease Control and Prevention) (2021). Sexually Transmitted Infections Treatment Guidelines, 2021. MMWR Recommendations and Reports, Vol. 70, No. 4. doi:10.15585/mmwr.rr7004a1 ✓The comprehensive U.S. evidence-based diagnostic and treatment recommendations for chlamydia, gonorrhea, trichomoniasis, and PID, including the addition of metronidazole to the standard PID regimen.
5 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — citations link their sources. Editorial policy