In this review, we discuss the protective role of melanocytes against UV-induced DNA damage and how genetic variations, including those in p53 and melanocortin-1 receptor (MC1R), or epigenetic histone modifications in melanocytes result in a tendency toward melanoma. This evidence concerns the gene MC1R and melanoma.