Bovine mastitis, primarily caused by Staphylococcus aureus, significantly impacts the dairy industry by reducing milk production and quality, while accelerating antibiotic resistance concerns. This study investigated a phytogenic formulation PF as a promising, multifaceted alternative for managing S. aureus-induced mastitis across various infection stages. PF directly inhibited S. aureus growth and biofilm formation; importantly, it demonstrated anti-adhesion and anti-invasion properties at concentrations well below its bactericidal level. These anti-virulence effects were further supported by PF’s ability to downregulate essential S. aureus virulence genes, offering a strategic advantage in mitigating bacterial establishment. Beyond pathogen control, PF exerted significant anti-inflammatory effects by reducing pro-inflammatory cytokines, while preserving tight junction integrity to protect the blood-milk barrier. These host-protective actions were consistently observed across preventive, active infection, and post-infection models. Furthermore, PF positively impacted mammary epithelial cell function, enhancing β-casein production and upregulating associated lactation-related genes (stat5, mtorc1, and nr5a1). This stimulation of milk protein production was evident not only in healthy cells and during active infection, but remarkably, persisted into the post-infection recovery phase. In conclusion, PF’s ability to attenuate virulence, reduce inflammation, protect epithelial barriers, and stimulate mammary function underscores its potential as a natural, stage-independent alternative for effective bovine mastitis management and the improvement of udder health.