Cholesterol plays an important role in maintaining normal physiological function of human body. However, excessive intake will induce a series of diseases including cancer. For melanoma, the relationship between hypercholesterolemia and its incidence remains unknown. The cholesterol metabolite 27-hydroxy cholesterol (27-HC) catalyzed by CYP27A1 has been reported to activate estrogen receptor (ER). As studies have indicated that melanoma expresses ER, we designed experiments to explore whether 27-HC could link hypercholesterolemia and melanoma. In this study, hepatocyte-specific CYP27A1-/- mice were generated by CRISPR/Cas9 technology. The results revealed that high-cholesterol diet induced metabolism disorder and promoted the melanoma growth through 27-HC. Further study found that 27-HC promoted the growth of melanoma cells by activating ERα and eliciting the AKT and MAPK signaling pathway. This study puts forward the important role of 27-HC in the development of melanoma for the first time, links hypercholesterolemia with melanoma progression. The research also provides the rationale for the use of tamoxifen in melanoma therapy. The levels of 27-HC in blood could act as a novel biomarker for tamoxifen treatment in melanoma patients.