The frequent disease of Panax notoginseng caused by the pathogenic fungi in field cultivation has become the major threaten to the sustainable development of it. The present study was conducted to find natural agent with potential inhibition against pathogen. Therefore, the inhibitory effects of Cinnamomum cassia (L.) J.Presl essential oils (EOs) against P. notoginseng associated pathogenic fungi were conducted both in vitro and in vivo experiments. The results of the Oxford cup test revealed that C. cassia dry bark EO (50 mg/mL) had significant inhibitory activity on the growth of all tested fungi, and the growth of various pathogens was completely inhibited, except for that of Fusarium solani. Therefore, the constituents of C. cassia EOs were analyzed by GC/MS, and the research demonstrated that the main constituents of C. cassia dry bark EO were trans‐cinnamaldehyde (75.65 %), (E)‐2‐methoxycinnamaldehyde (6.08 %), cinnamaldehyde (3.47 %) and cinnamyl acetate (1.02 %). The MIC results showed that C. cassia dry bark EO and the main compounds had good antifungal effect on the tested strains, and the inhibitory effect was similar to that of hymexazol (chemical pesticide). By analyzing the value of the fraction inhibitory concentration index (FICI), additive effects, irrelevant effects and synergistic effects were observed after the mixture of hymexazol against various pathogens. Moreover, in vivo model showed that C. cassia dry bark EO could reduce the occurrence of anthrax in P. notoginseng. To widen the resources of C. cassia available, the compositions of both C. cassia fresh bark and leaf EOs were also tested and many common compositions existed among them. Taken together, it was concluded that C. cassia EO had the potential use in the field to reduce the pathogenic disease.