Diarrhea isn’t usually thought of as an STI symptom, but a number of sexually transmitted germs can cause it. Some are stomach bugs that spread through sex involving the anus, and others are familiar infections such as chlamydia, syphilis and herpes that inflame the bowel.1Journal of the European Academy of Dermatology and Venereology. 2021 European Guideline on the management of proctitis, proctocolitis and enteritis caused by sexually transmissible pathogens Because the symptoms look like food poisoning or bowel disease, these infections are often missed unless someone asks about sex.2PubMed Central. Separating Infectious Proctitis from Inflammatory Bowel Disease—A Common Clinical Conundrum
Two Ways Sex Can Upset Your Gut
Doctors sort these infections by which part of the bowel is inflamed. Proctitis means inflammation of the rectum, roughly the last 10 to 12 cm of bowel, causing rectal pain, discharge, or a constant urge to go.3Centers for Disease Control and Prevention. Proctitis, Proctocolitis, and Enteritis When inflammation spreads higher into the colon, diarrhea and cramps join those rectal symptoms.3Centers for Disease Control and Prevention. Proctitis, Proctocolitis, and Enteritis Infection higher up in the small bowel usually causes diarrhea and cramping without rectal pain.3Centers for Disease Control and Prevention. Proctitis, Proctocolitis, and Enteritis
The routes of spread go beyond intercourse. Rectal infections pass through genital-anal contact, and some through fingers and sex toys.1Journal of the European Academy of Dermatology and Venereology. 2021 European Guideline on the management of proctitis, proctocolitis and enteritis caused by sexually transmissible pathogens Gut germs like Shigella pass through oral-anal contact, called rimming.1Journal of the European Academy of Dermatology and Venereology. 2021 European Guideline on the management of proctitis, proctocolitis and enteritis caused by sexually transmissible pathogens Only a tiny amount of stool needs to change hands, and for germs like Shigella a very small dose is enough to cause illness.
Gut Germs Spread Through Sex
Shigella is the leading sexually spread cause of diarrhea. It causes shigellosis, a severe bowel illness that spreads sexually, especially among men who have sex with men.4PubMed Central. The evolution and international spread of extensively drug resistant Shigella sonnei One type, Shigella sonnei, is also a common cause of bloody dysentery in children and the general public.5PubMed Central. Shigella sonnei, an emerging multidrug-resistant sexually transmitted pathogen in Franche-Comté, France Sexually linked outbreaks have been reported in the UK and other wealthy countries.6PubMed. Invasive shigellosis in MSM
Shigella infection often starts with fever and cramping, followed by frequent diarrhea. The stool may contain blood or mucus as the bowel lining is damaged. Many cases improve within a week, but some need antibiotics.
Parasites can also spread through sex. Giardia, better known from contaminated water, can be passed through oral sex in a significant number of cases.7PubMed. Giardiasis: a common, sexually transmissible parasitic diarrhea with pitfalls in diagnosis The amoeba Entamoeba histolytica is usually caught from food or water in poorer countries, but it is now spreading through sex in wealthy countries.8PubMed Central. Amebiasis as a sexually transmitted infection: A re-emerging health problem in developed countries People carrying it with no symptoms are the main source in sexual spread, so a partner who feels fine can still pass it on.8PubMed Central. Amebiasis as a sexually transmitted infection: A re-emerging health problem in developed countries It can cause bloody diarrhea, weight loss and stomach pain, and sometimes a liver abscess months to years later.9Oxford Academic. State-of-the-Art Review: Infectious Diarrhea
An amoeba infection can drag on for weeks rather than days, and pain on the right side under the ribs can signal that the liver is involved.
Cryptosporidium, a common diarrhea parasite, may also spread sexually among men who have sex with men.10PubMed. Factors associated with Cryptosporidium in men who have sex with men: A systematic review
Shigella illness can leave after-effects. Some people develop joint pain, sometimes with eye or urinary irritation.9Oxford Academic. State-of-the-Art Review: Infectious Diarrhea Rarely, irritable bowel symptoms linger after the infection clears.9Oxford Academic. State-of-the-Art Review: Infectious Diarrhea
Chlamydia, Gonorrhea, Syphilis and Herpes in the Bowel
Gonorrhea, chlamydia, syphilis and herpes are the most common sexually transmitted infections of the anus and rectum.1Journal of the European Academy of Dermatology and Venereology. 2021 European Guideline on the management of proctitis, proctocolitis and enteritis caused by sexually transmissible pathogens In one group of men with proctitis, an STI was found in 86%, with gonorrhea the most common.11PubMed. Sexually transmitted infections as a cause of proctitis in men who have sex with men Bleeding and pain were the most frequent complaints in that group.11PubMed. Sexually transmitted infections as a cause of proctitis in men who have sex with men Standard urine tests only check the genitals, not the rectum, so a rectal swab is needed to find rectal chlamydia or gonorrhea.
LGV (lymphogranuloma venereum) is an aggressive type of chlamydia caused by particular strains, and it is the type most likely to cause bloody diarrhea, with inflammation of the rectum and colon.12PubMed Central. Lymphogranuloma venereum (LGV) proctocolitis mimicking rectal lymphoma It can also bring fever, night sweats, weight loss and deep ulcers in the rectum.12PubMed Central. Lymphogranuloma venereum (LGV) proctocolitis mimicking rectal lymphoma13American Journal of Gastroenterology. S2560 Lymphogranuloma Venereum Proctitis That is why it can be confused with serious bowel disease or even cancer.
Syphilis in the bowel most often shows up as blood in the stool, in about two-thirds of cases, and anal pain in about half.14PubMed Central. Lower Gastrointestinal Syphilis: Case Series and Literature Review It can cause long-lasting diarrhea in otherwise healthy people.15The Brazilian Journal of Infectious Diseases. INTESTINAL SPIROCHETOSIS DUE TO SYPHILIS AS A CAUSE OF CHRONIC DIARRHEA IN AN IMMUNOCOMPETENT PATIENT A single penicillin injection cleared symptoms completely in one reported case.15The Brazilian Journal of Infectious Diseases. INTESTINAL SPIROCHETOSIS DUE TO SYPHILIS AS A CAUSE OF CHRONIC DIARRHEA IN AN IMMUNOCOMPETENT PATIENT Because it may be painless, it is easily mistaken for colitis.
Herpes in the rectum more often causes constipation than diarrhea, with severe pain and sores.16PubMed. Herpes simplex virus proctitis in homosexual men. Clinical, sigmoidoscopic, and histopathological features Because it affects nearby nerves, it can also cause trouble urinating and numbness near the tailbone.16PubMed. Herpes simplex virus proctitis in homosexual men. Clinical, sigmoidoscopic, and histopathological features About 70% of rectal herpes is caused by HSV-2, the type usually linked to genital herpes.17PubMed Central. Herpes Simplex Proctitis Mimicking Inflammatory Bowel Disease in a Teenaged Male
HIV and Diarrhea
Up to 70% of people have stomach symptoms such as diarrhea, nausea or vomiting in the first weeks of HIV infection.18PubMed Central. HIV and the Gastrointestinal Tract. This diarrhea often clears on its own but can be severe enough to cause weight loss.18PubMed Central. HIV and the Gastrointestinal Tract. Early HIV often resembles flu, with fever, sore throat and swollen glands, usually two to four weeks after exposure. So diarrhea with fever and rash weeks after a risky encounter is a reason to get an HIV test. Modern tests can detect infection at this stage.
Advanced HIV brings other causes. A virus called cytomegalovirus (CMV) can infect any part of the bowel, most often the colon.19PubMed. Viruses causing diarrhoea in AIDS In such cases diarrhea was the main symptom in about 7 in 10, often lasting around two months.20PubMed Central. Gastrointestinal cytomegalovirus infection in persons with HIV: a retrospective case series study Almost all had already developed AIDS-related illness.20PubMed Central. Gastrointestinal cytomegalovirus infection in persons with HIV: a retrospective case series study Treated HIV rarely leads to these gut infections, since cytomegalovirus bowel disease mainly affects people with very low immunity.
Signs Your Diarrhea Could Be an STI
- Rectal pain or a constant urge to go so combining several sensible steps is the best approach.3Centers for Disease Control and Prevention. Proctitis, Proctocolitis, and Enteritis
- Blood or mucus in the stool21Acta Gastro-Enterologica Belgica. Primary syphilitic proctitis: case report and literature review
- Discharge from the anus11PubMed. Sexually transmitted infections as a cause of proctitis in men who have sex with men
- Sores or ulcers around the anus16PubMed. Herpes simplex virus proctitis in homosexual men. Clinical, sigmoidoscopic, and histopathological features
- Diarrhea lasting more than a couple of weeks
- Diarrhea with fever and weight loss13American Journal of Gastroenterology. S2560 Lymphogranuloma Venereum Proctitis
Timing matters too. Some parasites take between 2 days and 2 weeks to cause symptoms after infection.22PubMed Central. Cryptosporidium infection in solid organ transplantation Illness one to two weeks after a new partner is one clue among several to a sexually caught infection.
Some signs need care the same day: heavy bleeding or black stools, dizziness or very little urine (signs of dehydration), and a high fever with severe belly pain.
Other clues point to an ordinary bug. Several people who ate the same food falling ill points to the food. A vomiting-led illness that settles in a day or two is usually viral.
Getting Tested and What the Doctor Checks
A rectal swab can detect chlamydia and gonorrhea, as in one case where it confirmed LGV.13American Journal of Gastroenterology. S2560 Lymphogranuloma Venereum Proctitis Stool tests look for Shigella and parasites, and blood tests check for syphilis and HIV. Tell the clinic about anal or oral-anal sex so they order all of these.
At a sexual health visit you’ll be asked about partners and types of sex, without judgement. A rectal swab is quick, and you can often take it yourself. Results usually come back within days, and partners may need testing too.
Stool testing matters if antibiotics are needed, because the lab can check which ones will work. That is especially important for Shigella, which is often resistant. Taking leftover antibiotics first can hide the germ.
Mistaken for Crohn’s or Colitis
LGV is the STI most often mistaken for inflammatory bowel disease.23PubMed. Delayed diagnosis of colorectal sexually transmitted diseases due to their resemblance to inflammatory bowel diseases Some people were treated for bowel disease for 1 to 36 months without improvement.2PubMed Central. Separating Infectious Proctitis from Inflammatory Bowel Disease—A Common Clinical Conundrum All improved on antibiotics once the infection was found.2PubMed Central. Separating Infectious Proctitis from Inflammatory Bowel Disease—A Common Clinical Conundrum Some had already had surgery or strong immune-suppressing drugs before the right diagnosis.2PubMed Central. Separating Infectious Proctitis from Inflammatory Bowel Disease—A Common Clinical Conundrum
LGV and inflammatory bowel disease both cause bloody diarrhea and rectal inflammation, and camera exams and biopsies can look similar. Only targeted infection tests tell them apart.
If bowel disease treatment isn’t working, ask whether an STI has been ruled out. Mention recent sexual history even if you aren’t asked, and request rectal STI and syphilis tests before starting bowel disease drugs.
Treatment and Drug-Resistant Shigella
Most of these infections are curable. Chlamydia, gonorrhea and syphilis are treated with antibiotics or an injection, herpes is managed with antiviral tablets, and parasites need specific anti-parasite drugs.
Resistance is the complication. Shigella often resists the standard recommended antibiotics, azithromycin and ciprofloxacin.4PubMed Central. The evolution and international spread of extensively drug resistant Shigella sonnei In one UK cluster, 88% of samples were extensively drug-resistant.24PubMed Central. Epidemiologic and Genomic Investigation of Sexually Transmitted Shigella sonnei, England These strains have spread rapidly through sexual networks of men who have sex with men.25PubMed. Outbreak of sexually transmitted, extensively drug-resistant Shigella sonnei in the UK, 2021-22: a descriptive epidemiological study Lab-guided treatment is safer than guessing.
During treatment, avoid sex until treatment is finished and symptoms are gone. Wash hands carefully after using the toilet, and make sure partners are tested and treated.
Lowering Your Risk
Evidence on the best prevention steps for sexually spread gut infections is limited,26Clinical Infectious Diseases. Enteric Infections in Men Who Have Sex With Men Condoms reduce rectal STIs, and dental dams or gloves reduce oral-anal and finger contact. Cleaning sex toys between partners reduces spread.1Journal of the European Academy of Dermatology and Venereology. 2021 European Guideline on the management of proctitis, proctocolitis and enteritis caused by sexually transmissible pathogens Hygiene helps too: wash hands and genitals after sex, avoid sex during and shortly after diarrhea, and don’t share towels during an outbreak.
For people at higher risk, testing every three to six months suits those with several partners. It should include rectal and throat swabs, not just urine. HIV prevention medicine visits include routine STI checks.

