Nail discoloration presents a diagnostic puzzle because it stems from many different underlying causes, according to board-certified dermatologist Dana Stern, MD. The discoloration can appear in brown, black, white, green, red, purple, or yellow tones.

Common causes include fungal and bacterial infections, age-related changes, and nutritional deficiencies. Board-certified holistic nutritionist Jennifer Hanway notes that vitamin B12 can cause nail pigmentation, iron-deficiency anemia can produce pale nail beds, and zinc deficiency can affect nail growth and appearance. However, Hanway emphasizes that no single nail color change is diagnostic on its own.

To identify the cause, keep detailed notes on which nails are affected, when changes started, and any recent diet changes, weight loss, new supplements, or medications. Hanway recommends speaking with a doctor about whether bloodwork for ferritin, vitamin B12, or other targeted tests is appropriate.

Prevention depends on the type of discoloration. Dr. Stern recommends using a base coat under nail polish and seeing an experienced nail technician to reduce bacterial infections in artificial nails. For nutritional support, Hanway emphasizes adequate protein intake, since nails are made primarily of keratin. She recommends foods like eggs, fish, Greek yogurt, red meat, and shellfish for iron and zinc. She cautions against biotin supplements, noting that evidence of benefit in people without a deficiency is limited and higher doses can interfere with laboratory tests.

A 2026 European Academy of Dermatology and Venereology study reported that 46 percent of GLP-1 medication users experienced nail discoloration compared with 17 percent of adults with obesity or type 2 diabetes who never took these drugs. However, Dr. Stern notes the full study was not released publicly and did not report that about half of GLP-1 users had nail problems before treatment. When researchers examined only nail changes that began after starting GLP-1, the associations disappeared entirely, suggesting the connection may not be causal.