Survival analysis revealed higher expression level of HLA class II genes in cutaneous melanoma, especially HLA-DP and -DR, was significantly associated with better overall survival. Here, HLA-DPA1 is linked to cutaneous melanoma.