Humanity has mapped the genome, photographed black holes, and sent robots wandering around Mars. Yet until recently, science had not fully explained one of life’s most familiar bathroom mysteries: Why is urine yellow?
Researchers had known for more than a century that a pigment called urobilin gives urine its familiar yellow color. What remained unclear was exactly how the human body produced that pigment. In 2024, researchers from the University of Maryland and the National Institutes of Health identified the missing biological link: an enzyme made by bacteria living in the gut.
The enzyme, called bilirubin reductase or BilR, helps transform bilirubin into the compounds that eventually create yellow urine. The discovery does more than settle a question that has probably occurred to every curious child and tired parent. It may also help scientists better understand jaundice, inflammatory bowel disease, gallstones, and the complex relationship between gut bacteria and human health.
What Actually Makes Urine Yellow?
The immediate answer is urobilin, a yellow pigment produced during the breakdown and disposal of old red blood cells. Urobilin is carried into the urine and removed from the body by the kidneys.
The fuller answer involves a surprisingly elaborate relay race among red blood cells, the liver, the digestive system, gut microbes, and the kidneys. Nobody receives a trophy, but the toilet bowl gets a splash of color.
Step 1: Old Red Blood Cells Are Recycled
Red blood cells do not last forever. As aging cells are removed from circulation, the body breaks down hemoglobin, the protein responsible for carrying oxygen. This recycling process produces a yellow-orange substance called bilirubin.
Bilirubin is processed by the liver and released into bile. The bile then travels into the intestine, where bilirubin can be altered by microorganisms in the gut. Bilirubin itself is also associated with the yellowing of the skin and eyes seen in jaundice when too much of it accumulates in the bloodstream.
Step 2: Gut Bacteria Use Bilirubin Reductase
Once bilirubin reaches the intestine, certain gut bacteria produce bilirubin reductase. This enzyme converts bilirubin into a colorless compound called urobilinogen.
This was the missing step that scientists had struggled to identify. Researchers knew bacteria were involved, but many gut microbes survive only in low-oxygen environments and can be difficult to grow and study in a laboratory. The team combined bacterial screening, comparative genomics, fluorescence testing, and metabolomics to identify the gene responsible for bilirubin reduction.
They named that gene bilR and confirmed that its enzyme could perform the expected chemical reaction. In other words, scientists did not merely find a suspicious-looking gene loitering near the scene. They tested its activity and linked it directly to bilirubin metabolism.
Step 3: Urobilinogen Becomes Urobilin
Some urobilinogen is absorbed and eventually reaches the kidneys. It is then converted through oxidation into urobilin, the yellow pigment excreted in urine.
The amount of water mixed with that pigment affects how dark or light the urine appears. A small concentration of urobilin in plenty of water produces pale yellow urine. The same pigment in a smaller volume of water produces a deeper yellow or amber color.
This is why urine color can change noticeably during the day even when nothing is wrong. The pigment remains part of the basic equation, while hydration changes the dilution.
Why Was This Discovery Such a Big Deal?
It may seem surprising that a routine bodily process remained partly unexplained for so long. Scientists had connected urobilin with urine color in the 19th century, but identifying the exact microbial enzyme responsible required modern genetic and biochemical tools.
Finding bilirubin reductase gives researchers a specific target to study. Instead of vaguely asking how “the microbiome” influences bilirubin, scientists can now investigate which bacteria carry the bilR gene, when the gene is active, and how its presence affects bilirubin levels.
Possible Connections to Infant Jaundice
The researchers found that bilirubin reductase was nearly universal in healthy adults but was often absent in very young infants. Babies are particularly vulnerable to jaundice during the first days and weeks of life because bilirubin can accumulate faster than their developing bodies remove it.
The lack of an established gut microbial community may be one part of that picture. However, the discovery does not mean that missing BilR is the only cause of infant jaundice, nor does it immediately create a new treatment. It provides a biological clue that researchers can examine in future studies.
Possible Links to Inflammatory Bowel Disease
BilR was also less common in people with inflammatory bowel disease. According to the NIH research summary, the enzyme was missing in more than 30% of adults with IBD in the datasets analyzed.
That association does not prove that a lack of BilR causes IBD. The relationship may work in several directions: intestinal inflammation could alter the microbiome, microbiome changes could affect bilirubin metabolism, or both could be influenced by other factors. The finding is best viewed as a promising research lead rather than a diagnosis hiding in the color of someone’s urine.
Gallstones and Bilirubin Metabolism
Researchers are also interested in whether microbial bilirubin processing influences the formation of pigment gallstones. These stones contain bilirubin-related material, so understanding how much bilirubin is transformed, reabsorbed, or excreted could eventually clarify why certain people are more susceptible.
More clinical research is needed before bilirubin reductase can be used as a biomarker or treatment target. The discovery supplies a missing piece of the pathway, not a finished medical instruction manual.
What Is a Normal Urine Color?
Normal urine can range from nearly colorless to deep yellow. For many healthy adults, pale straw-colored or light-yellow urine generally suggests adequate hydration. Darker yellow urine often means the kidneys are conserving water and producing a more concentrated fluid.
Color is useful as a quick observation, but it is not a complete medical test. Lighting, toilet-cleaning products, supplements, food pigments, medication, exercise, and recent fluid intake can all influence what you see.
Pale Yellow
Pale yellow is commonly considered a normal, well-hydrated color. The urine still contains urobilin, but enough water is present to dilute the pigment.
Dark Yellow or Amber
Dark yellow urine commonly appears after sleeping, exercising, sweating, spending time in hot weather, or simply forgetting to drink. Morning urine is often darker because most people go several hours without consuming fluids overnight.
If the color becomes lighter after reasonable fluid intake and there are no other symptoms, dehydration is a likely explanation. Deep-yellow urine is recognized by the National Institute of Diabetes and Digestive and Kidney Diseases as a possible sign of dehydration. The CDC also recommends checking urine color when monitoring hydration during hot weather.
Completely Clear Urine
Clear urine can occur after drinking a large quantity of fluid. An occasional nearly colorless trip to the bathroom is usually unsurprising. Persistently clear urine combined with excessive thirst or unusually frequent urination, however, may deserve medical discussion because some conditions interfere with the kidneys’ ability to concentrate urine.
There is no need to compete for the clearest urine in the neighborhood. Hydration is a health behavior, not an Olympic event.
Urine Colors That May Have Other Explanations
Neon or Bright Yellow
Bright yellow urine is commonly associated with B-complex vitamins, particularly riboflavin. The body removes unused amounts through urine, sometimes producing a fluorescent shade that looks capable of directing airport traffic.
This change is generally harmless when it clearly follows vitamin or supplement use. Review the product label and follow recommended doses rather than assuming that more vitamins automatically produce more health.
Orange Urine
Orange urine may result from dehydration, vitamins, food coloring, or medications such as phenazopyridine and rifampin. It can also occur with liver or bile-duct problems, especially when accompanied by pale stools or yellow skin and eyes.
Pink or Red Urine
Beets, blackberries, rhubarb, and certain dyes can temporarily make urine pink or red. Medications may also cause this effect.
However, red urine can represent blood, known medically as hematuria. Possible causes include urinary tract infections, kidney stones, inflammation, injury, an enlarged prostate, vigorous exercise, kidney disease, and cancers of the urinary system.
Only a small amount of blood may be needed to change urine color. Unexplained visible blood should therefore be medically evaluated even when it appears once and causes no pain.
Brown, Tea-Colored, or Cola-Colored Urine
Brown urine can be caused by foods, medications, severe dehydration, liver disease, bleeding, or the breakdown of muscle tissue. Tea- or cola-colored urine after extreme exercise may indicate rhabdomyolysis, a potentially serious condition in which damaged muscle releases substances that can injure the kidneys.
Dark urine accompanied by muscle pain, weakness, reduced urination, yellow skin, abdominal symptoms, or pale stools should not be dismissed as ordinary dehydration.
Blue or Green Urine
Blue or green urine is unusual but possible. Food dyes, diagnostic dyes, and medications such as methylene blue, amitriptyline, cimetidine, indomethacin, or propofol may be responsible. Certain bacterial urinary infections can occasionally create green urine.
A sudden unexplained change, especially with pain, fever, urgency, or a strong odor, should be evaluated rather than turned into a social-media science experiment.
Cloudy or Milky Urine
Cloudiness is different from color. It may result from crystals, mucus, vaginal discharge, dehydration, kidney stones, or a urinary tract infection. Cloudy urine accompanied by burning, frequent urination, pelvic discomfort, fever, back pain, or a foul smell increases concern for infection.
A kidney infection can cause cloudy, dark, bloody, or foul-smelling urine along with fever, chills, painful urination, nausea, or pain in the back or side. Such symptoms require prompt medical attention.
Persistently Foamy Urine
A few bubbles can form because urine hits the toilet water quickly. Persistent, thick foam is different and can sometimes indicate excess protein in the urine. Because early kidney disease may produce no obvious symptoms, normal-looking urine cannot guarantee normal kidney function. Testing is more reliable than staring thoughtfully into the bowl.
Can Urine Color Reliably Measure Hydration?
Urine color can offer a useful estimate of hydration in many healthy adults. Research has found meaningful associations between urine color and laboratory measures such as urine concentration, osmolality, and specific gravity. Darker urine often reflects a more concentrated sample, while lighter urine generally reflects greater fluid intake.
Still, color has limitations. It may be less reliable when a person takes supplements or medications, eats strongly pigmented foods, has a medical condition affecting urine concentration, or checks the toilet under dramatically colored lighting.
Hydration needs also vary. Climate, body size, pregnancy, exercise, illness, sweating, diet, kidney function, and medication use all matter. Instead of forcing a universal water target, many people can use thirst, urine frequency, urine color, physical activity, and medical guidance together.
When Should You Contact a Healthcare Professional?
Seek medical advice for urine color that remains abnormal, cannot be explained by food or medication, or occurs with concerning symptoms.
Important warning signs include:
- Visible blood or unexplained pink, red, or smoky-brown urine
- Dark brown or cola-colored urine
- Yellow skin or eyes, pale stools, or significant abdominal pain
- Fever, chills, vomiting, or pain in the back, side, or groin
- Burning, urgency, or frequent painful urination
- Very little urine despite drinking fluids
- Dark urine after intense exercise with severe muscle pain or weakness
- Persistent thick foam or repeated cloudiness
- A color change that continues after suspected food, vitamin, or medication effects should have ended
MedlinePlus specifically recommends contacting a healthcare professional for unexplained abnormal color, visible blood even once, clear dark-brown urine, or unexplained pink, red, or smoky-brown urine.
Everyday Experiences: What People Commonly Notice
The science of yellow urine becomes easier to understand when connected to ordinary daily experiences. Most people do not spend the afternoon thinking about bilirubin metabolism. They simply notice that the first bathroom visit of the morning looks darker than one taken after lunch.
That morning change is usually a concentration effect. During sleep, the body continues producing urine, but no water is being consumed. The kidneys conserve fluid, so the same yellow pigment is packed into a smaller volume. After breakfast and a reasonable amount of water, later urine may become lighter. This pattern is generally more informative than judging a single sample in isolation.
Exercise creates another familiar example. Imagine someone completing a long outdoor walk, a demanding gym session, or several hours of yardwork in summer. Sweat removes water from the body. If that fluid is not replaced, urine may become darker and less frequent. The person may also notice thirst, dry mouth, fatigue, or a mild headache. Drinking fluids gradually and allowing time for absorption often causes the color to move back toward pale yellow.
Supplements can produce a more theatrical experience. Someone takes a multivitamin with breakfast and later sees intensely bright yellow urine. The timing can be alarming until the person realizes that water-soluble vitamins are being excreted. Checking the supplement label and considering recent intake can prevent a harmless color change from becoming a full-scale internet emergency.
Food can create similar confusion. A serving of beets may cause pink or reddish urine in some people. Blackberries, rhubarb, artificial dyes, and strongly colored foods can also alter its appearance. The practical lesson is not to ignore red urine automatically, but to consider whether there is an obvious dietary explanation. If there is no explanation, the discoloration continues, or symptoms such as pain and burning appear, medical evaluation is the safer choice.
Illness often changes the experience in a different way. A person with fever, vomiting, or diarrhea may notice darker urine because fluid losses exceed intake. Someone with a urinary infection may instead notice cloudiness, odor, urgency, or pain. In these situations, color is only one part of the story. Symptoms, urine volume, fluid losses, medication use, and overall condition matter more than matching the sample to a color chart with artistic precision.
A useful habit is to observe trends without becoming obsessed. Ask whether the change appeared after exercise, heat exposure, a new medication, vitamins, or a colorful meal. Notice whether it resolves after normal hydration. Pay attention to pain, fever, jaundice, muscle weakness, reduced urine output, or visible blood.
It can also help to photograph an unusual color before flushing when seeking medical advice, particularly if the change is intermittent. Record recent foods, supplements, medications, exercise, and symptoms. This information may help a clinician determine whether testing such as urinalysis, blood tests, urine culture, or imaging is appropriate.
The experience-based takeaway is simple: ordinary shades of yellow often reflect normal pigment and changing hydration. Dramatic, persistent, or symptomatic changes deserve more attention. Urine is a useful clue, but it is not a tiny liquid fortune teller capable of diagnosing every organ system on sight.
Frequently Asked Questions
Does yellow urine always mean dehydration?
No. Healthy urine naturally contains yellow urobilin. Dehydration generally makes the yellow darker because the urine is more concentrated. Pale or light-yellow urine is also yellow but commonly reflects greater dilution.
Is clear urine healthier than pale yellow urine?
Not necessarily. Clear urine often follows high fluid intake, while pale yellow commonly indicates adequate hydration. Persistently clear urine with excessive thirst or urination should be discussed with a healthcare professional.
Did scientists only recently discover urobilin?
No. Urobilin had been recognized as the yellow pigment in urine for more than a century. The recent breakthrough was the identification of bilirubin reductase, the gut microbial enzyme responsible for converting bilirubin into urobilinogen, a precursor of urobilin.
Can someone test for bilirubin reductase at home?
No standard home test is available for this purpose. The discovery is currently most relevant to microbiome and bilirubin research. It has not established a routine consumer test or treatment based on BilR levels.
Can urine color diagnose liver or kidney disease?
Color alone cannot diagnose either condition. Dark, brown, red, or foamy urine may justify testing, but many liver and kidney disorders produce few visible changes. Medical history, physical examination, blood tests, urinalysis, imaging, and other evaluations may be needed.
Conclusion
Scientists have finally completed the basic explanation for why urine is yellow. Old red blood cells are broken down, producing bilirubin. The liver sends bilirubin into the intestine, where gut microbes use bilirubin reductase to convert it into urobilinogen. That compound eventually becomes urobilin, the pigment responsible for urine’s yellow color.
The finding highlights how closely human biology is connected to the gut microbiome. It may eventually improve scientific understanding of jaundice, inflammatory bowel disease, pigment gallstones, and bilirubin regulation, although more research is needed before the discovery changes routine medical care.
For everyday purposes, yellow urine is usually normal. Its shade often changes with hydration. Pale yellow commonly suggests adequate fluid intake, while deeper yellow may signal that the urine is more concentrated. Unexplained red, brown, cloudy, unusually foamy, or persistently abnormal urineespecially with pain, fever, jaundice, weakness, or reduced outputshould be evaluated by a healthcare professional.
Note: This article provides general educational information and is not a substitute for diagnosis or treatment from a qualified healthcare professional.



