HDAC7 plays a crucial role in cancers, and is the main drug target of several HDAC inhibitors. However, the role and mechanism of HDAC7 in nasopharyngeal carcinoma (NPC) are still unclear. In this study, we observed that HDAC7 was significantly upregulated in the NPC tissues relative to normal nasopharyngeal mucosa (NNM) tissues, HDAC7 expression levels were positively correlated with NPC progression and negatively correlated with patient prognosis, and HDAC7 knockdown dramatically inhibited the in vitro proliferation, migration, and invasion of NPC cells, and the growth of NPC xenografts in mice, indicating the HDAC7 promotes the oncogenicity of NPC. Mechanistically, HDAC7 promoted the in vitro proliferation, migration, and invasion of NPC cells by upregulating EphA2, in which miR-4465 mediated HDAC7-regulating EphA2, a direct target gene of miR-4465. We further showed that miR-4465 was significantly downregulated in the NPC tissues relative to NNM tissues, and inhibited the in vitro proliferation, migration, and invasion of NPC cells by targeting EphA2 expression. Moreover, we observed that the expressions of HDAC7, miR-4465, and EphA2 in NPC tissues were correlated. The results suggest that HDAC7 promotes the oncogenicity of NPC by downregulating miR-4465 and subsequently upregulating EphA2, highlighting HDAC7 as a potential therapeutic target for NPC.