Objective: To explore the function and mechanism of transcription factor En1 in esophageal squamous cell carcinoma (ESCC). Methods: The correlations of En1 with prognosis were analyzed using the overall survival data of 9 397 pan-cancer patients and progression-free survival data of 4 349 pan-cancer patients from The Cancer Genome Atlas (TCGA) database. The En1 expression data in 53 and 155 cases of ESCC and their paired adjacent tissues were from Gene Expression Omnibus (GEO) database and National Genomics Data Center-Genome Sequence Archive(NGDC-GSA)database. Lentivirus was used to generate En1 stable knockout cell lines KYSE180 and KYSE450. The proliferation ability of the cells was detected by cell counting kit 8 and clone formation assay. The migration ability of the cells was detected by Transwell assay. The effect of En1 on the proliferation of ESCC was detected by xenograft experiment in BALB/c-nu/nu mice. Real-time fluorescence quantitative polymerase chain reaction (RT-qPCR) was used to detect the expressions of En1, glioma-associated oncogene family zinc finger 1 (GLI1), glioma-associated oncogene family zinc finger 2 (GLI2) and smoothened (SMO). Results: Pan-cancer data from TCGA showed that patients with low En1 expression had longer overall survival and progression-free survival than patients with high En1 expression (P< 0.001). Data from GEO and GSA databases also showed a high expression level of En1 in ESCC tissues compared with paired tissues (P<0.001). Proliferation was inhibited after knockout of En1 in KYSE180 and KYSE450 cells (P<0.001). The colony formation numbers decreased. The colony formation numbers of KYSE180 cells in the shEn1#1 group and the shEn1#2 group were 138.33±23.07 and 127.00±19.70, respectively, significantly lower than that of the shNC group 340.67±12.06 (P<0.001). The colony formation numbers of KYSE450 cells in the shEn1#1 group and the shEn1#2 group were 65.33±2.52 and 9.00±3.00, respectively, significantly lower than that of the shNC group 139.00±13.00 (P<0.001). The migration numbers was inhibited after knockout of En1 [the Transwell numbers of KYSE180 cells in the shEn1#1 group and the shEn1#2 group were 66.67±12.66 and 71.33±11.02, respectively, significantly lower than that of the shNC group 334.67±16.56 (P<0.001). The Transwell numbers of KYSE450 cells in the shEn1#1 group and the shEn1#2 group were 112.33±14.57 and 54.33±5.51, respectively, significantly lower than that of the shNC group 253.33±21.03 (P<0.001)]. Xenograft model showed a slower growth rate of shEn1#1 and shEn1#2 cell lines (P<0.001). The tumor weights of KYSE450 cells in the shEn1#1 group and the shEn1#2 group were (0.046±0.026)g and (0.047±0.025)g, respectively, significantly lower than that of the shNC group (0.130±0.038)g (P<0.001). After knockdown of En1, the relative expression levels of GLI1 in KYSE180 cells of the shEn1#1 group and the shEn1#2 group were 0.326±0.162 and 0.322±0.133, and the relative expression levels of GLI1 in KYSE450 cells of the shEn1#1 and shEn1#2 groups were 0.131±0.006 and 0.352±0.050, respectively, which were all lower than that in the shNC group (P<0.01). After knockdown of En1, overexpression of GLI1 attenuated the inhibitory effect of knockdown of En1 on cell proliferation (P<0.001), colony formation[the colony formation numbers of the shEn1#1-GLI1 group were 151.00±9.54, higher than 102.33±10.02 (P=0.004) of the shEn1#1-vector group] and migration [the migration numbers of the shEn1#1-GLI1 group were 193.67±10.07, higher than 109.33±11.50 (P<0.001) in the shEn1#1-vector group]. In clinical samples of ESCC, major regulatory factors of the Hedgehog pathway were up-regulated and the pathway was activated. Conclusion: En1 promotes the proliferation and migration of ESCC cells by regulating the Hedgehog pathway and can be used as a new potential target for targeted therapy of ESCC.