Summary: Background: Human skin, which is constantly exposed to solar ultraviolet radiation (UVR), has a unique ability to respond by increasing its pigmentation in a protective process driven by melanogenesis in human epidermal melanocytes (HEMs). However, the molecular mechanisms used by HEMs to detect and respond to UVR remain unclear. Objectives: To investigate the function and potential mechanism of opsin 5 (OPN5), a photoreceptor responsive to UVR wavelengths, in melanogenesis in HEMs. Methods: Melanin content in HEMs was determined using the NaOH method, and activity of tyrosinase (TYR) (a key enzyme in melanin synthesis) was determined by the l‐DOPA method. OPN5 expression in UVR‐treated vs. untreated HEMs and explant tissues was detected by reverse‐transcription quantitative polymerase chain reaction (RT‐qPCR), Western blotting and immunofluorescence. Short interfering RNA‐mediated OPN5 knockdown and a lentivirus OPN5 overexpression model were used to examine their respective effects on TYR, tyrosinase‐related protein 1 (TRP1), TRP2 and microphthalmia‐associated transcription factor (MITF) expression, under UVR. Changes in expression of TYR, TRP1 and TRP2 caused by changes in OPN5 expression level were detected by RT‐qPCR and Western blot. Furthermore, changes in signalling pathway proteins were assayed. Results: We found that OPN5 is the key sensor in HEMs responsible for UVR‐induced melanogenesis. OPN5‐induced melanogenesis required Ca2+‐dependent G protein‐coupled receptor‐ and protein kinase C signal transduction, thus contributing to the UVR‐induced MITF response to mediate downstream cellular effects, and providing evidence of OPN5 function in mammalian phototransduction. Remarkably, OPN5 activation was necessary for UVR‐induced increase in cellular melanin and has an inherent function in melanocyte melanogenesis. Conclusions: Our results provide insight into the molecular mechanisms of UVR sensing and phototransduction in melanocytes, and may reveal molecular targets for preventing pigmentation or pigment diseases. What is already known about this topic? Ultraviolet radiation (UVR) induces a protective response to DNA damage mediated by melanin synthesis in human epidermal melanocytes (HEMs).Tyrosinase (TYR), with tyrosinase‐related proteins (TRP1, TRP2), are the key enzymes for melanin synthesis.Microphthalmia‐associated transcription factor regulates key genes for melanocyte development and differentiation, and can stimulate melanogenesis by activating transcription of TYR and other pigmentation genes, including TRP1.Opsin 5 (OPN5) is known to function as a photoreceptor responsive to wavelengths in the near UV spectrum. What does this study add?UVR induces melanogenesis in HEMs via OPN5.OPN5 regulates expression of TYR, TRP1 and TRP2 through the calcium‐dependent G protein‐coupled and protein kinase C signalling pathways.OPN5 has an inherent role in HEMs in mediating melanogenesis. What is the translational message?OPN5 was discovered as a key sensor for UVR‐induced melanogenesis in human skin melanocytes.It could be a target for early treatment of pigmentation or pigment diseases, to provide a more personalized and economically feasible method. Linked Comment: L.V.M. de Assis and A.M. de Lauro Castrucci. Br J Dermatol 2021; 185:249–250. Plain language summary available online [ABSTRACT FROM AUTHOR]