What Medications Cause Hair to Turn Yellow?

Yellow hair discoloration, known medically as xanthotrichia, is most often caused by chemicals applied directly to the hair rather than by pills or systemic medications. The most well-documented culprits include selenium sulfide dandruff shampoos, self-tanning agents containing dihydroxyacetone, and topical minoxidil solutions used for hair regrowth. A smaller number of oral medications can also shift hair color, though yellowing specifically is less common than other shade changes like graying or darkening.

Selenium Sulfide Shampoos

Selenium sulfide at a 2.5% concentration, the prescription-strength version found in dandruff and seborrheic dermatitis shampoos, is one of the best-documented causes of yellow hair. The discoloration happens because the selenium compound deposits onto the hair shaft during washing, leaving a visible yellow tint that builds up over repeated use. People with gray, white, or light blonde hair tend to notice it most, since there’s less natural pigment to mask the staining.

Over-the-counter versions at 1% concentration can also contribute, though the effect is usually milder. The yellowing is external, meaning the chemical sits on the surface of the hair rather than changing the pigment produced by follicles. This distinction matters because it means the discoloration is largely reversible with thorough rinsing or clarifying shampoos, and it stops progressing once you switch to a different product.

Topical Minoxidil

Minoxidil, the most widely used topical treatment for hair thinning, has been linked to hair color changes in a small percentage of users. In a cross-sectional study of minoxidil users, about 0.9% reported noticing a yellow tint to their hair. Graying was the most common color shift overall, followed by various shades of brown and yellow. The liquid solution form, which accounts for the vast majority of prescriptions, was the formulation most commonly associated with these changes.

Case reports have described a condition called xanthochromia, a yellowish discoloration of the hair shaft, attributed to prolonged minoxidil use. The exact mechanism isn’t fully understood, but it likely involves a combination of the solution’s chemical base interacting with the hair cuticle and possible oxidation of the drug on the hair surface. Because minoxidil is typically used for months or years, the color change can develop gradually enough that users don’t connect it to the product right away.

Self-Tanning Products

Dihydroxyacetone (DHA), the active ingredient in most sunless tanners, is a documented cause of yellow hair. DHA works by reacting with proteins in the outermost layer of skin and hair to produce a brownish color. On skin, this reaction looks like a tan. On hair, particularly lighter shades, the same chemical reaction can produce a yellow or orange-yellow cast instead.

This is especially common with spray tans or foam products that come into contact with the hairline, eyebrows, or facial hair. Even careful application can transfer small amounts of DHA to hair during sleep or sweating. The discoloration is confined to the outer hair shaft and grows out naturally, but it can take weeks to fully clear since hair only grows about half an inch per month.

Other Medications That Affect Hair Color

While yellowing specifically is uncommon from oral medications, several drug classes are known to alter hair pigmentation through different mechanisms. Some medications trigger increased melanin production in the hair follicle, while others deposit the drug itself or its byproducts directly into the growing hair shaft. A few work by promoting the formation of entirely new pigments like lipofuscin, or by depositing iron into surrounding tissue.

Drugs more commonly associated with hair color shifts in general include certain antibiotics, antimalarials, and chemotherapy agents, though these typically produce graying, darkening, or blue-toned changes rather than yellowing. The specific color change depends on which pigment pathway the drug disrupts and on your baseline hair color. Lighter hair is more susceptible to visible discoloration of any kind simply because there’s less natural pigment competing with the new color.

Medication vs. Environmental Causes

Before assuming a medication is responsible, it’s worth considering other common causes of yellow hair. Chlorinated pool water reacts with copper traces in plumbing to deposit a greenish-yellow tint, particularly on bleached or chemically treated hair. Cigarette smoke leaves a tar residue that yellows white and gray hair over time. Hard water with high mineral content can also leave a yellowish buildup on lighter hair.

The key difference is pattern. Environmental yellowing tends to be uniform across exposed hair, while medication or product-related yellowing often concentrates where the product was applied or is more noticeable in hair that grew during a specific treatment period. If the yellowing appeared shortly after starting a new medication or switching hair products, that timing is the strongest clue.

Reversing the Discoloration

For externally caused yellowing from shampoos, minoxidil, or self-tanners, the fix is usually straightforward. Stopping or switching the product is the first step, and the discoloration fades as stained hair grows out and is cut away. Clarifying shampoos designed to strip product buildup can speed the process for surface-level staining. Purple-tinted shampoos, commonly marketed for gray or blonde hair, work by depositing a violet pigment that neutralizes yellow tones while you wait for clean growth.

For discoloration caused by systemic medications, the pigmentation typically fades after reducing the dose or stopping the drug, though this can take several hair growth cycles. Since hair grows slowly, visible improvement may take three to six months depending on hair length. Sun protection also helps, as UV exposure can intensify or prolong drug-related pigment changes in the hair and skin.