Gray hair happens when your hair follicles stop producing pigment. Every strand of hair gets its color from cells called melanocytes, which inject pigment into the hair as it grows. When those cells die off or stop working, the hair grows in without color, appearing gray, silver, or white. The timing depends on your genetics, but the average onset is the mid-thirties for Caucasians, late thirties for Asians, and mid-forties for people of African descent.
How Pigment Cells Get “Stuck”
Your hair follicles go through repeated cycles of growth, rest, and shedding. Each cycle, a pool of melanocyte stem cells needs to move between two regions of the follicle: a storage area called the bulge and a lower region called the hair germ. In the hair germ, molecular signals from surrounding cells tell the stem cells to mature into pigment-producing melanocytes. In the bulge, those signals are suppressed, so the cells stay in their immature, renewable state. This back-and-forth movement is what keeps the system working: some stem cells become pigment factories for the current hair, while others retreat to the bulge to resupply the next cycle.
Research from NYU Grossman School of Medicine, published with NIH support, found that as hair follicles age, more and more of these stem cells get stuck in a zone between the bulge and the hair germ. Trapped there, they can’t mature into pigment-making cells or return to the reservoir of functional stem cells. They essentially become useless. Lead researcher Mayumi Ito described it as a loss of “chameleon-like function,” where the stem cells lose the ability to shift between states. The pigment-producing cells that powered your hair color burn out faster than the cells responsible for hair growth itself, which is why hair turns gray long before it stops growing.
The Role of Hydrogen Peroxide Buildup
Your hair follicles naturally produce small amounts of hydrogen peroxide as a byproduct of normal cell metabolism. When you’re young, an enzyme called catalase breaks this hydrogen peroxide down into harmless water and oxygen. But as you age, catalase levels drop. Other protective antioxidants, including glutathione, decline too. The result is a buildup of hydrogen peroxide right inside the follicle.
That accumulation does real damage. Hydrogen peroxide disables the enzyme responsible for producing melanin, effectively bleaching the hair from the inside. It also reduces the activity of other repair enzymes that would normally fix oxidative damage in the follicle. Over time, this creates a self-reinforcing cycle: less antioxidant protection leads to more oxidative damage, which further impairs pigment production.
Genetics Set the Timeline
When you start going gray is largely written into your DNA. If your parents grayed early, you probably will too. A 2016 genome-wide study identified the gene IRF4 as the first gene directly associated with hair graying. IRF4 was already known to play a role in hair color by helping regulate melanin production. Variants in this gene influence how early your pigment cells begin to falter.
Genetics also determine how much antioxidant protection your follicles maintain over time and how efficiently your melanocyte stem cells regenerate. This is why graying timelines vary so dramatically between individuals, even within the same ethnic group. Some people find their first gray hairs at 20, while others don’t see any until 50.
Stress Can Speed It Up (and Removing Stress Can Reverse It)
The link between stress and gray hair is real, not just folklore. Acute stress triggers your sympathetic nervous system, the same system behind your fight-or-flight response, to flood hair follicles with the stress chemical norepinephrine. This causes melanocyte stem cells to activate all at once, rapidly depleting the reservoir that would normally supply pigment over many hair cycles.
What surprised researchers is that this process appears to be reversible in humans, at least in some cases. A 2021 study from Columbia University mapped individual hairs and matched color changes to participants’ stress diaries. When people experienced high stress, sections of their hair lost pigment. When the stress lifted, some hairs regained their color. One participant went on vacation, and five separate hairs reverted from gray to dark during that period, all synchronized in time. The researchers noted that human aging “is not a linear, fixed biological process but may, at least in part, be halted or even temporarily reversed.” The catch: this reversal seems to work only for relatively recent graying. Hairs that have been gray for years are unlikely to bounce back.
Smoking and Premature Graying
Smokers are about two and a half times more likely to go gray before age 30 compared to nonsmokers. A study of Jordanian adults found this association held even after adjusting for other variables like family history and body weight. The mechanism likely involves the same oxidative stress pathway: cigarette smoke introduces a flood of free radicals that accelerate damage to melanocyte stem cells and deplete the antioxidant defenses in hair follicles.
Nutritional Deficiencies That Affect Hair Color
Certain nutrient shortfalls are linked to premature graying, particularly in people who go gray well before the typical age range. Iron is one of the better-studied connections. People with premature gray hair tend to have significantly lower serum iron levels than those who gray on a normal timeline, and the severity of graying correlates with how low iron levels drop. Calcium shows a similar pattern, with lower levels tied to more extensive graying.
Vitamin B12 deficiency is another well-recognized trigger. B12 plays a role in DNA synthesis and cell division, and without enough of it, melanocytes can’t function properly. Pernicious anemia, a condition where the body can’t absorb B12, is specifically associated with early graying. Copper has a theoretical role in melanin production, but studies have not found a statistically significant difference in copper levels between people with premature gray hair and those without.
The practical implication: if you’re graying unusually early, it may be worth checking your iron, B12, and calcium levels. Correcting a true deficiency has, in some cases, been associated with partial repigmentation.
Autoimmune and Thyroid Conditions
Several medical conditions can cause or accelerate graying. Vitiligo, an autoimmune disorder that destroys melanocytes in the skin, can also affect hair follicles. People with vitiligo and their family members carry a higher risk of other autoimmune diseases, including thyroiditis, type 1 diabetes, and pernicious anemia, all of which have independent links to premature graying.
Thyroid disorders are particularly common alongside pigment-related conditions. Thyroid autoimmunity shows up in an estimated 19% of vitiligo patients and 28% of people with alopecia areata, another autoimmune condition that targets hair follicles. Both an underactive and overactive thyroid can disrupt melanin production. Alopecia areata sometimes causes hair to fall out and regrow without pigment, because the immune attack on the follicle collapses its normal protective environment and damages the melanocyte stem cells inside.
Environmental Damage to Pigment Cells
Melanocytes sit in a uniquely vulnerable position. In skin, they’re located in the outermost layer, in constant contact with UV radiation and environmental pollutants. UV light is a potent generator of reactive oxygen species, the same damaging molecules that accumulate from hydrogen peroxide buildup inside the follicle. UVA rays penetrate deep into skin layers and cause oxidative DNA damage, while UVB rays are more efficient at direct DNA destruction.
This matters for hair because melanocytes in hair follicles face a version of the same oxidative burden. Chronic exposure to UV radiation and environmental chemicals like air pollution compounds the internal decline in antioxidant defenses that comes with aging. The combination of external oxidative stress and diminishing internal protection explains why graying tends to accelerate over time rather than proceeding at a steady pace.

