Using LASSO regression and SVM-RFE, two machine learning algorithms, we identified eight key MRGs (ABCG2, ANK2, MACC1, PMAIP1, SLC22A5, SLC25A34, ACAT1, and PDK4) and constructed an early diagnostic model for CRC. This evidence concerns the gene PMAIP1 and colorectal carcinoma.