Nocardiosis caused by Nocardia seriolae is a major threat to the aquaculture industry. Given that prolonged therapy administration can lead to a growth of antibiotic resistant strains, new antibacterial agents and alternative strategies are urgently needed. In this study, 80 medicinal plants were selected for antibacterial screening to obtain potent bioactive compounds against N. seriolae infection. The methanolic extracts of Magnolia officinalis exhibited the strongest antibacterial activity against N. seriolae with the minimal inhibitory concentration (MIC) of 12.5 μg/ml. Honokiol and magnolol as the main bioactive components of M. officinalis showed higher activity with the MIC value of 3.12 and 6.25 μg/ml, respectively. Sequentially, the evaluation of antibacterial activity of honokiol in vivo showed that honokiol had good biosafety, and could significantly reduce the bacterial load of nocardia‐infected largemouth bass (p < .001). Furthermore, the survival rate of nocardia‐infected fish fed with 100 mg/kg honokiol was obviously improved (p < .05). Collectively, these results suggest that medicinal plants represent a promising reservoir for discovering active components against Nocardia, and honokiol has great potential to be developed as therapeutic agents to control nocardiosis in aquaculture.