Introduction: The aim of this study was to identify important genes associated with melanoma for further development of new target gene therapies and to analyze their significance in relation to prognosis.Materials and methods: Gene expression data for melanoma and normal tissue were downloaded from three databases. Differentially co-expressed genes were identified by WGCNA and DEGs analysis. These genes were subjected to GO and KEGG enrichment analysis as well as construction of the PPI, visualized with Cytoscape, and screened for the top 10 Hub genes using CytoHubba. We verified the protein levels of the Hub gene using the HPA database.Results: A total of 435 differentially co-expressed genes were obtained. Survival curves showed that high expression of FOXM1, EXO1, KIF20A, TPX2 and CDC20 in melanoma patients with 5 of the top 10 hub genes was associated with reduced overall survival (OS). The HPA database results showed that FOXM1, KIF20A, TPX2 and CDC20 showed upregulated expression in melanoma compared to normal tissues.Conclusion: FOXM1, KIF20A, TPX2, and CDC20 are prognosis-associated core genes of melanoma, and their high expression correlates with low prognosis of melanoma patients, and can be used as biomarkers for melanoma diagnosis, treatment, and prognosis prediction.