Positive correlations of CD8+ cell number and CCL21 mRNA expression with CDK12 were identified, which indicated the potential mechanisms of CDK12 regulating biological behavior of gastric cancer. This evidence concerns the gene CCL21 and gastric cancer.