Conclusion: Long-term smoking and alcohol consumption causes poor oral and esophageal microenvironments and ESCC patients with these features were more susceptible to P. gingivalis infection and persistent colonization, and exhibited lower Beclin1 expression, worse prognosis and more advanced clinicopathological features. This evidence concerns the gene BECN1 and esophageal squamous cell carcinoma.