Burning when you pee is most often caused by a urinary tract infection, but it can also come from a sexually transmitted infection, skin irritation, a yeast infection, or (in men) prostate inflammation. What you should do depends on which of these is behind it, so identifying the likely cause is the first step toward relief.
Why It Burns
The most common culprit is a bacterial UTI, where bacteria travel up the urethra and trigger inflammation in the bladder lining. This creates that familiar stinging or burning sensation every time urine passes over the inflamed tissue. UTIs are far more common in women because of a shorter urethra, but men get them too.
STIs like chlamydia, gonorrhea, and trichomoniasis can produce nearly identical burning. The tricky part is that these infections cause inflammatory changes in the urine that look a lot like a UTI on a basic test, which means they’re sometimes mistaken for one. A key difference: STIs are more likely to cause unusual discharge from the genitals and may not come with the constant “I need to pee” urgency that defines a UTI.
Yeast infections are another common source of burning, especially in women. The burning tends to feel more external, around the vulva rather than deep inside the urinary tract. A thick, clumpy, odorless discharge is the hallmark sign that points toward yeast rather than bacteria. Men can also develop genital yeast infections, which typically cause itchiness, sores, or white patches.
In men specifically, prostatitis (inflammation of the prostate) and urethritis (inflammation of the urethra) are frequent causes. These can develop from bacterial infections or, in the case of chronic prostatitis, from causes that aren’t fully understood.
Non-Infectious Causes
Sometimes nothing is infected at all. Soaps, bubble baths, scented wipes, spermicides, and douches can all irritate the urethra and surrounding tissue enough to cause burning. If your symptoms started shortly after switching a hygiene product, that’s worth noting. Stopping the product often resolves the irritation within a day or two without any medication.
Dehydration is another overlooked trigger. Highly concentrated urine is more acidic and can sting when it passes over even mildly irritated tissue. Drinking enough water to keep your urine pale yellow can reduce discomfort on its own.
What to Do Right Now for Relief
While you figure out the cause or wait for a doctor’s appointment, a few things can ease the burning quickly:
- Drink plenty of water. Diluting your urine reduces the sting and helps flush bacteria out of the urinary tract.
- Try an OTC urinary pain reliever. Phenazopyridine is available without a prescription in 95 to 99.5 mg tablets. The typical dose is two tablets three times a day, taken with food to avoid nausea. It numbs the lining of the urinary tract and can provide noticeable relief within an hour. One important warning: it turns your urine bright reddish-orange, which is harmless but can stain clothing and contact lenses. Don’t use it for more than two days without seeing a provider, because it only masks pain and won’t treat an underlying infection.
- Avoid irritants. Skip scented soaps, bubble baths, and anything perfumed in the genital area. Wear cotton underwear and avoid tight clothing.
When You Need Antibiotics
If a UTI is confirmed, antibiotics are the standard treatment. Current guidelines recommend a few first-line options for uncomplicated bladder infections: a single dose of fosfomycin, a five-day course of nitrofurantoin, or a three-day course of trimethoprim-sulfamethoxazole (though rising bacterial resistance has made that last option less reliable in many areas). Most people feel significantly better within one to two days of starting treatment, though it’s important to finish the full course.
STIs require different antibiotics entirely, which is why getting the right diagnosis matters. If you’re sexually active with new or multiple partners and have discharge alongside burning, mention this to your provider so they can test for chlamydia, gonorrhea, and trichomoniasis rather than just running a standard urine culture.
Can D-Mannose or Cranberry Help?
D-mannose, a natural sugar found in cranberries and available as a supplement, has shown genuine promise for UTIs. In one clinical study, women who took 1.5 grams of D-mannose twice daily for three days, then once daily for ten days, saw significant improvement in UTI symptoms. When those women continued taking it as a preventive measure (once daily for one week every other month), their recurrence rate dropped to 4.5%, compared to 33.3% in women who didn’t take it.
That said, D-mannose works specifically against E. coli, the bacterium responsible for most UTIs. It won’t help with STIs, yeast infections, or prostatitis. It’s most useful as a supplement alongside treatment or as a preventive strategy if you get frequent UTIs, not as a replacement for antibiotics during an active infection.
How to Tell Your Cause Apart
A few patterns can help you narrow things down before you see a provider:
- Burning plus urgency and frequency (feeling like you need to pee constantly, even when your bladder is nearly empty) points strongly toward a UTI.
- Burning plus unusual discharge from the penis or vagina suggests an STI. Vaginal discharge actually makes a UTI less likely.
- Burning plus thick, clumpy vaginal discharge with itching and swelling points toward a yeast infection.
- Burning that started after using a new product suggests chemical irritation.
- Burning plus pelvic or perineal pain in men, especially with difficulty starting urination, suggests prostatitis.
A urine test at a clinic can usually sort this out quickly. The presence of nitrites on a dipstick test is a strong indicator of bacterial infection, since certain gut bacteria produce nitrites as a byproduct. White blood cells in the urine indicate inflammation but don’t pinpoint the cause on their own, as both UTIs and STIs can elevate them.
Signs the Infection Has Spread
Most causes of burning urination are uncomfortable but not dangerous. The exception is when a bladder infection moves up to the kidneys. Watch for fever and chills, pain in your back or side (especially on one side), nausea or vomiting, and cloudy, dark, bloody, or foul-smelling urine. These symptoms suggest a kidney infection, which needs prompt treatment.
Rarely, a kidney infection can progress to sepsis. Signs include high fever, confusion, rapid breathing and heart rate, and severe pain. This is a medical emergency.

