Associations between plants and beneficial root-endophytic fungi enhance plant performance by improving nutrient uptake, abiotic stress tolerance and disease resistance. To successfully colonize different host plants and defend their host niche against competing microbes, but also to cooperate with beneficial bacterial members of the microbiota, root endophytes such as Sebacinales secrete a multitude of tightly regulated effector-proteins and carbohydrate-active enzymes. However, the functions, specificity, and regulation of these proteins remain poorly understood. In this study, we employ time-resolved transcriptomics to analyse the gene expression profiles of two Sebacinales members interacting with organisms from different kingdoms of life. We identified crucial genes for plant colonization and intermicrobial competition, including a fungal GH18-CBM5 chitinase specifically upregulated in response to the phytopathogenic fungus Bipolaris sorokiniana. This chitinase protects the plant hosts against the pathogen, reducing fungal biomass and disease symptoms in barley and Arabidopsis thaliana. Our findings shed light on interaction partner specific gene expression in Sebacinales endophytes, with potential applications in enhancing plant health and resilience.