Green or greenish urine is usually caused by something you ate or a medication/supplement, but it can occasionally signal an infection or liver/bile issue and deserves attention if it keeps happening or comes with other symptoms.

Main causes of green pee

  • Food and drinks
    • Foods with strong artificial blue or green dyes (candy, cereals, ice creams, sports drinks) can mix with normal yellow urine and make it look green.
* Some natural foods like fava beans, asparagus, and rhubarb can also change urine color in some people.
  • Medications
    • Several prescription drugs can turn urine green or blue‑green when they are broken down in the body and their pigments mix with urine’s natural yellow color.
* Examples listed in medical references include certain antidepressants, ulcer/acid‑reflux meds, pain medicines, sleep aids, and some hospital dyes used in kidney or bladder tests.
  • Vitamins and supplements
    • B‑complex vitamins, especially riboflavin (B2), can give pee a bright yellow that may look greenish, particularly if there are also food dyes or medications in the mix.

When it can be more serious

  • Urinary tract infection (UTI)
    • Some UTIs are caused by bacteria such as Pseudomonas aeruginosa , which produce blue‑green pigments (pyocyanin and others) that can make urine look green, cloudy, or fluorescent.
* UTIs usually come with other symptoms: burning or pain when you pee, needing to pee often, lower belly or back pain, fever, or foul‑smelling urine.
  • Liver or bile duct problems (rare)
    • Severe liver disease or bile flow blockage combined with certain genetic traits can cause a buildup of biliverdin (a green bile pigment), which can turn urine and sometimes even skin or other fluids green.
* This almost always appears with other warning signs like yellowing of the skin/eyes, dark urine, pale stools, abdominal swelling, or major fatigue.
  • Rare genetic conditions
    • In infants, conditions such as familial benign hypercalcemia (“blue diaper syndrome”) can cause blue or blue‑green urine, but this is very uncommon and typically recognized early in life.

What you should do right now

  • Think about recent changes
    • Ask yourself:
      • Did you have anything with strong food coloring (bright cereals, candies, slushies, colored drinks) in the last day or two?
  * Did you start a new prescription, over‑the‑counter medicine, or vitamin lately?
* If yes, and you feel well otherwise, the color often returns to normal within a day or two after the trigger is gone.
  • Watch for red‑flag symptoms
    Contact a doctor or urgent care promptly if you have green urine and :

    • Pain or burning when peeing, needing to pee very often, or strong/foul smell.
* Fever, chills, or feeling generally unwell.
* Belly, side, or back pain.
* Yellow eyes or skin, swelling, very dark urine, pale or clay‑colored stools, nausea, or severe fatigue.
  • When to get checked even if you feel okay
    • If your pee stays clearly green for more than 24–48 hours with no obvious reason (no dyes, no meds, no vitamins), it is sensible to get a urine test and medical review.
* Bring a list of your medications, supplements, and anything unusual you have eaten or drunk.

Quick bottom line

Most green pee comes from food dyes, vitamins, or medications and goes away on its own once the trigger is gone.

Because infections and liver problems can occasionally be the cause, persistent green urine or green urine plus pain, fever, or feeling sick should be checked by a healthcare professional as soon as possible.

Information gathered from public forums or data available on the internet and portrayed here.