By Heather L. Brannon, MD 

Updated on August 06, 2023

 Medically reviewed by Casey Gallagher, MD

 Fact checked by Nick Blackmer

Print 

A melanocyte is a type of cell that's primarily located in the basal layer of the epidermis. Melanocytes produce melanin, a brown pigment that is responsible for skin coloration and protecting against the harmful effects of UV light. Melanocytes are also present in the hair and in the irises of the eyes.1

IMG_256

Ed Reschke / Photolibrary / Getty Images

The Makeup of Melanocytes

Melanocytes develop in the neural crest: a temporary group of embryonic cells that gets pinched off as the neural tube—or the pre-spinal cord—forms. During the embryonic stage of life, melanocytes move from the neural crest to the basal layer of the epidermis. Melanocytes are branch-shaped, which allows them to transfer melanin to other skin cells, like keratinocytes. Keratinocytes are the most common skin cells that strengthen the hair, nails, and skin.2

Production

Melanocytes produce melanin, which gets deposited into the epidermal cells. There are two different types of melanin that melanocytes produce: eumelanin, which is dark brown in color, and pheomelanin, which can have a red or yellow tint.

Melanin production is regulated by a peptide hormone that's located in the pituitary gland and known as the melanocyte-stimulating hormone. Pituitary tumors and spiked estrogen levels that occur during pregnancy cause the pituitary gland to produce more of this hormone.3

But melanocytes don't always function as they should. Vitiligo, for example, is a skin condition in which the immune system attacks melanocytes. The melanocytes cease producing melanin, resulting in white, oval-shaped patches of skin that gradually grow larger. The lack of melanin also turns the hair in the affected area(s) white.4 Other conditions that are affected by a lack of melanin include albinism1 and phenylketonuria.5

The Importance of Melanin

The color of human skin varies. Its exact shade is determined by the blood that flows through it, diet, and the melanin produced by melanocytes. Humans generally have the same amount of melanocytes; the amount of melanin that those melanocytes produce, however, is what varies.

Melanin protects the skin by shielding it from the sun. When the skin is exposed to the sun, melanin production increases, which is what produces a tan. It's the body's natural defense mechanism against sunburn.

Time in the Sun Comes With a Cost

Everyone looks better with a glow, but it comes at a cost. Spending extended amounts of time in the sun (or in a tanning bed) is dangerous. Take a sunburn, for example. It takes time for melanocytes to produce melanin and protect the skin from the sun's harmful rays. When melanocytes can't work quickly enough to create a tan, the UV rays from the sun can burn the skin and leave it looking pink or bright red. Sun damage also accumulates over time, which can lead to skin cancer.6 The lighter your skin, the greater your risk of developing skin cancer. So make sure that you see a dermatologist regularly for a skin exam.

Direct sunlight isn't all bad, however. The skin uses sunlight to make vitamin D, which absorbs calcium and is essential for bone strength and growth.