Gastric adenocarcinoma (GAC) is one of the world's most lethal malignant tumors. It has been established that the occurrence and progression of GAC are linked to molecular changes. However, the pathogenesis mechanism of GAC remains unclear. In this study, we sequenced 6 pairs of GAC tumor tissues and adjacent normal tissues and collected GAC gene expression profile data from the TCGA database. Analysis of this data revealed 465 differentially expressed genes (DEGs), of which 246 were upregulated and 219 were downregulated. Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway analysis demonstrated that DEGs were observably enriched in ECM-receptor interaction, protein digestion and absorption, and gastric acid secretion pathways. Six key genes (MATN3, COL1A1, COL5A2, P4HA3, SERPINE1 and VCAN) associated with poor GAC prognosis were screened from the protein‒protein interaction (PPI) network by survival analysis, and P4HA3 and MATN3 have rarely been reported to be associated with GAC. We further analyzed the function of P4HA3 in the GAC cell line SGC-7901 by RT‒qPCR, MTT, flow cytometry, colony formation, wound healing, Transwell and western blot assays. We found that P4HA3 was upregulated in the SGC-7901 cell line versus normal control cells. The outcomes of the loss-of-function assay illustrated that P4HA3 significantly enhanced the ability of GAC cells to proliferate and migrate. This study provides a new basis for the selection of prognostic markers and therapeutic targets for GAC.