Hair turns gray when the cells responsible for producing pigment stop working. These pigment-producing cells, called melanocytes, give each strand its color as it grows. When they die off or lose function, the hair that replaces them grows in without color, appearing gray, silver, or white. The process is gradual, and while genetics play the largest role in timing, several biological, nutritional, and lifestyle factors influence when and how quickly it happens.
How Pigment Gets Into Hair
Every hair follicle contains melanocytes that inject melanin (the same pigment responsible for skin and eye color) into the hair shaft as it grows. These melanocytes are replenished by a pool of stem cells that live in a region of the follicle called the bulge. During each hair growth cycle, some of these stem cells travel down to the base of the hair, mature into pigment-producing melanocytes, color the strand, and then die when the growth cycle ends. Other stem cells migrate back up to the bulge, reset themselves, and wait for the next cycle.
This back-and-forth movement is what keeps hair colored cycle after cycle. The stem cells essentially toggle between two states: a dormant stem cell state and an active pigment-producing state. Research from NYU Grossman School of Medicine found that as hair follicles age, more and more of these stem cells get physically stuck in place, lodged between the bulge and the base. Stuck cells can’t mature into functioning melanocytes, and they can’t reset as stem cells either. As the number of stuck cells increases, fewer and fewer hairs get pigment. “It is the loss of chameleon-like function in melanocyte stem cells that may be responsible for graying and loss of hair color,” noted the study’s lead researcher, Mayumi Ito.
The Role of Hydrogen Peroxide
Your hair follicles naturally produce small amounts of hydrogen peroxide as a byproduct of cellular metabolism. Normally, an enzyme called catalase breaks this hydrogen peroxide down into water and oxygen before it can do any damage. But as you age, catalase levels in the follicle drop. Without enough of this enzyme, hydrogen peroxide builds up and essentially bleaches the hair from the inside out.
High hydrogen peroxide levels also interfere with another enzyme, tyrosinase, which is directly responsible for producing melanin. So the damage is twofold: less melanin gets made, and the melanin that does exist gets chemically disrupted. A 2009 study examining human hair follicle cell cultures confirmed this mechanism, describing it as the hair literally bleaching itself over time.
Genetics Set the Clock
The single biggest predictor of when you’ll go gray is your family history. A cross-sectional study of over 6,300 people found that having a family history of premature graying carried an odds ratio of 12.82, making it by far the strongest risk factor identified. For comparison, obesity had an odds ratio of 2.61 and heavy smoking came in at 1.61.
In 2016, researchers at University College London identified the first specific gene linked to graying: IRF4. This gene was already known to regulate melanin production and storage, but the study, which analyzed DNA from over 6,300 people of mixed European, Native American, and African ancestry across five Latin American countries, was the first to connect it to the graying process specifically. Understanding how IRF4 influences graying could eventually lead to ways to slow or block it at the follicle level.
There’s a well-known rule of thumb called the “50-50-50 rule,” which claims that 50% of people have 50% gray hair by age 50. A worldwide survey published in the British Journal of Dermatology found this is a significant overestimate. The actual percentage of people with at least 50% gray coverage at age 50 ranges from 6% to 23%, depending on ethnic background and natural hair color.
Nutritional Deficiencies That Accelerate Graying
Several vitamin and mineral shortfalls are associated with premature graying, meaning gray hair that appears before age 20 in people of Asian descent, before 25 in people of European descent, or before 30 in people of African descent.
- Vitamin B12 is one of the most commonly identified deficiencies in people who gray early. B12 shortfalls often occur alongside low levels of folic acid and biotin, suggesting these nutrients work together to support pigment production.
- Copper plays a direct role in melanin synthesis. Because the body also uses copper for energy production, blood cell creation, and iron metabolism, a deficiency can have wide-ranging effects beyond hair color.
- Iron deficiency is frequently seen in people with premature graying. Iron is essential for hemoglobin production and oxygen delivery throughout the body, including to hair follicles.
Correcting these deficiencies through diet or supplementation may slow further graying, though hair that has already grown in gray won’t change color on its own. The key nutrients to focus on are found in meat, shellfish, eggs, legumes, and dark leafy greens.
Smoking and Stress
Smoking increases oxidative stress throughout the body, including in hair follicles, which accelerates the same hydrogen peroxide buildup that occurs naturally with age. People with a smoking history of more than five pack-years are about 60% more likely to go gray prematurely compared to non-smokers.
Psychological stress has a more complicated relationship with graying. Acute stress can push hair follicles into a resting phase prematurely, and animal studies have shown that stress hormones can deplete the melanocyte stem cell pool in hair follicles. The popular image of someone going gray “overnight” from stress isn’t quite how it works, since existing hair doesn’t change color. But chronic stress can accelerate the rate at which new hairs grow in without pigment.
Medical Conditions Linked to Early Graying
Certain autoimmune and endocrine conditions can trigger premature graying. Vitiligo, a condition in which the immune system attacks and destroys melanocytes, can remove pigment from both skin and hair, leaving white patches. Thyroid disorders, particularly hypothyroidism and Hashimoto’s thyroiditis, are also associated with early graying, likely because thyroid hormones influence melanocyte function. Alopecia areata, another autoimmune condition, sometimes causes hair to regrow without pigment after falling out.
These conditions don’t cause graying through the same gradual stem cell exhaustion that drives age-related graying. Instead, they represent direct immune or hormonal disruption of the pigment system, which is why graying from these causes can sometimes appear more suddenly or in unusual patterns.
Can Gray Hair Reverse?
For years, graying was considered permanent. The assumption was that once melanocyte stem cells were lost, they were gone for good. Recent evidence suggests that’s not entirely true.
Spanish physicians reported in JAMA Dermatology that more than a dozen lung cancer patients undergoing a specific type of immunotherapy experienced an unexpected side effect: their gray hair regrew with color. This was significant because it suggested that some melanocyte stem cells survive in gray hair follicles and can be reactivated under the right conditions.
Building on this finding, researchers at the University of Alabama at Birmingham have been testing an experimental compound in mice that appears to reprogram melanocyte stem cells to a younger, functional state. When gray-haired mice were treated with the compound, their hair regrew with pigment. Even after the colored hairs were plucked, the new hairs that replaced them retained the pigmentation, suggesting a lasting change rather than a temporary effect. “This compound is reprogramming the stem cells, taking them to a younger state, allowing them to start up again,” said researcher Melissa Harris. This research is still in animal studies, but it represents a shift in understanding: graying may not always be a one-way process.