What Does It Mean When Your Urine Is Green?

Green urine is usually harmless, caused by something you ate, drank, or a medication you’re taking. In most cases, the color change is temporary and resolves on its own within a day or two. Less commonly, green urine can signal a urinary tract infection or a problem with the liver or bile ducts, especially when accompanied by other symptoms like pain, fever, or a change in how you feel overall.

Foods and Dyes That Turn Urine Green

The most common and least worrisome cause is something in your diet. Asparagus, when eaten in large amounts, can turn urine dark yellow or greenish. Black licorice can produce various shades of green as well. Artificial food coloring is another frequent culprit: water-soluble dyes, particularly blue dyes found in sports drinks, candy, ice cream, and processed snacks, mix with the natural yellow pigment in your urine and produce a green result. Think of it like mixing blue and yellow paint.

If food or dye is the cause, the green color typically disappears within one to two urinations after the substance clears your system. No treatment is needed.

Medications That Cause Green Urine

A surprising number of medications can turn urine green, and it’s considered a known, benign side effect in most cases. The list includes:

  • Propofol: a sedative used during surgery and in intensive care units
  • Promethazine: an antihistamine and anti-nausea drug
  • Cimetidine: a heartburn and acid reflux medication
  • Amitriptyline: an antidepressant also used for chronic pain
  • Indomethacin: a nonsteroidal anti-inflammatory
  • Metoclopramide: a medication for nausea and gastroparesis
  • Methylene blue: a diagnostic dye used during certain surgeries

Some of these drugs contain a chemical group called a phenol, which the liver processes and the kidneys then excrete as green-tinted byproducts. Others work through different pathways but produce a similar result. Methylene blue is an interesting case: it’s a blue dye, but because it mixes with your urine’s natural yellow pigment, the output looks green rather than blue.

Propofol is one of the more commonly reported causes in hospital settings. The green color appears because the liver’s normal processing capacity gets overwhelmed during a continuous infusion, and the body starts eliminating the drug through the kidneys instead. After propofol is stopped, the green color clears up anywhere from two hours to two days later, with most cases resolving within about 12 hours.

If you recently started a new medication and notice green urine with no other symptoms, the drug is very likely the explanation. The color change itself is not dangerous and does not mean the medication is harming your kidneys.

Urinary Tract Infections

A urinary tract infection caused by a specific type of bacteria called Pseudomonas aeruginosa can turn urine green. This bacterium produces pigments as it grows, and those pigments tint the urine a noticeable green or blue-green color. Pseudomonas UTIs are less common than typical UTIs but are more frequently seen in people who are hospitalized, have catheters, or have weakened immune systems.

The key difference from a dietary or medication cause is that a Pseudomonas infection comes with other symptoms. You would typically also experience burning during urination, an urgent or frequent need to go, cloudy or foul-smelling urine, pelvic or lower abdominal discomfort, or fever. Green urine paired with any of these symptoms warrants prompt medical attention, since Pseudomonas infections often require targeted antibiotics.

Liver and Bile Duct Problems

In rarer cases, green urine points to an issue with the liver or bile ducts. When bile flow is blocked (a condition called obstructive jaundice), a green pigment called biliverdin, which is a breakdown product of the hemoglobin in red blood cells, can spill into the urine and give it a green hue. This can happen with gallstones blocking the bile duct, tumors in the biliary system, or liver failure.

An extremely rare genetic condition called hyperbiliverdinemia causes elevated levels of biliverdin in the blood, turning the skin, urine, and even plasma visibly green. It is associated with biliary obstruction, decreased liver function, and gallstones.

Liver-related green urine almost never shows up as an isolated symptom. You would also typically notice yellowing of the skin or eyes, pale or clay-colored stools, dark or tea-colored urine that shifts toward green, itching, abdominal pain on the right side, or general fatigue. If you’re seeing green urine alongside any of these signs, it’s worth getting evaluated promptly.

How to Figure Out the Cause

Start with the simplest explanation. Think back over the past 24 hours: did you eat asparagus, black licorice, or anything with bright blue or green food coloring? Did you drink a brightly colored sports drink or eat frosted baked goods? If so, wait a day. If the color returns to normal after the substance clears your system, you have your answer.

Next, check your medications. Review anything you’re currently taking, including over-the-counter drugs, and look up whether green urine is a listed side effect. If you recently had surgery or a medical procedure, propofol or methylene blue could be responsible, and the color should clear within a day or two.

If you can’t link the green color to food or medication, or if it persists for more than two days, pay attention to what else your body is telling you. Burning, frequency, fever, or abdominal pain all suggest something beyond a benign cause. A standard urine test can quickly identify infection, and further testing can check for bilirubin or other markers of liver involvement. Green urine that shows up once and disappears is almost never a problem. Green urine that persists or comes with pain, fever, or other new symptoms is worth investigating.