What Makes Your Pee Green? Causes & When to Worry

Green urine is almost always caused by something you ate, drank, or took as a medication. It looks alarming, but on its own, without other symptoms, it is not an emergency. The color typically comes from dyes, drug byproducts, or pigments mixing with the natural yellow color of your urine.

How Urine Turns Green

Your urine gets its normal yellow color from a pigment called urochrome, a byproduct of red blood cell breakdown. When you consume or absorb something that contains blue or green pigments, those pigments mix with urochrome on the way out. Blue pigments in particular almost always appear green in urine rather than true blue, because they blend with that baseline yellow before you ever see the result.

Food Dyes and Artificial Colors

The most common and least concerning cause is food dye. Blue dyes used in candies, sports drinks, popsicles, cake frosting, and brightly colored cereals can tint your urine green. Green food coloring works the same way. If you recently ate or drank something with vivid artificial coloring, that’s the most likely explanation, and the color should clear within a day or two once the dye passes through your system.

Asparagus and Chlorophyll

Asparagus is famous for changing the smell of urine, but in some people it can also give urine a faint greenish tint. Chlorophyll supplements and chlorophyll-containing products (like certain breath fresheners and green superfood powders) are a more reliable source of green urine. The green plant pigment passes through your digestive system, gets filtered by your kidneys, and exits largely intact.

Medications That Change Urine Color

Several prescription and over-the-counter medications can turn urine green. The anesthetic propofol, commonly used during surgeries and procedures, is one of the best-documented examples. Your liver breaks propofol down into compounds called quinol conjugates, which are excreted through urine and carry a greenish color.

Other medications linked to green urine include:

  • Indomethacin, a prescription anti-inflammatory
  • Promethazine, an anti-nausea and allergy medication
  • Cimetidine, a heartburn drug
  • Metoclopramide, used for nausea and digestive issues
  • Flutamide, a prostate cancer treatment

If you recently started a new medication and noticed your urine turning green, the drug is very likely the cause. The discoloration is harmless in these cases and stops once you finish the medication.

Methylene Blue

Methylene blue deserves its own mention because it is one of the most dramatic color changers. It’s a medical dye used in hospitals, sometimes given intravenously to treat a condition where the blood can’t carry oxygen properly. It passes freely into urine and stains it blue-green for anywhere from 2 to 12 hours after administration. If you’ve had a recent hospital procedure and notice vivid blue-green urine afterward, this is almost certainly the reason.

Bacterial Infections

Less commonly, green urine can signal a urinary tract infection caused by a specific type of bacteria called Pseudomonas. These bacteria produce two pigments, pyocyanin (blue-green) and pyoverdin (yellow-green), which dissolve directly into urine and give it a noticeable green color. Pseudomonas UTIs are uncommon in healthy people but occur more often in hospitalized patients, people with catheters, or those with weakened immune systems.

A Pseudomonas infection won’t just change the color of your urine. You’ll typically also experience burning during urination, an urgent or frequent need to go, foul-smelling urine, or pain in your lower abdomen, pelvis, or back. Fever and chills can accompany it as well. If you have green urine alongside any of these symptoms, it’s worth getting checked promptly, since Pseudomonas infections often need targeted antibiotic treatment.

Liver and Bile Duct Problems

In rare cases, green urine points to something more serious involving your liver or bile ducts. Your liver produces a green pigment called biliverdin as part of normal red blood cell recycling. Normally, biliverdin gets converted to bilirubin (which is yellow-orange) and excreted through your stool. But when a bile duct is blocked or the liver is failing, biliverdin can build up in the blood and spill into urine, turning it green.

This is a serious situation, and green urine would be far from the only symptom. Bile duct obstruction and liver failure typically cause yellowing of your skin and the whites of your eyes, pale or clay-colored stool, abdominal pain, itching, nausea, and fever. If you’re experiencing these symptoms together, seek immediate medical attention.

When Green Urine Needs Attention

Green urine with no other symptoms is not an emergency. If you can trace it to a food, drink, or medication, you can safely wait for it to resolve on its own. Most cases clear within a day or two once the offending substance passes through your system.

If the green color has no clear cause and hasn’t improved after a couple of days, that’s a reasonable point to bring it up with your doctor. And if the green urine comes with infection symptoms like burning, urgency, fever, or pain, or with signs of liver trouble like yellowed skin, pale stool, and abdominal pain, those combinations warrant prompt evaluation rather than a wait-and-see approach.