Five TrpGs (MAOA, AKR1A1, ALDH9A1, HAAO, ALDH2) were identified and validated as the protective factors for ESCC by machine learning. Here, ALDH9A1 is linked to esophageal squamous cell carcinoma.