The melanocortin-1 receptor (MC1R), a G protein-coupled receptor, plays a crucial role in human and mouse pigmentation1–8. Activation of MC1R in melanocytes by α-melanocyte-stimulating hormone (α-MSH)9 stimulates cAMP signaling and melanin production and enhances DNA repair after UV irradiation (UVR)10–16. Individuals carrying MC1R variants, especially those associated with red hair color, fair skin and poor tanning ability (RHC-variants), are associated with higher risk of melanoma5,17,18,19,20. However, how MC1R activity might be modulated by UV irradiation, why redheads are more prone to developing melanoma, and whether the activity of RHC variants might be restored for therapeutic benefit remain unresolved questions. Here we demonstrate a potential MC1R-targeted intervention strategy to rescue loss-of-function MC1R in MC1R RHC-variants for therapeutic benefit based on activating MC1R protein palmitoylation. Specifically, MC1R palmitoylation, primarily mediated by the protein-acyl transferase (PAT) ZDHHC13, is essential for activating MC1R signaling that triggers increased pigmentation, UVB-induced G1-like cell cycle arrest and control of senescence and melanomagenesis in vitro and in vivo. Using C57BL/6J-MC1Re/eJ mice expressing MC1R RHC-variants we show that pharmacological activation of palmitoylation rescues the defects of MC1R RHC-variants and prevents melanomagenesis. The results highlight a central role for MC1R palmitoylation in pigmentation and protection against melanoma.