Certain sexually transmitted infections can produce changes in the way urine smells, though what people notice is usually not a change in the urine itself but rather infected discharge mixing with urine during urination. Trichomoniasis is the STD most strongly associated with a foul or fishy odor, but chlamydia and gonorrhea can also produce unusual-smelling discharge that becomes noticeable at the toilet. The picture gets more complicated because bacterial vaginosis, which is not technically an STD, is one of the most common causes of genital odor and is frequently mistaken for one.
How STDs Actually Produce Odor
Most STDs do not chemically alter your urine the way, say, a metabolic disorder would. Urine is produced by the kidneys and stored in the bladder, and sexually transmitted pathogens rarely colonize those organs. What they do colonize is the urethra, the vaginal canal, and the cervix. When these tissues become infected and produce discharge, that discharge sits in or near the urethra. During urination, urine washes over or mixes with the discharge, and the combined smell is what you detect in the toilet bowl or on tissue.
This distinction matters for a practical reason: if an STD is causing your urine to seem smelly, the smell will often be strongest at the beginning of urination (when the stream first passes through the urethra) and may also be present on underwear or noticeable outside of urination entirely. If the odor truly comes from the urine itself and is consistent throughout the stream, the cause is more likely to be something other than an STD.
Trichomoniasis and the Classic Fishy Smell
Trichomoniasis, caused by the parasite Trichomonas vaginalis, is the STD most consistently linked to a noticeable odor. The infection produces a frothy, yellow-green vaginal discharge that many people describe as fishy or musty. In men, trichomoniasis tends to cause milder symptoms or none at all, but when symptoms do occur they can include unusual urethral discharge and irritation during urination. Because the parasite thrives in the lower urogenital tract, its metabolic byproducts are in direct contact with the area where urine exits the body.
About 70% of people with trichomoniasis have no symptoms at all, which means the infection can go unnoticed for weeks or months. When odor does appear, it tends to worsen after sex and around menstruation, which is a pattern shared with bacterial vaginosis and sometimes leads to confusion between the two conditions.
Chlamydia and Gonorrhea
Chlamydia and gonorrhea are bacterial infections that primarily target the urethra and cervix. Both can cause abnormal discharge, and that discharge can carry a distinct smell, though it is generally less pungent than what trichomoniasis produces. Gonorrhea tends to generate thicker, more noticeable discharge, sometimes described as yellowish or greenish, while chlamydia discharge is often watery or barely visible.
In men, gonorrhea is particularly likely to produce a milky or cloudy urethral discharge that is noticeable when urinating. The discharge itself may have a mild odor, and because it accumulates in the urethra, the first few drops of urine can carry it out. Chlamydia in men tends to be subtler. In women, both infections can be entirely asymptomatic, which is why routine screening is recommended for sexually active people under 25 and for anyone with new or multiple partners.
Neither chlamydia nor gonorrhea produces the strong, fishy odor associated with trichomoniasis or bacterial vaginosis. If your primary symptom is a powerful smell rather than burning during urination or visible discharge, these two infections are less likely to be the cause, though they should still be ruled out.
Bacterial Vaginosis Is Not an STD, but It Gets Confused for One
Bacterial vaginosis is probably the single most common reason people search for information about STDs and urine smell. It produces a distinctive fishy odor that becomes especially strong after intercourse and during menstruation. The discharge is typically white-grayish with a creamy consistency.1SciELO Brazil (Anais Brasileiros de Dermatologia). Sexually transmitted diseases during pregnancy: a synthesis of particularities Because this discharge sits near the urethral opening, it is very commonly noticed during urination and mistaken for a change in urine odor.
BV is not caused by a single pathogen but by a shift in the balance of vaginal bacteria, with a decline in protective lactobacilli and an overgrowth of anaerobic bacteria. These anaerobic organisms produce biogenic amines like cadaverine and putrescine, which are the actual chemicals responsible for the foul smell.2Western University. Metabolic origins of urogenital malodour in women and their relationship with their microbiota: can probiotics help? The names of those compounds are telling: cadaverine is named for its resemblance to the smell of decomposition, and putrescine is named for putrefaction. Even small quantities produce a strong odor.
BV is associated with sexual activity, which is why people often assume it is sexually transmitted. Having a new sexual partner or multiple partners increases the risk. But BV can also occur in people who have never had sex, and it is not caused by a specific organism passed between partners in the way that chlamydia or gonorrhea is. It is classified as a vaginal dysbiosis rather than an infection in the traditional sense. That said, because BV and STDs share risk factors and can occur simultaneously, getting tested for STDs when you notice an unusual odor is still a good idea.
The Ammonia Connection
Some people describe their smelly urine as having a strong ammonia-like quality rather than a fishy one. This can have several explanations, and STDs are rarely the primary cause. Concentrated urine from dehydration is the most common reason for a strong ammonia smell, since the same amount of urea is dissolved in less water. Urinary tract infections can also produce ammonia odor because certain bacteria break down urea into ammonia as part of their metabolism.
One organism worth mentioning in the overlap between STDs and ammonia odor is Ureaplasma, a group of bacteria that colonize the urogenital tract. These organisms depend on breaking down urea into ammonia and carbon dioxide for their energy.3PubMed Central. Disseminated Ureaplasma infection as a cause of fatal hyperammonemia in humans Ureaplasma is sexually transmissible and is found in a significant percentage of sexually active adults, often without causing symptoms. In some people, however, it can contribute to urethritis, and its ammonia-producing activity could theoretically intensify the smell of urine. Whether Ureaplasma alone causes a noticeable change in urine odor in otherwise healthy people is not well established. Most clinicians consider it a potential contributor rather than a standalone diagnosis.
UTIs Versus STDs
Urinary tract infections and STDs produce overlapping symptoms, and this overlap is a major source of confusion. Both can cause burning during urination, increased urinary frequency, and changes in urine appearance or smell. A UTI can make urine smell foul or unusually strong because bacteria in the bladder produce waste products that change the chemical composition of the urine itself. This is a genuine change in the urine, unlike the discharge-mixing mechanism behind most STD-related odor.
There are a few practical ways to tell the difference, though none are definitive without testing. UTIs tend to cause a persistent urge to urinate, even when the bladder is nearly empty, along with pain or pressure in the lower abdomen. STDs are more likely to produce visible discharge, genital sores, or itching. UTIs also tend to come on fairly quickly, over the course of a day or two, while STDs may develop gradually over a week or more after exposure.
Here is where it gets genuinely tricky: chlamydia and gonorrhea can cause urethritis, which can then increase vulnerability to UTIs. So you can have both at the same time, with the STD creating conditions that allow a UTI to take hold. If you are treated for a UTI and the symptoms keep coming back, it is worth getting screened for STDs, because an untreated underlying infection can set up a cycle of recurrent urinary problems.
Other Things That Change Urine Smell
Before assuming an STD is responsible, it is worth considering the many non-infectious causes of unusual urine odor. These are far more common and can produce surprisingly strong smells.
- Asparagus: Eating asparagus produces sulfur-containing metabolites that give urine a distinctive rotten-cabbage or sulfurous smell, sometimes within 15 to 30 minutes of eating it.4Drug Metabolism and Disposition. Food Idiosyncrasies: Beetroot and Asparagus Not everyone can smell it, due to genetic variation in olfactory receptors, so some people only discover the effect when someone else mentions it.
- Dehydration: When you are not drinking enough water, urine becomes more concentrated and the normal ammonia smell intensifies. Dark yellow urine with a strong odor on an otherwise normal day is usually just dehydration.
- Coffee: Coffee contains compounds that pass through the kidneys and can give urine a distinctive bitter or roasted smell. The effect is stronger in heavy coffee drinkers.
- Medications and supplements: B vitamins, particularly B6, can produce a strong, somewhat unusual urine odor. Certain antibiotics, including amoxicillin and ciprofloxacin, can also alter urine smell. Sulfa drugs are especially well known for this.
- Diabetes: Uncontrolled diabetes can produce a sweet or fruity urine smell due to the presence of ketones. This is a sign that the body is breaking down fat for energy instead of glucose, and it warrants medical attention.
The timing and pattern of the smell often help distinguish these causes from an STD. If the odor appeared within hours of eating something specific or started after you began a new medication, the explanation is probably dietary or pharmaceutical. If it has been present for days or weeks, worsens after sex, or comes with discharge, burning, or itching, infection is more likely.
Why You Cannot Diagnose by Smell Alone
It is tempting to try to match a description of a smell to a specific diagnosis, and the internet is full of charts attempting exactly that. Fishy means BV or trichomoniasis, sweet means diabetes, sulfurous means a dietary cause, and so on. The problem is that these smell profiles overlap significantly, and individual perception of odor varies. What one person describes as fishy, another might call musty or just “off.” Research on volatile organic compounds in urine suggests that infected and uninfected samples can share many of the same chemical signatures, with the difference being one of degree rather than kind.
More practically, many STDs are asymptomatic. Chlamydia in particular is often called a “silent” infection because the majority of people who have it notice nothing unusual at all. Waiting for a noticeable smell before getting tested is not a reliable strategy. If you have had unprotected sex with a new partner or have any reason to suspect exposure, testing is the only way to know. Modern STD panels use urine samples or swabs and return results quickly, and most bacterial STDs are curable with a short course of antibiotics.
When to Get Tested
Any persistent change in urine odor that lasts more than a couple of days and is not explained by diet, hydration, or medication is worth mentioning to a healthcare provider. You should prioritize getting seen if the smell is accompanied by any of the following:
- Unusual discharge: Any color, consistency, or amount that is different from your normal baseline.
- Burning or pain: During urination or during sex.
- Genital sores or bumps: Even painless ones, since syphilis and herpes can both start with lesions that do not hurt.
- Pelvic pain: Especially in women, this can signal that an infection has spread beyond the cervix or urethra.
- Fever: Suggests the infection may be affecting the kidneys or spreading systemically.
If you are pregnant and notice a new vaginal odor, it is especially important to get evaluated. Bacterial vaginosis during pregnancy has been associated with complications, and its prevalence among pregnant women in Western populations ranges between roughly 14% and 21%.1SciELO Brazil (Anais Brasileiros de Dermatologia). Sexually transmitted diseases during pregnancy: a synthesis of particularities Screening and treatment during pregnancy can reduce the risk of preterm birth and other adverse outcomes.
Herpes, HPV, and Syphilis
Not all STDs are equally likely to affect urine odor. Herpes simplex virus causes blisters and sores on or near the genitals, which can make urination painful, but it does not typically produce a noticeable smell unless the sores become secondarily infected with bacteria. HPV, the virus responsible for genital warts and certain cancers, does not cause discharge or odor in most cases. Syphilis can produce sores and rashes in its early stages, but foul-smelling urine is not a hallmark of any stage of the disease.
In short, the STDs most associated with odor changes are the ones that cause discharge: trichomoniasis, gonorrhea, and chlamydia. Viral STDs are much less likely to produce any change in how your urine smells, though they come with their own sets of symptoms that are worth knowing about. If your only symptom is a change in urine odor with no discharge, sores, or burning, a non-STD cause such as BV, a UTI, or a dietary factor is statistically more likely.