Several sexually transmitted infections can cause pain during intercourse, including chlamydia, gonorrhea, trichomoniasis, and genital herpes. The type of pain you experience, whether it’s at the point of entry or deeper inside the pelvis, often points to which infection is involved and how far it has progressed.
Pain during sex is one of the more common reasons people discover they have an STI, but it’s not always the first symptom. Many of these infections cause no symptoms at all in their early stages, which is part of what makes them so easy to spread and so damaging when left untreated.
Chlamydia and Gonorrhea
Chlamydia and gonorrhea are the two most common bacterial STIs linked to painful intercourse, and they work through a similar mechanism. Both infect the mucous membranes of the reproductive tract. In women, they target the cervix, causing cervicitis, which is inflammation of the cervical tissue. This inflamed tissue becomes tender and sensitive to contact, so penetration can trigger sharp or aching pain that feels deep rather than at the surface.
In men, these bacteria typically cause urethritis, an inflammation of the urethra. This produces a burning sensation during sex and urination, sometimes with discharge. The discomfort tends to be more noticeable at the tip of the penis rather than deep in the pelvis.
What makes chlamydia and gonorrhea particularly concerning is how often they produce no early symptoms at all. By the time pain during sex develops, the infection may have been present for weeks. Both infections clear up with antibiotics, and symptoms typically resolve within about seven days of starting treatment. You should avoid sex during that window to prevent reinfection and give the tissue time to heal.
How Untreated Infections Lead to Pelvic Pain
When chlamydia or gonorrhea goes untreated, bacteria can travel upward from the cervix into the uterus, fallopian tubes, and surrounding pelvic tissue. This progression is called pelvic inflammatory disease (PID), and it’s one of the most serious consequences of ignoring an STI. Between 10% and 40% of untreated chlamydia or gonorrhea infections in women eventually develop into PID.
PID causes deep pain during intercourse, the kind that worsens with deeper penetration and feels like a dull, heavy ache in the lower abdomen. The pelvic organs and the muscles and connective tissue surrounding them become inflamed and swollen. Because the structures in the pelvic floor are all physically connected, inflammation in one area spreads tension and sensitivity across the entire region. This pain can persist even after the initial infection is treated if scarring has already formed in the reproductive organs. PID is also a leading cause of infertility, ectopic pregnancy, and chronic pelvic pain.
Trichomoniasis
Trichomoniasis is caused by a parasite rather than bacteria, and it produces a different kind of pain. Rather than the deep pelvic ache associated with PID, trichomoniasis causes surface-level irritation: itching, burning, redness, and soreness of the vulva and vaginal tissue. This inflamed tissue makes sex feel unpleasant or outright painful, particularly at the point of entry.
The CDC notes that symptoms of trichomoniasis range from mild irritation to severe inflammation. Many people with trichomoniasis experience discomfort during urination as well. The infection also causes genital inflammation that increases vulnerability to other STIs, including HIV. Treatment takes about one week with antiparasitic medication, after which the irritation and pain typically resolve.
Genital Herpes
Genital herpes causes pain through a more direct mechanism: open sores. During an active outbreak, herpes produces clusters of small blisters on the genitals that break open into painful ulcers. Any friction against these lesions, including during intercourse, causes significant stinging and burning pain. The pain is localized to wherever the sores are, which can be on the external genitals, the inner thighs, or inside the vaginal canal or on the cervix.
Unlike bacterial STIs, herpes has no cure. The virus stays in the body permanently and reactivates periodically. During outbreaks, sores typically heal on their own within about a month, but antiviral medication can shorten that timeline to 7 to 10 days and reduce the severity of pain. Many people with herpes learn to recognize the early tingling sensation that signals an outbreak is coming and avoid sex during those periods.
Mycoplasma Genitalium
A lesser-known STI called Mycoplasma genitalium is gaining attention as a significant cause of reproductive tract inflammation. It causes urethritis in men and is associated with pelvic inflammatory disease in women, meaning it can produce the same kinds of deep pelvic pain during sex as chlamydia and gonorrhea. Studies have found it’s roughly as common as chlamydia in sexually active populations, detected in about 9.5% of men who have sex with men in one large study. Standard STI panels don’t always test for it, so it can go undetected while causing persistent symptoms.
Entry Pain vs. Deep Pain
The location of your pain during sex is a useful clue about what might be causing it. Pain at the point of entry, felt right at the vaginal opening or on the external genitals, often points to surface-level infections. Herpes sores, trichomoniasis-related inflammation, and vulvar irritation from any STI tend to cause this type of discomfort. You might also notice this pain when inserting a tampon, not just during sex.
Deep pain that occurs with thrusting and feels like it’s coming from inside the pelvis suggests the infection has moved beyond the surface. Cervicitis from chlamydia or gonorrhea causes this, and PID makes it worse. Deep pain can also be influenced by the depth of penetration and may not be present in every sexual position. If you’re experiencing deep pelvic pain during sex that you haven’t felt before, that’s a strong signal to get tested promptly, because it may indicate an infection that has already spread beyond its initial site.
Screening and Recovery Timelines
Because so many STIs cause pain only after they’ve progressed, routine screening is the most reliable way to catch infections before they cause damage. The CDC recommends annual chlamydia and gonorrhea testing for all sexually active women under 25, and for older women with risk factors like new or multiple partners. Men who have sex with men should be tested for syphilis, chlamydia, and gonorrhea at least once a year, with more frequent testing (every 3 to 6 months) for those with multiple partners.
If you’re already experiencing pain during sex and an STI is diagnosed, the recovery timeline depends on the infection. Chlamydia, gonorrhea, and trichomoniasis all respond to treatment within about a week. Most guidelines recommend avoiding intercourse for 7 to 14 days during treatment. Herpes outbreaks take longer to resolve but can be managed with antiviral medication. PID may require a longer treatment course, and if scarring has already developed, some degree of pelvic discomfort may persist even after the infection itself is gone.

