The occurrence of a second primary esophageal carcinoma (EC) in long-term cancer survivors may represent a late effect of previous radio-chemotherapeutic treatment. To identify the genetic factors that could increase this risk, we analyzed nine variants within ERCC1, XPD, XRCC1 and XRCC3 DNA repair pathway genes, and GSTP1, TP53 and MDM2 genes in 61 patients who received radio-chemotherapy for a prior lymphoma or breast cancer; 29 of them had a second primary EC. This cohort consists of 22 esophageal squamous cell carcinoma (ESCC) and 7 esophageal adenocarcinoma (EADC) patients. A validation cohort of 154 patients with sporadic EC was also included. The XPD Asp312Asn (rs1799793) was found to be associated with the risk of developing second primary ESCC (P = 0.015). The resultant variant was also involved in the onset of sporadic ESCC (P = 0.0018). To know in advance who among long-term cancer survivors have an increased risk of EC could lead to a more appropriate follow-up strategy.