NXPH4 promotes cancer proliferation and invasion. However, its specific role and mechanism in cancer remain unclear. Transcriptome and clinical data for pan-cancer were derived from the TCGA database. K-M survival curve and univariate Cox were used for prognostic analysis. CIBERSORT and TIMER algorithms were employed to calculate immune cell infiltration. Gene set enrichment analysis (GSEA) was employed for investigating the function of NXPH4. Western blot verified differential expression of NXPH4 in colon cancer. Functional assays (CCK-8, plate clonogenicity assay, wound healing assay, and Transwell assay) confirmed the impact of NXPH4 on proliferation, invasion, and migration of colon cancer cells. Dysregulation of NXPH4 in pan-cancer suggests its potential as a diagnostic and prognostic marker for certain cancers, including colon and liver cancer. High expression of NXPH4 in pan-cancer might be associated with the increase in copy number and hypomethylation. NXPH4 expression in pan-cancer is substantially linked to immune cell infiltration in the immune microenvironment. NXPH4 expression is associated with the susceptibility to immunotherapy and chemotherapy. Western blot further confirmed the higher expression of NXPH4 in colon cancer. Knockdown of NXPH4 significantly suppresses proliferation, invasion, and migration of colon cancer cell lines HT-29 and HCT116, as validated by functional assays.