Gallic acid (GA) possesses potential antitumoral activity on different types of malignancies. In this study, we aimed to explore the antitumoral effects of GA on triple-negative breast cancer (TNBC) cells, the breast cancer cells showing resistance to hormonal therapy or HER2 receptor targeting therapy. We observed that GA treatment significantly decreased the cell viability of human TNBC cell line MDA-MB-231 and HS578T in a dose-dependent manner. In addition, GA exerted a relative lower cytotoxicity on noncancer breast fibroblast MCF-10F. Next, we analyzed the changes of cell-cycle distribution in response to GA treatment and found that GA led to an increase of G0/G1 and sub-G1 phase ratio in MDA-MB-231 cells. We further explored the crucial mediators controlling cell cycle and inducing apoptotic signaling, and the findings showed that GA downregulated cyclin D1/CDK4 and cyclin E/CDK2, upregulated p21Cip1and p27Kip1, and induced activation of caspase-9 and caspase-3. In addition, we demonstrated that p38 mitogen-activated protein kinase was involved in the GA-mediated cell-cycle arrest and apoptosis. Collectively, our findings indicate that GA inhibits the cell viability of TNBC cells, which may attribute to the G1 phase arrest and cellular apoptosis via p38 mitogen-activated protein kinase/p21/p27 axis. Thus, we suggest that GA could be beneficial to TNBC treatment.