Green pee is almost always harmless. In most cases, it comes from something you ate, a supplement you took, or a medication you’re on, and it resolves on its own within a day or two. Rarely, green urine can signal an infection or a liver problem, but those situations come with other noticeable symptoms.
Foods and Dyes That Turn Urine Green
The most common reason for green pee is food dye. Artificial colorings, particularly blue dyes found in candies, sports drinks, popsicles, and brightly colored cereals, mix with the natural yellow pigment in your urine (called urochrome) and produce a green or blue-green tint. The more concentrated the dye, the more vivid the color.
Asparagus is the classic whole-food culprit. It can give urine a greenish hue along with that distinctive smell. Green food coloring used in baked goods, frostings, or holiday-themed drinks is another frequent cause. If you recently ate or drank something with bold artificial coloring and your urine turns green a few hours later, that’s your answer. It typically clears within one to two urinations once the dye passes through your system.
Vitamins and Supplements
B vitamins are well known for turning urine bright yellow, but in higher doses, certain B-complex supplements can push the color toward a greenish-yellow. This is especially common with multivitamins that contain large amounts of B2 (riboflavin) combined with other water-soluble vitamins your body excretes quickly. If you started a new supplement and noticed the color change, that’s likely the connection. It’s not harmful.
Medications That Cause Green Urine
A surprisingly long list of medications can turn your urine green. Some of the more common ones include amitriptyline (an antidepressant), indomethacin (a pain reliever), cimetidine (used for acid reflux), promethazine (an anti-nausea drug), and certain diuretics. Propofol, the anesthetic used during surgeries and procedures, causes green urine in a small number of patients, sometimes even after short exposure during a routine operation.
If you’ve had a recent surgery or medical procedure, there’s another explanation worth knowing. Methylene blue, a dye doctors use during certain abdominal and other surgeries to check for leaks, gets absorbed and excreted through your kidneys. It mixes with the yellow urochrome in your urine and creates a green or greenish-blue color. The intensity depends on the dose used, and it clears on its own. This is completely expected and harmless.
When Green Urine Points to an Infection
Certain bacteria that cause urinary tract infections can produce green pigments. A UTI-related color change won’t appear on its own. You’ll typically also notice cloudiness, a strong or unusual smell, burning during urination, a frequent urge to pee, or pelvic discomfort. Some people develop a fever or chills. The green color itself isn’t the concern; the infection is. UTIs are treatable, and the color returns to normal once the infection clears.
Liver and Gallbladder Problems
Your liver produces a green pigment called biliverdin as part of its normal process of breaking down old red blood cells. Biliverdin is usually converted into bilirubin (a yellow-orange pigment) and excreted through bile. When the liver or gallbladder isn’t functioning properly, or when bile ducts are blocked, biliverdin can build up and spill into the urine, turning it green.
This is rare, and you’d notice other symptoms well before the urine change became your main concern. Jaundice (yellowing of the skin and eyes), abdominal pain, dark or clay-colored stools, nausea, and fatigue are the more prominent signs of liver or biliary problems. Green urine from this cause doesn’t happen in isolation.
Green Urine in Babies
Parents sometimes notice a blue-green stain on their infant’s diaper. One rare cause is a genetic condition called Blue Diaper Syndrome, where the baby’s intestines can’t properly absorb the amino acid tryptophan. Gut bacteria break down the unabsorbed tryptophan into compounds that turn blue-green when they hit the diaper and sit exposed to air. The discoloration actually intensifies over several hours if the diaper is left out. This condition is diagnosed in early infancy and is extremely uncommon.
How to Tell If It’s a Problem
Ask yourself three questions. First, did you eat something with blue or green dye, take a new supplement, or start a medication in the last 24 hours? If yes, that’s almost certainly the cause, and you can expect normal color to return soon. Second, has the green color lasted more than two or three days without an obvious dietary or medication explanation? If so, it’s worth paying attention. Third, do you have any other symptoms like pain, burning, fever, frequent urination, or fatigue?
Green urine that shows up once, has an obvious explanation, and disappears quickly is not a medical concern. Green urine that persists for more than a few days, especially when paired with pain, fever, changes in how often you urinate, or abdominal discomfort, is worth mentioning to a doctor. The color alone is rarely the problem. It’s the combination of color change plus other symptoms that signals something your body needs help with.

