In conclusion, the present study demonstrated the prognostic value of Hippo pathway-related genes (particularly YAP1) in melanoma, revealing the correlation between the expression of Hippo pathway-related genes and immune infiltration. This evidence concerns the gene YAP1 and melanoma.