Abstract: Objective To investigate the importance of cone-beam computed tomography (CBCT) scan in setup of image-guided radiotherapy (IMRT) for thoracic-segment esophageal cancer. Methods Thirty patients with thoracic-segment esophageal cancer were enrolled into the study. All the patients were scanned by kilovoltage CBCT before treatment and every week during radiotherapy. The setup errors of isocenter positions on the axes of X, Y and Z were recorded. The data were analyzed and placement error was corrected online. Results The position errors in the 30 patients were verified by 168 times of CBCT scan. Before correction the positioning errors of X, Y and Z three directions were (0.195 ± 0.075), (0.273 ± 0.091) and (0.202 ± 0.079) cm respectively. After correction the errors were (0.024 ± 0.013), (0.044 ± 0.023) and (0.030 ± 0.016) cm respectively. All the patients completed the radiotherapy plan. Local control rate of the tumor was 96.8%, and adverse reactions decreased. Conclusions CBCT scan plays an important role in IMRT for esophageal cancer and the setup errors always occur in radiotherapy of esophageal cancer. Only analyzing the causes of errors and taking effective measures to reduce errors can make more accurate dose distribution in target and surrounding normal tissues and organs, and assure the efficacy of clinical radiotherapy.