What Does It Mean If Your Urine Is Green?

Green urine is almost always harmless, usually caused by something you ate, drank, or a medication you’re taking. In most cases it clears up on its own within 24 to 48 hours. Less commonly, green urine can signal a bacterial infection or a problem with your liver or bile ducts, especially if it persists for more than a couple of days or comes with other symptoms.

Foods and Dyes That Turn Urine Green

The most common reason for green urine is something in your diet. Asparagus is a well-known culprit, and foods or drinks containing artificial green or blue dyes (think brightly colored sports drinks, candies, or frosting) can tint your urine in surprisingly vivid ways. Blue dye in particular mixes with the natural yellow pigment in urine to produce green.

If food or dye is the cause, your urine should return to its normal yellow within 24 to 48 hours once your body finishes processing the pigment. No treatment is needed. You can speed things along by drinking more water, which dilutes the color.

Medications That Cause Green Urine

Several prescription medications can turn urine green as a harmless side effect. Some work through a process in the liver involving compounds called phenols. These include promethazine (an anti-nausea and allergy drug), cimetidine (used for heartburn), and propofol (an anesthetic commonly used during surgery). If you’ve recently had a procedure involving propofol, green urine may appear for a few hours afterward and resolve on its own.

Other medications that don’t involve the same liver pathway can also cause it. Amitriptyline, a tricyclic antidepressant, indomethacin, an anti-inflammatory painkiller, and metoclopramide, used for nausea and stomach problems, have all been reported to turn urine green. Methylene blue, a dye sometimes given during surgery or used to treat a blood condition where red blood cells can’t carry oxygen properly, is another well-known cause. It turns urine blue, which combines with your urine’s natural yellow color to appear green.

In all of these cases, the color change is a cosmetic side effect, not a sign of kidney or bladder damage. The green tint typically fades within hours of the medication leaving your system.

Bacterial Infections

Urinary tract infections caused by a type of bacteria called Pseudomonas can turn urine green. These bacteria produce pigments as they grow, and those pigments dissolve into the urine. Pseudomonas infections are more common in people who are hospitalized, have catheters, or have weakened immune systems, but they can occur in otherwise healthy people too.

If a bacterial infection is behind the color change, you’ll usually notice other symptoms: burning during urination, a frequent or urgent need to pee, cloudy or foul-smelling urine, or fever. A simple urine culture can confirm whether Pseudomonas or another organism is present.

Liver and Bile Duct Problems

Your liver produces a green pigment called biliverdin as part of its normal recycling of old red blood cells. Usually this pigment gets converted and processed before it ever reaches your urine. But when something blocks the bile ducts or the liver isn’t functioning well, biliverdin can build up in the blood and spill into the urine, turning it green.

This is rare, and it doesn’t happen in isolation. Bile duct obstruction or liver failure typically causes other noticeable symptoms: yellowing of the skin or eyes, pale stools, dark or discolored urine, itching, fatigue, or abdominal pain. A genetic condition called hyperbiliverdinemia can also cause green discoloration of the skin, urine, and even breast milk, though it is extremely uncommon and associated with underlying biliary obstruction or liver disease.

How Long Green Urine Lasts

The timeline depends entirely on the cause:

  • Food or drink: 24 to 48 hours after your last exposure.
  • Surgical dyes or propofol: A few hours, often resolving the same day.
  • Ongoing medication: The color may persist as long as you’re taking the drug, then clear once you stop.
  • Infection or liver issue: Won’t resolve on its own and needs treatment.

If your urine is green, you can’t identify a clear cause (food, drink, or medication), and the color hasn’t returned to normal within a couple of days, that’s worth bringing up with your doctor. The same goes if you have fever, pain, or any of the other symptoms described above. A urinalysis and urine culture are simple, quick tests that can distinguish between a harmless cause and something that needs treatment.