QuestionMelanocytes
What Is Melanin? The Pigment Behind Skin, Hair and Eye Color
For general education about how the body works, not medical advice. Medical disclaimer.

Melanin is a group of dark pigments made by melanocytes, the cells that give skin, hair and the iris their color. Melanin is built from the amino acid tyrosine. It is also found in the pigment layer at the back of the eye and in some neurons of the brain.
Contents
The full answer
Melanin is a family of pigments. The word comes from the Greek word for black, and in the body it is a large molecule made by joining many smaller building blocks, mainly derived from tyrosine. Melanin is not one substance. The two main forms are eumelanin, which is brown to black, and pheomelanin, which is red to yellow. Most people have a mixture of both, and the amounts set skin, hair and eye color.
Melanin is produced inside organelles called melanosomes. These are made within melanocytes, which are pigment cells found mainly in the lowest layer of the epidermis, the outer layer of the skin. Melanocytes also occur in hair follicles and in the uvea of the eye. The melanin they make is transferred to keratinocytes, the cells that form most of the epidermis, where it is arranged over the nucleus.
The amount of melanin is the largest single factor in skin color. The number of melanocytes is broadly similar among people of different skin colors, so differences come from how much pigment each cell makes, what type of melanin it contains and how the melanosomes are distributed. See melanocytes for the cell itself.
How the body makes melanin
Melanin production starts with tyrosine, an amino acid that the body gets from food and can also make from another amino acid. The key enzyme is tyrosinase, a copper-containing protein. Tyrosinase converts tyrosine into dopaquinone, and from that point the chemistry branches into the two main pathways.
One pathway builds eumelanin. It forms indole-based units that link into a large polymer with a brown to black color. The second pathway adds cysteine, which contains sulfur, to the chain. That reaction produces pheomelanin, which is lighter and reddish or yellow. Because pheomelanin contains sulfur, it has a different chemical structure from eumelanin. The two types are compared in eumelanin vs pheomelanin.
The balance between the two pathways is controlled by genes and by signals that act on melanocytes. A key receptor on melanocytes, called MC1R, helps determine whether a cell makes more eumelanin or more pheomelanin. Variants of the MC1R gene are linked to red hair and fair skin, which is one reason the chemical balance matters for appearance.
Once made, melanin is packed into melanosomes. The melanosomes move along the branches of the melanocyte and are passed into keratinocytes. Inside the keratinocytes, the melanin forms caps over the nucleus, which is the part of the cell that holds the DNA.
Where melanin is found
In the skin, melanin is found in the epidermis, where it sets the basic color of the skin. The amount in the epidermis varies between people and between body sites, and the pigment is also present in the basal layer of the skin.
Hair gets its color from melanin in the hair shaft. Melanocytes in the hair follicle transfer melanin into the growing hair. Gray and white hair forms when a follicle stops producing pigment, so the hair grows without melanin.
In the eye, melanin appears in two places. The iris contains melanin in its stroma and in its back layer. The retinal pigment epithelium, a single layer of cells behind the light-sensitive retina, also contains melanin. The pigment in these layers absorbs stray light inside the eye.
Melanin is also found outside the skin and eye. Some neurons in the substantia nigra, a region of the midbrain, contain a pigment called neuromelanin. Neuromelanin is made by those neurons rather than by melanocytes, and its chemistry differs in detail from skin melanin. Melanocytes also occur in the inner ear and in the membranes around the brain and spinal cord.
Why melanin matters for ultraviolet light
Ultraviolet (UV) light from the sun can damage DNA in skin cells. Melanin absorbs a large share of UV radiation, and it scatters some of the light that reaches the skin. The melanin caps over the nucleus act as a shield for the DNA inside the cell.
The protection has limits. Melanin does not block all UV light, and it does not prevent all DNA damage. People with more melanin have a higher level of natural protection, but they can still be affected by sunlight. The balance between protection and damage is a central topic in skin biology.
Tanning is the skin’s response to UV exposure. Melanocytes make more melanin after UV damage, which is described in why skin tans in the sun. The darker color that results is the body increasing its pigment, not a sign that the skin is fully protected.
Common myths
Myth: melanin is only in the skin. Fact: melanin is also in hair, the iris, the pigment layer of the retina, the inner ear and some brain neurons.
Myth: melanin and melanocytes are the same thing. Fact: melanin is the pigment and the melanocyte is the cell that makes it.
Myth: people with more melanin never burn in the sun. Fact: melanin gives partial protection. The amount of protection varies, and sunlight can still damage skin in people with a lot of melanin.
Frequently asked questions
What does melanin do in the body?
Melanin gives color to the skin, hair, iris and some other tissues. In the skin it absorbs ultraviolet light and forms a cap over the cell nucleus.
What are the two main types of melanin?
Eumelanin is brown to black and pheomelanin is red to yellow. Both are made from the amino acid tyrosine, and the mix of the two sets much of a person's color.
Is melanin the same as a melanocyte?
No. Melanin is the pigment, and a melanocyte is the cell that makes it. Melanocytes pass melanin to keratinocytes, the main cells of the epidermis.
Does melanin only exist in skin?
No. Melanin is also found in hair, the iris, the pigment layer at the back of the retina and some neurons of the brain, such as those in the substantia nigra.
Does melanin block all ultraviolet light?
No. Melanin absorbs a large share of ultraviolet light, but it does not block all of it. The caps over the nucleus lower the amount of UV that reaches the DNA, and the pigment does not prevent all damage.
Sources and further reading
- Gray's Anatomy (Susan Standring, ed.)
- OpenStax, "Anatomy and Physiology 2e"
Cite this page
“What Is Melanin? The Pigment Behind Skin, Hair and Eye Color.” Body Atlas, https://body.bigworldlist.com/questions/what-is-melanin/.
Melanocytes: more questions and guides
- ProfileMelanocytes: The Cells That Make Melanin and Skin Color
- ComparisonEumelanin vs Pheomelanin: The Two Main Types of Melanin
- QuestionWhat Are Freckles? Why Some People Have Freckles
- QuestionWhy Are Palms and Soles Lighter Than the Rest of Your Skin?
- Evolution and life stagesWhy Do Humans Have Different Skin Colors? Melanin and Evolution
- QuestionWhy Does Skin Tan in the Sun? How Melanin Responds to UV Light