Gonorrhea, chlamydia, and trichomoniasis can all cause yellow discharge. Gonorrhea is the most commonly associated with noticeably yellow or greenish discharge, but the color alone isn’t enough to identify which infection you have. All three require different treatments, and testing is the only reliable way to tell them apart.
Gonorrhea
Gonorrhea is the STD most strongly linked to yellow discharge. In men, it typically produces a yellow, white, or greenish discharge from the penis along with burning during urination and sometimes pain or swelling in the testicles. In women, gonorrhea can cause yellow vaginal discharge, but symptoms are often mild enough to be mistaken for a urinary tract infection or yeast infection.
Symptoms in men tend to show up within about five days of exposure. Women may not notice anything for up to 10 days, and many never develop obvious symptoms at all. That gap matters because untreated gonorrhea can spread to the reproductive organs and cause lasting damage, even without noticeable signs.
Chlamydia
Chlamydia usually causes no symptoms at all, which is why it spreads so easily. When it does produce discharge, the color can be yellow, though it’s often lighter or less dramatic than what gonorrhea produces. The American College of Obstetricians and Gynecologists lists yellow discharge from the vagina or urethra as the most common symptom in people who are symptomatic.
Symptoms typically appear 5 to 14 days after exposure. Because chlamydia and gonorrhea overlap so much in how they look and feel, clinicians routinely test for both at the same time. If gonorrhea is confirmed, you’ll generally be treated for chlamydia as well unless testing rules it out.
Trichomoniasis
Trichomoniasis (often called “trich”) is caused by a parasite rather than bacteria, and it produces a distinctive discharge in many women: yellow-green, frothy, and foul-smelling, often described as having a fishy odor. The frothiness and strong smell are the biggest clues that set trich apart from gonorrhea or chlamydia. Clinicians sometimes observe what’s called a “strawberry cervix,” meaning small red spots from inflammation, during a pelvic exam.
Symptoms can take anywhere from 5 to 28 days to appear after exposure, a wider window than the other two infections. Men with trich rarely have symptoms, but when they do, they may notice mild discharge or irritation inside the penis.
How to Tell These Infections Apart
You can’t diagnose an STD by the color of your discharge. Yellow discharge from gonorrhea, chlamydia, and trichomoniasis can look similar, and several non-STD conditions also change discharge color. Bacterial vaginosis, for example, causes thin, off-white discharge with a fishy smell, and a yeast infection produces thick, white, cottage cheese-like discharge. Neither is sexually transmitted, but both can overlap with or be confused for an STD.
The standard test for gonorrhea and chlamydia is a nucleic acid amplification test, or NAAT. It can be done on a urine sample or a swab and is highly accurate, with sensitivity above 90% and specificity above 99%. Trichomoniasis is diagnosed through a separate test, often a vaginal swab. If you’re experiencing yellow discharge, your provider will likely test for all three infections at once.
What Yellow Discharge Means for Men vs. Women
Any discharge from the penis that isn’t pre-ejaculate or semen is abnormal and almost always points to an infection. Yellow or greenish penile discharge with painful urination is a classic presentation of gonorrhea, though chlamydia and trich can look the same.
For women, the picture is more complicated. Vaginal discharge changes naturally throughout the menstrual cycle, and some yellow tinting can be normal, especially if the discharge is light, odorless, and not accompanied by itching or burning. Discharge that’s a deeper yellow or green, has a strong or fishy smell, appears frothy, or comes with pelvic pain or burning during urination is more likely to signal an infection.
Treatment and What to Expect
All three infections are curable. Gonorrhea is treated with a single antibiotic injection. Chlamydia is treated with a course of oral antibiotics taken over seven days. Trichomoniasis is treated with a different oral antibiotic, also a short course. In each case, symptoms typically clear within a week or two after starting treatment.
You should avoid sex until treatment is finished and your partner has been treated as well. Reinfection is common when partners aren’t treated at the same time. If your symptoms don’t improve within a couple of weeks, follow up with your provider, as reinfection or antibiotic resistance (particularly with gonorrhea) may be the issue.
When Yellow Discharge Isn’t an STD
Not every case of yellow discharge means you have a sexually transmitted infection. Bacterial vaginosis, yeast infections, and even irritation from a new soap or lubricant can change the color and consistency of discharge. A forgotten tampon or other retained foreign object can also cause yellow or greenish, foul-smelling discharge.
The key distinguishing factors are context and accompanying symptoms. If you’ve had a new sexual partner or unprotected sex, STD testing is the right move. If your discharge changed after switching products or you have thick, itchy discharge without a new sexual exposure, a non-STD cause is more likely. Either way, testing removes the guesswork.

