Background: E2F2 is a member of the E2F family of transcription factors with important yet incompletely understood biological functions in cancer. In some cancer types, controversial tumor-promoting and tumor-suppressive roles of E2F2 have been reported. However, the biological role of E2F2 in gastric cancer (GC) remains to be determined. Methods: We analyzed E2F2 expression via multiple gene expression databases. The prognostic value of the E2F2 was determined by Kaplan-Meier Plotter and Cox regression. The correlations between E2F2 and cancer immune infiltrates were investigated via Tumor Immune Estimation Resource (TIMER). The functions and pathways of E2F2 and its 50 frequently changed genes closely associated with the family members were analyzed using Database for Annotation, Visualization, and Integrated Discovery (DAVID) software. We used immunohistochemistry (IHC), quantitative real-time PCR (qPCR) and western blot to verify the expression level of E2F2 in GC and further studied the effects of E2F2 on PI3K/Akt/mTOR activity; GC cell autophagy, migration, and invasion through wound healing assays, transwell assays, Western blotting, and transmission electron microscopy.Results: We observed that compared with normal gastric tissues/cells, E2F2 is highly expressed in gastric cancer tissues and cells in both the public datasets and in our experimental verification. High E2F2 expression was associated with poorer overall survival (OS). Moreover, E2F2 expression showed strong correlations with diverse immune marker sets in GC. Moreover, E2F2 overexpression promoted GC cell migration and invasion in vitro by inactivating PI3K/Akt/mTOR-mediated autophagy. Conversely, E2F2 inhibition suppressed GC cell migration and invasion in vitro by activating PI3K/Akt/mTOR-mediated autophagy.Conclusions: In conclusion, this study provides multi-level evidence for the importance of E2F2 in gastric carcinogenesis and its potential as a biomarker in GC. We demonstrated that E2F2 is overexpressed in GC and that high E2F2 expression is associated with aggressive tumor features and poorer patient prognosis. Further, our results suggest a potential novel immune regulatory role of E2F2 in tumor immunity. Functionally, we discovered a new role of E2F2 in regulating PI3K/Akt/mTOR-mediated autophagy and the downstream processes of cell migration and invasion. Our results could potentially reveal new targets and strategies for GC diagnosis and treatment.