Valuable diagnostic and prognostic biomarkers are urgently needed for colorectal cancer (CRC), which is one of the leading causes of mortality worldwide. Previous studies have reported altered expression of a mucin-like protein Fc fragment of IgG binding protein (FCGBP) in various types of cancer, but its potential diagnostic, prognostic and immunological roles in CRC remain to be determined. Therefore, the aim of current study was to investigate the potential roles of FCGBP in CRC. The present study investigated FCGBP mutations and changes in its expression levels using a combination of microarray and public dataset analyses, as well as immunohistochemistry. The results demonstrated a 10.5% mutation frequency in the FCGBP coding sequence in CRC tissues, and identified decreased FCGBP mRNA or protein expression levels in colorectal adenoma and CRC (compared with those in normal colorectal tissues from healthy control subjects), including pathologically advanced CRC (stage Ⅲ+Ⅳ vs. I+II). Survival analysis using the GEPIA and Kaplan-Meier Plotter databases revealed that low FCGBP expression levels were associated with short overall, disease-free, relapse-free and event-free survival times in patients with CRC. Notably, analysis using the online Tumor IMmune Estimation Resource database revealed a positive correlation between FCGBP expression levels and the extent of infiltrating immune cells, such as B cells and dendritic cells. Consistently, the expression levels of most markers (51/57) for various types of immune cells were significantly correlated with FCGBP expression levels in CRC tissues. These findings suggested that FCGBP may serve as a diagnostic and prognostic biomarker, and that FCGBP may be associated with immune infiltration in CRC.