Melanoma is an unpredictable, highly metastatic malignancy, and treatment of advanced melanoma remains challenging. Novel molecular markers based on the alterations in gene expression and the molecular pathways activated or deactivated during melanoma progression are needed for predicting the course of the disease already in primary tumors and for providing new targets for therapy. Here, we sought to identify genes whose expression in primary melanomas correlate with patient disease‐specific survival using global gene expression profiling. Many of the identified potential markers of poor prognosis were associated with the epithelial–mesenchymal transition, extracellular matrix formation, and angiogenesis. We studied further the significance of one of the genes, prolyl 4‐hydroxylase subunit alpha 1 (P4HA1), in melanoma progression. P4HA1 depletion in melanoma cells reduced cell adhesion, invasion, and viability in vitro. In melanoma xenograft assays, we found that P4HA1 knockdown reduced melanoma tumor invasion as well as the deposition of collagens, particularly type IV collagen, in the interstitial extracellular matrix and in the basement membranes of tumor blood vessels, leading to vessel wall rupture and hemorrhages. Further, P4HA1 knockdown reduced the secretion of collagen triple helix repeat containing 1 (CTHRC1), an important mediator of melanoma cell migration and invasion, in vitro and its deposition around tumor blood vessels in vivo. Taken together, P4HA1 is an interesting potential prognostic marker and therapeutic target in primary melanomas, influencing many aspects of melanoma tumor progression.