This study addresses a critical issue in esophageal cancer study by comparing two different sampling methods, endoscopic brushing and cytosponge, for investigating the esophageal microbiota. Our work highlights the suitability of the cytosponge technique as a minimally invasive sampling method for studying the esophageal microbiota and emphasizes the importance of selecting an appropriate sampling method to characterize the microbial community. Our findings have significant implications for advancing the understanding of the role of the esophageal microbiota in cancer development and will inform future research and clinical approaches in this field.