Antibacterial resistance has become one of the most serious problems threating global health. To overcome this urgent problem, many scientists have paid great attention to developing new antibacterial drugs from natural products. Hence, for exploring new antibacterial drugs from Chinese medicine, a series of experiments were carried out for verifying and elucidating the antibacterial activity and mechanisms of madecassic acid (MA), which is an active triterpenoid compound isolated from the traditional Chinese medicine, Centella asiatica. The antibacterial activity was investigated through measuring the diameter of the inhibition zone, the minimum inhibitory concentration (MIC), the growth curve, and the effect on the bacterial biofilm, respectively. Meanwhile, the antibacterial mechanism was also discussed from the aspects of cell wall integrity variation, cell membrane permeability, and the activities of related enzymes in the respiratory metabolic pathway before and after the intervention by MA. The results showed that MA had an inhibitory effect on eight kinds of pathogenic bacteria, and the MIC values for Staphylococcus aureus, Methicillin-resistant Staphylococcus aureus, Escherichia coli, Pseudomonas aeruginosa, Bacillus subtilis, and Bacillus megaterium were 31.25, 62.5, 250, 125, 62.5, and 62.5 µg/mL, respectively. For instance, 31.25 µg/mL MA could inhibit the growth of Staphylococcus aureus within 28 h. The antibacterial mechanism experiments confirmed that MA could destroy the integrity of the cell membrane and cell wall of Staphylococcus aureus, causing the leakage of macromolecular substances, inhibiting the synthesis of soluble proteins, reducing the activities of succinate dehydrogenase and malate dehydrogenase, and interacting with DNA, leading to the relaxation and ring opening of supercoiled DNA. Besides, the activities of DNA topoisomerase I and II were both inhibited by MA, which led to the cell growth of Staphylococcus aureus being repressed. This study provides a theoretical basis and reference for the application of MA in the control and inhibition of food-borne Staphylococcus aureus.