What Does Melanin Do?

Medically Reviewed By Reema Patel, MPA, PA-C
Was this helpful?

Melanin is what gives color, or pigment, to our skin, hair, and the irises of our eyes. It also helps protect our eyes and skin from the sun’s harmful UV rays. However, certain conditions can cause the body to make too much or too little melanin. This article will explain melanin, how the body makes it, and its role in health. It will also explore conditions related to melanin levels and distribution in the skin.

What is melanin?

group of people with different skin tones
Ohlamour Studio/Stocksy United

Melanin is a brown pigment made by specialized skin cells known as melanocytes. These cells are in the basal (base) layer of the epidermis, which is the top layer of skin, or dermis.

Inside melanocytes, tiny areas called melanosomes make melanin. Melanin is a natural substance that starts with the amino acid tyrosine. The melanocytes then transfer the melanosomes to keratinocytes. The concentration and distribution of melanosomes in these cells give skin, hair, and eyes their color.

Types of melanin

The three types of melanin in human skin are:

  • Eumelanin: This type is more abundant in people with brown or black shades of hair who tan easily.
  • Pheomelanin: This type is more abundant in people with red or blond shades of hair who do not tan easily and tend to burn with UV exposure.
  • Neuromelanin: This is the dark type of melanin found in the brain.

Differences in skin and hair color across the world are due to variations in genes, especially the MCR1 gene. The product of this gene determines the type of melanin that melanocytes produce.

What does melanin do?

In addition to giving color to skin, hair, and eyes, melanin helps protect our skin from sun damage. In fact, exposure to the sun increases the production of melanin to help protect the skin from harmful UV rays.

Melanin also protects the eyes. Melanin is concentrated in the iris and choroid (part of the middle layer of the wall of the eye). People with gray, blue, and green eyes, as well as those with albinism, often have more sun-related eye issues, such as macular degeneration.

What is the level of melanin in different skin tones?

Most people have about the same number of melanocytes. The varying shades of human skin are caused by the amount and distribution of melanin.

Dark skin has five times more melanosomes than light skin, according to a 2017 article in the Journal of Investigative Dermatology. These melanosomes are also distributed throughout the cellular layers of the epidermis. The lighter the skin, the fewer the melanosomes and the farther away they are from the skin surface.

Conditions related to too much melanin

Certain conditions can cause your body to make too much melanin, which makes your skin darker. This is called hyperpigmentation. It can affect the whole body or just patches of skin.

Examples of hyperpigmentation include:

Causes include:

  • pregnancy
  • Addison’s disease (hormone system disease)
  • cancer
  • certain drugs, such as birth control pills or cancer chemotherapies
  • sun exposure
  • skin inflammation

Conditions related to too little melanin

If your body makes too little melanin, or if you have underactive melanocytes, your skin gets lighter. This is called hypopigmentation. Skin with no melanin at all is called depigmented skin.

Examples of hypopigmentation include:

  • vitiligo, which causes white patches on the skin
  • albinism, which causes no color, lighter-than-normal color, or patchy missing color
  • pityriasis alba, which causes patches of light-colored areas
  • idiopathic guttate hypomelanosis, which results in white spots in sun-exposed areas

Causes include:

  • infections, blisters, and burns
  • certain fungal infections such as tinea versicolor
  • skin inflammation
  • certain drugs, such as hydroquinone and phenol-containing chemicals and medications
  • certain birthmarks

Can you increase the amount of melanin in your skin?

Currently, there are no safe, proven products or methods to increase the amount of melanin in your skin. Even though melanin helps protect your skin from the sun’s damaging effects, increasing your sun exposure is not a safe way to boost your melanin level. According to the Skin Cancer Foundation, sun exposure, sunburning, and tanning greatly increase your chance of skin cancer.

Here is what dermatologists want you to know about skin cancer.

The role of melanin in skin cancer

Your skin absorbs UV rays, which can damage skin cells. Light skin is much more likely to burn, which increases the chance of skin cancer, including melanoma. Dark skin is more likely to tan, but UV rays can still damage it.

If you have skin that tans, it is producing more melanin. The melanin helps block out UV rays, so you are less likely to burn compared to someone with lighter skin. However, even if you do not burn, UV exposure increases your likelihood of developing skin cancer.

Learn the five populations who tend to develop skin cancer at higher rates than others.

Ways to prevent skin cancer

The general amount of melanin in your skin and how your skin responds to UV light are characteristics you are born with. However, the following steps can help reduce your chance of developing melanoma and other skin cancers:

  • Limit your sun exposure.
  • Stay in the shade.
  • Wear a wide-brimmed hat and long-sleeved shirt and pants when in the sun.
  • Wear sunglasses to protect your eyes and the sensitive skin surrounding your eyes.
  • Use a generous amount of sunscreen with broad-spectrum protection (against both UVA and UVB rays) and an SPF of 30 or higher on exposed skin.
  • Do not use indoor tanning beds or sun lamps.
  • Check regularly for abnormal moles or growths, and show them to your doctor right away.

Find out the atypical places to check for skin cancer here.

According to the American Cancer Society, having a weakened immune system also increases your chance of melanoma and other types of skin cancer.

Learn more about skin cancer prevention.


Melanin is a natural substance that gives color to our skin, hair, and eyes. It also helps protect our eyes and skin from the damaging effects of UV rays. The varying shades of human skin are due to the type and amount of melanin in the body.

Certain conditions can cause or be the result of either too much melanin or too little melanin in the skin. While melanin helps protect your skin from the sun, currently there are no safe ways to increase the amount of melanin your body produces. Your best defense against the sun’s harmful rays is to avoid sun exposure, sunburning, and tanning. This can help decrease your chance of developing melanoma and other skin cancers.

Was this helpful?
Medical Reviewer: Reema Patel, MPA, PA-C
Last Review Date: 2022 May 25
View All Skin, Hair and Nails Articles
THIS TOOL DOES NOT PROVIDE MEDICAL ADVICE. It is intended for informational purposes only. It is not a substitute for professional medical advice, diagnosis or treatment. Never ignore professional medical advice in seeking treatment because of something you have read on the site. If you think you may have a medical emergency, immediately call your doctor or dial 911.
  1. Are some people more likely to get skin damage from the sun? (2019). https://www.cancer.org/healthy/be-safe-in-sun/sun-damage.html
  2. Can melanoma skin cancer be prevented? (2019). https://www.cancer.org/cancer/melanoma-skin-cancer/causes-risks-prevention/prevention.html
  3. Chan, I. L., et al. (2018). Characteristics and management of Asian skin [Abstract]. https://onlinelibrary.wiley.com/doi/10.1111/ijd.14153
  4. Das, S. (2020). Hyperpigmentation. https://www.merckmanuals.com/professional/dermatologic-disorders/pigmentation-disorders/hyperpigmentation
  5. Das, S. (2020). Overview of pigmentation disorders. https://www.merckmanuals.com/professional/dermatologic-disorders/pigmentation-disorders/overview-of-pigmentation-disorders
  6. Hurbain, I., et al. (2017). Melanosome distribution in keratinocytes in different skin types: Melanosome clusters are not degradative organelles. https://www.jidonline.org/article/S0022-202X(17)33062-2/fulltext
  7. Hyperpigmentation. (n.d.). https://www.aocd.org/page/Hyperpigmentation
  8. MCR1 gene. (2018). https://medlineplus.gov/genetics/gene/mc1r/
  9. Schlessinger, D. I., et al. Biochemistry, melanin. https://www.ncbi.nlm.nih.gov/books/NBK459156/
  10. Skin pigmentation disorders. (2018). https://medlineplus.gov/skinpigmentationdisorders.html
  11. Tanning and your skin. (2021). https://www.skincancer.org/risk-factors/tanning/