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. Here, TP53 is linked to melanoma.