Yes, certain sexually transmitted diseases (STDs) can cause diarrhea. This is not a common symptom for most STDs, but it happens with specific infections that affect the digestive system. The most likely culprits are infections that spread through anal sex or that cause inflammation in the gut. Diarrhea from an STD is usually a sign of a more advanced infection, not an early symptom. If you have diarrhea along with other signs like rectal pain, discharge, or fever, it is worth getting tested.
Which STDs Are Linked to Diarrhea?
Several STDs can cause diarrhea, but the connection is not always obvious. The most common ones are gonorrhea, chlamydia, herpes, syphilis, and HIV. Each affects the body differently, and diarrhea can appear for different reasons.
Gonorrhea and chlamydia can infect the rectum. This is called proctitis. When these bacteria infect the anal area, they cause inflammation. That inflammation can lead to diarrhea, rectal pain, discharge, and bleeding. The CDC reports that rectal gonorrhea and chlamydia are often asymptomatic, but when symptoms do appear, diarrhea is one of them.
Herpes simplex virus can also cause proctitis, especially in people who have anal sex. The virus can cause sores inside the rectum. These sores can be painful and lead to diarrhea or constipation. Some people also have nerve pain in the legs or lower back.
Syphilis can cause diarrhea in its secondary stage, which happens weeks to months after the initial infection. This stage often includes a rash, fever, and swollen lymph nodes. Diarrhea is not the main symptom, but some people report it. The infection can also cause inflammation in the digestive tract.
HIV is a different story. Early HIV infection can cause diarrhea as part of the acute retroviral syndrome. This happens within two to four weeks of exposure and includes fever, fatigue, and body aches. Later, untreated HIV can damage the immune system. This damage makes the gut more vulnerable to infections that cause chronic diarrhea.
How Do STDs Cause Diarrhea?
Diarrhea from an STD happens through two main mechanisms: direct infection of the gut or immune system disruption. The first is more straightforward. When bacteria or viruses enter the rectum, they cause inflammation. This inflammation irritates the lining of the bowel. The bowel responds by moving contents through faster than normal. The result is loose, frequent stools.
The second mechanism is more indirect. Some STDs, especially HIV, weaken the immune system. A weakened immune system cannot fight off other infections that cause diarrhea. These are called opportunistic infections. They include parasites like cryptosporidium, bacteria like Mycobacterium avium, and viruses like cytomegalovirus. Research published in the journal Clinical Infectious Diseases has shown that chronic diarrhea in people with untreated HIV is often caused by these opportunistic infections.
There is also a third, less common mechanism. Some STDs cause systemic inflammation. This means the whole body is inflamed, not just one area. Syphilis is a good example. The bacteria can spread through the bloodstream and cause inflammation in the intestines. This can trigger diarrhea even without a direct infection in the gut.
What Are the Signs That an STD Is Causing Your Diarrhea?
Not all diarrhea is from an STD. Most cases are from food poisoning, viruses, or irritable bowel syndrome. But certain signs should make you consider an STD. These include:
- Diarrhea that lasts more than a few days without a clear cause
- Rectal pain or discomfort during bowel movements
- Discharge from the rectum, which can be bloody or pus-like
- Sores, blisters, or bumps around the anus
- Fever, chills, or swollen lymph nodes
- Pain during sex or after anal sex
- Unexplained weight loss along with diarrhea
If you have any of these symptoms along with diarrhea, it is reasonable to get tested for STDs. The symptoms alone are not enough to diagnose the cause. Testing is the only way to know for sure.
One non-obvious point: diarrhea from an STD can be mistaken for a stomach bug or food poisoning. People often wait weeks before seeing a doctor. That delay can allow the infection to spread or cause complications. If you have had unprotected anal sex recently and develop diarrhea, mention it to your healthcare provider.
How Is STD-Related Diarrhea Diagnosed and Treated?
Diagnosis starts with a conversation. Your healthcare provider will ask about your symptoms, sexual history, and any recent exposures. They may ask about anal sex specifically. This is a routine question, not a judgment. Answer honestly so they can order the right tests.
Testing usually involves a swab of the rectum for gonorrhea and chlamydia. Blood tests can check for syphilis, HIV, and herpes. A stool sample may be tested for parasites or other infections if HIV is suspected. The specific tests depend on your symptoms and risk factors.
Treatment depends on the cause. Bacterial infections like gonorrhea, chlamydia, and syphilis are treated with antibiotics. The antibiotics are usually given as a shot or pills. Herpes is treated with antiviral drugs like acyclovir or valacyclovir. These medications do not cure herpes, but they reduce symptoms and shorten outbreaks. HIV is managed with antiretroviral therapy. This treatment does not cure HIV, but it controls the virus and allows the immune system to recover. Once the immune system improves, the diarrhea often resolves.
Here is a quick comparison of common STD treatments and their effect on diarrhea:
| STD | Treatment | Effect on Diarrhea |
|---|---|---|
| Gonorrhea | Antibiotics (ceftriaxone shot) | Resolves within days |
| Chlamydia | Antibiotics (doxycycline or azithromycin) | Resolves within days |
| Herpes | Antivirals (acyclovir) | Resolves as sores heal |
| Syphilis | Antibiotics (penicillin shot) | Resolves within weeks |
| HIV | Antiretroviral therapy | Improves as immune system recovers |
It is important to finish the full course of treatment even if symptoms go away. Stopping early can lead to antibiotic resistance or incomplete treatment. Follow-up testing is often needed to confirm the infection is gone.
What Are Common Misconceptions About STDs and Diarrhea?
One common myth is that all STDs cause diarrhea. This is not true. Most STDs, like chlamydia, gonorrhea, and herpes, usually cause genital symptoms, not digestive ones. Diarrhea happens only when the infection reaches the rectum or the immune system is severely compromised. If you have diarrhea but no other STD symptoms, it is more likely from a non-STD cause.
Another misconception is that diarrhea from an STD is always severe. Some people expect explosive or constant diarrhea. In reality, it can be mild. You might have only a few loose stools per day. You might not even connect it to a sexual infection. This is why many cases go undiagnosed.
Some people also believe that if they have no symptoms, they cannot have an STD. This is false. Many STDs are asymptomatic, especially in the rectum. The CDC states that more than half of rectal gonorrhea and chlamydia cases have no symptoms. You can have an infection, pass it to others, and still feel fine. Diarrhea is not a reliable indicator of whether you have an STD.
A final misconception is that only people who have anal sex get rectal STDs. While anal sex is a major risk factor, it is not the only one. Bacteria and viruses can spread through oral sex or from the genitals to the anal area via fingers or toys. Anyone who is sexually active can get these infections.
When Should You See a Doctor for STD-Related Diarrhea?
You should see a doctor if your diarrhea lasts more than three days without a clear cause. You should also see a doctor if you have any of the additional symptoms listed earlier, like rectal pain, discharge, or fever. The sooner you get tested, the sooner you can start treatment.
If you have HIV or a weakened immune system and develop diarrhea, do not wait. Chronic diarrhea in this group can lead to dehydration, weight loss, and nutrient deficiencies. It can also be a sign of an opportunistic infection that needs specific treatment.
Some people hesitate to see a doctor because they feel embarrassed. Do not let that stop you. Healthcare providers see these cases every day. They are trained to handle them without judgment. Testing is quick, and treatment is usually simple. Untreated STDs can lead to serious complications like pelvic inflammatory disease, infertility, or spread of the infection to others.
If you are not ready to see a doctor in person, many clinics offer confidential testing. Some also offer telehealth visits where you can discuss symptoms privately. Home test kits for some STDs are available, but they are not as reliable as clinic-based tests, especially for rectal infections.
Frequently Asked Questions
Can chlamydia cause diarrhea?
Yes, if chlamydia infects the rectum, it can cause inflammation that leads to diarrhea, rectal pain, and discharge.
How long does STD-related diarrhea last?
It depends on the infection, but with proper treatment, diarrhea usually resolves within a few days to a few weeks.
Can you get diarrhea from oral sex?
It is unlikely. Oral sex can transmit STDs to the throat, but it rarely causes diarrhea unless the infection spreads to the digestive tract.
Is diarrhea a sign of HIV?
It can be, especially during the acute stage or in later stages when the immune system is weakened, but it is not a reliable sign on its own.

