Melanin is a natural pigment that absorbs ultraviolet radiation and converts it into harmless heat, protecting your DNA from sun damage. But UV defense is only one of its roles. Melanin also functions as an antioxidant, plays a part in vision and hearing, protects neurons in the brain, and interacts with the immune system in ways researchers are still mapping out.
UV Protection and Heat Conversion
Melanin’s most recognized job is shielding your cells from ultraviolet radiation. When UV light hits your skin, melanin absorbs the energy and converts it into heat, which then dissipates as infrared radiation. This process prevents UV photons from reaching the nucleus of skin cells, where they could damage DNA and trigger mutations that lead to skin cancer.
The pigment responsible for most of this protection is eumelanin, the brown-black form of melanin. Eumelanin scatters and absorbs 50 to 75 percent of UV radiation that penetrates the skin, while also neutralizing the free radicals that UV generates. People with more eumelanin in their skin have a built-in advantage against UV damage, though no amount of natural pigment makes anyone immune to it.
Two Types With Very Different Behavior
Your body produces two main forms of melanin, and they don’t work the same way. Eumelanin is the protective one: a large, stable polymer that efficiently absorbs UV and quenches free radicals. Pheomelanin, the reddish-yellow pigment more common in people with red hair and fair skin, contains sulfur in its chemical structure. That sulfur makes it less stable and more prone to generating reactive oxygen species rather than neutralizing them.
This distinction matters for cancer risk. Pheomelanin can contribute to oxidative DNA damage even without UV exposure, which may help explain why melanoma sometimes develops on parts of the body that rarely see sunlight. Research has shown that the pheomelanin pigment pathway is implicated in UV-independent carcinogenic contributions to melanoma through oxidative DNA damage. So melanin isn’t uniformly protective; the ratio of eumelanin to pheomelanin in your skin influences your baseline vulnerability.
Free Radical Scavenging
Beyond absorbing UV directly, melanin acts as an antioxidant. It neutralizes reactive oxygen species like singlet oxygen, hydroxyl radicals, and superoxide, all of which can damage cell membranes, proteins, and DNA. Both eumelanin and pheomelanin can scavenge free radicals, though eumelanin does so far more effectively and without the destabilizing side effects of pheomelanin.
Melanin also binds heavy metals like iron, copper, mercury, and lead. By sequestering these metals, it prevents them from catalyzing chemical reactions that would generate even more free radicals. This chelating ability shows up not just in skin but throughout the body, wherever melanin is present.
Protecting Folate and Reproductive Health
One of melanin’s most consequential functions has nothing to do with sunburn. UV radiation breaks down folate, a B vitamin critical for cell division, DNA repair, and fetal development. Folate circulating in blood vessels near the skin surface is vulnerable to both direct UV destruction and indirect damage from UV-generated reactive oxygen species.
When folate levels drop, the consequences are serious: neural tube defects in developing embryos, impaired DNA repair, and reduced cell division. This pressure was likely a major evolutionary force behind dark skin pigmentation in populations living near the equator, where UV exposure is intense year-round. Darker skin preserves folate by blocking more UV before it can reach the bloodstream. Epidemiological data supports this, showing a protective effect of dark pigmentation against both folate depletion and neural tube defects.
The Vitamin D Trade-Off
Your skin needs UV-B radiation to produce vitamin D, and melanin filters out some of that radiation. This creates a trade-off: more melanin means better folate protection but slightly slower vitamin D synthesis. However, the actual inhibitory effect of melanin on vitamin D production is smaller than many people assume. Comparisons between very light and very dark skin types found melanin inhibition factors of only about 1.3 to 1.4, meaning dark skin produces vitamin D roughly 25 to 30 percent less efficiently than very fair skin under the same UV exposure. That modest difference, compounded over months of low sunlight at higher latitudes, likely contributed to the evolution of lighter skin in populations that migrated away from the tropics.
Melanin in Your Eyes
Melanin lines the back of your eye in a layer called the retinal pigment epithelium, where it performs several jobs at once. It acts as a neutral-density filter, absorbing scattered light inside the eye so that only focused light reaches your photoreceptor cells. Without this, vision would be washed out and blurry, similar to light bouncing around inside a poorly designed camera.
Retinal melanin also absorbs a broad spectrum of radiation, from ultraviolet through visible light to near-infrared, protecting the delicate photoreceptors from light-induced damage. And just as it does in skin, melanin in the eye scavenges free radicals and reduces oxidative stress. This is especially important because the retina is one of the most metabolically active tissues in the body and constantly exposed to focused light energy.
Hearing Protection in the Inner Ear
Melanin-producing cells sit in the stria vascularis, a structure in the inner ear responsible for maintaining the chemical environment that makes hearing possible. These cells produce melanin that helps regulate calcium levels in the fluid surrounding the hair cells that detect sound. Calcium balance is essential for the electrical signaling that converts sound waves into nerve impulses, and melanin appears to act as a calcium chelator, helping keep concentrations in the right range.
The protective effect is measurable. Studies in mice show that pigmented animals recover better from noise-induced hearing damage than albino animals. In humans, research using skin color as a proxy for melanin levels found that individuals with darker skin tend to have better hearing than those with lighter skin. Melanin in the ear also scavenges free radicals generated by loud noise exposure, reducing the oxidative damage that contributes to permanent hearing loss.
Neuromelanin in the Brain
A third type of melanin, called neuromelanin, accumulates in specific brain regions over the course of your lifetime. The highest concentrations are in two areas of the midbrain: the substantia nigra and the locus coeruleus, both involved in movement and attention. Neuromelanin builds up as a byproduct of the brain’s production of dopamine and norepinephrine, and it appears to serve as a protective storage system.
Neuromelanin binds iron and other metals that would otherwise promote oxidative damage to neurons. It also absorbs environmental toxins, pesticides, and even certain medications, trapping them so they can’t harm surrounding brain cells. This chelating and sequestering ability is significant because the neurons that contain neuromelanin are the same ones that degenerate in Parkinson’s disease. In healthy aging, neuromelanin accumulates gradually and keeps reactive iron locked away. When that system breaks down, iron-driven oxidative stress may contribute to neuronal death.
Melanin and Immune Function
Melanocytes, the cells that produce melanin, do more than make pigment. They express receptors used by the innate immune system to detect pathogens, and stimulation of these receptors directly influences how much melanin the cells produce and where it gets transported. Melanocytes can also perform phagocytosis (engulfing foreign particles), produce immune-signaling molecules, and present molecular fragments to other immune cells, functions typically associated with dedicated immune cells.
Melanin itself modulates inflammation. At non-toxic concentrations, synthetic melanin suppresses the production of several inflammatory signaling molecules, which has prompted researchers to explore it as a potential treatment for conditions driven by excessive inflammation, such as rheumatoid arthritis. The connection between pigment and immunity runs deep enough that genetic disorders disrupting melanosome transport, like Griscelli syndrome and Hermansky-Pudlak syndrome, cause both depigmentation and immunodeficiency simultaneously. Intermediate products generated during melanin synthesis also function as immunosuppressive agents, capable of inhibiting the proliferation of certain immune cells and reducing inflammatory signaling.

