•MMp7/EpCAM ratio has high diagnostic accuracy for differentiating infants with NEC or sepsis from control infants with AUC values of 1.00 and 0.96 respectively. The gene discussed is MMP7; the disease is necrotizing enterocolitis.