The function of activating transcription factor 3 (ATF3) in cancer is context-dependent and its role in endometrial carcinoma (EC) is yet to be elucidated. In the present study, ATF3 was indicated to be downregulated, while one of the ATF3-interacting proteins, JunB, was upregulated in ECs according to western blot analysis. After overexpression in ECs, ATF3 inhibited the proliferation and invasion of EC cells and enhanced apoptosis, as well as suppressed the expression of JunB. The properties of EC cells, including the expression of matrix metalloproteinases, tissue inhibitors of metalloproteinases, the cell cycle and apoptosis were all altered by overexpression of ATF3. Furthermore, luciferase activity assay, chromatin precipitation and DNA affinity assay results indicated that ATF3 exerted the aforementioned functions via JunB binding and activator protein-1 signaling. However, the interaction between ATF3 and JunB did not occur in EC cells under basal conditions, but in ATF3-overexpressing ECs, which was capable of mitigating EC proliferation, invasion and metastasis. Collectively, the present results suggested that the ATF3/JunB interaction may serve as a potential therapeutic target for ECs.