Curious Minds

Clear answers to science and history questions

Melanin: How It Works and Why Skin Color Varies

· 6 min read · Science

Melanin works by absorbing and scattering ultraviolet (UV) radiation and other high-energy light, converting that energy into harmless heat and blocking it from reaching DNA in skin cells. It is produced inside specialized cells called melanocytes and then packaged into tiny organelles called melanosomes that are transferred to surrounding skin, hair, and eye cells, where they cluster around the cell nucleus like a protective umbrella.

What Melanin Is and Where It Comes From

Melanin is not a single molecule but a family of pigments built from the amino acid tyrosine. Two main types matter in humans: eumelanin, which ranges from brown to black, and pheomelanin, which ranges from yellow to reddish-brown. The ratio and total amount of these pigments, not the presence or absence of a "melanin gene," determine visible color. Everyone except people with the rare condition albinism produces melanin; differences in skin, hair, and eye color come from how much, which type, and how it is packaged.

Melanocytes reside in the basal layer of the epidermis, the lowest living layer of skin. Each melanocyte contacts dozens of nearby keratinocytes (the main skin cells) and delivers pigment to them through tentacle-like extensions. This arrangement means one melanocyte can supply color to a relatively large patch of skin. The same cells also exist in hair follicles, where they color the hair shaft, and in the iris of the eye, where pigment distribution affects eye color.

The Biochemistry: How Melanin Is Made

Melanin synthesis, called melanogenesis, happens inside melanosomes through a series of enzyme-driven steps. The key enzyme is tyrosinase, which converts tyrosine into dopaquinone. From there, the pathway branches: with cysteine present, dopaquinone leads toward pheomelanin; without it, the route continues toward eumelanin. The final pigment is then linked to proteins to form a stable, dark polymer.

Several factors influence how much pigment is produced and how it is distributed:

  • Genetics: Many genes, including MC1R, TYR, and SLC24A5, influence melanin type and amount. Variations in these genes explain most natural differences in skin and hair color between populations.
  • UV radiation: Exposure to UV light damages DNA and triggers a signaling response that increases tyrosinase activity and melanin production, producing a tan.
  • Hormones: Melanocyte-stimulating hormone (MSH) and other hormones can increase pigmentation. This is why some people notice darker skin during pregnancy or with certain hormonal conditions.
  • Inflammation and injury: Skin damage can cause either increased pigmentation (post-inflammatory hyperpigmentation) or loss of pigment, depending on what happens to the melanocytes.

How Melanin Protects Skin

The core protective mechanism is physical and chemical. Melanosomes are positioned between the cell nucleus and the skin surface, so incoming UV photons hit pigment granules before they reach DNA. Melanin absorbs UV and dissipates the energy as heat, and it also scavenges free radicals that form after UV exposure. This reduces the number of DNA mutations that can lead to skin cancer.

Eumelanin is generally more effective at this than pheomelanin. Pheomelanin can actually generate free radicals when exposed to UV light, which helps explain why people with fair skin, red hair, and a high pheomelanin-to-eumelanin ratio tend to burn more easily and face higher skin cancer risk. The protection is real but partial: no amount of melanin makes UV exposure completely safe, and people with darker skin can still develop skin cancer, often in less sun-exposed areas and at later stages because it is easier to miss.

Tanning, Burning, and the Limits of Protection

A tan is a delayed response to UV damage, not a sign of health. When UV strikes skin, existing melanin may darken slightly, and over hours to days new melanin is produced and distributed. This provides modest protection, roughly equivalent to a low sun protection factor, but it arrives after the DNA damage that triggered it. Sunburn is the visible sign that the dose exceeded the skin's capacity to protect itself.

Because melanin production is a response to damage, repeated tanning and burning accumulate genetic changes in skin cells. The practical takeaway is that melanin is a built-in filter, not a substitute for shade, clothing, and sunscreen. This applies across the spectrum of skin tones.

Melanin Beyond the Skin

Melanin appears in several other tissues with different functions:

  • Hair: Follicle melanocytes inject pigment into the growing hair shaft. Hair graying happens when melanocyte stem cells in the follicle become depleted or stop producing pigment, a process influenced by genetics and age.
  • Eyes: Iris pigmentation determines eye color. People with lighter eyes have less melanin in the front of the iris, which lets more light scatter and produces blue or green tones. Melanin in the back of the eye (the retinal pigment epithelium) is essential for normal vision.
  • Inner ear: Melanin-containing cells in the cochlea are thought to help maintain hearing, though the details are still being studied.
  • Brain: Neuromelanin is found in certain neurons, but its role is not fully understood and remains an active area of research.

Common Misconceptions About Melanin

One persistent myth is that melanin makes a person immune to sun damage. It reduces risk but does not eliminate it, and skin cancer in darker skin is often diagnosed later, which makes it more dangerous. Another misconception is that melanin is only about color; in fact, its light-absorbing and radical-scavenging properties are central to its biological role. It is also not accurate to say that people with albinism have no melanin at all in every case; the condition involves reduced or absent production, and there are different types with different degrees of pigment loss.

A related misunderstanding is that melanin can be "boosted" safely with supplements or foods to tan without UV. No food or pill has been shown to produce a protective tan. Some compounds are being studied for effects on pigmentation, but the evidence is not strong enough to support claims, and the science is genuinely unsettled.

Frequently Asked Questions

Does melanin protect against all types of skin damage?

No. Melanin is most effective against UVB and also absorbs some UVA, but it does not block all UV, and it does not prevent damage from other sources such as infrared or chemical irritants. It reduces, but does not remove, the risk of sun-related skin damage and skin cancer.

Why does skin get darker in the sun?

UV exposure damages DNA in skin cells and triggers signaling that increases melanin production and transfers pigment to surrounding cells. This is a protective response, but it happens after the damage has begun, which is why a tan is not a safe substitute for sun protection.

Can melanin levels change over a lifetime?

Yes. Pigmentation can increase with UV exposure, hormonal changes, and inflammation, and it can decrease with age, certain skin conditions, and autoimmune processes that target melanocytes. Some changes are temporary and some are permanent, depending on the cause.

Is melanin the same in everyone?

The pigment molecules are the same, but the amount, the mix of eumelanin and pheomelanin, and the size and distribution of melanosomes differ between individuals. These differences are largely genetic and account for the range of natural skin, hair, and eye colors.

Does having more melanin mean you don't need sunscreen?

Everyone benefits from sun protection. Melanin lowers the risk of UV damage, but it does not eliminate it, and people with darker skin can still develop sunburn and skin cancer. Sunscreen, clothing, and shade remain useful for all skin tones.

What causes hair to turn gray?

Hair graying is mainly due to the gradual loss of melanocyte stem cells in hair follicles, so new hair grows without pigment. Genetics, age, and some medical conditions influence the timing, but the exact triggers are still being researched and are not fully settled.

In this article
  1. What Melanin Is and Where It Comes From
  2. The Biochemistry: How Melanin Is Made
  3. How Melanin Protects Skin
  4. Tanning, Burning, and the Limits of Protection
  5. Melanin Beyond the Skin
  6. Common Misconceptions About Melanin
  7. Frequently Asked Questions