Emerald ash borer (EAB, Agrilus planipennis) is an invasive killer of ash trees (Fraxinus spp.) in North America and Europe. Ash species co‐evolved with EAB in their native range in Asia are mostly resistant, although the precise mechanism(s) remain unclear. Very little is also known about EAB or ash tree microbiomes. We performed the first joint comparison of phloem mycobiome and metabolites between a native and a nonnative ash species, infested and uninfested with EAB, in conjunction with investigation of larval mycobiome. Phloem mycobiome communities differed between the tree species, but both were unaffected by EAB infestation. Several indicator taxa in the larval gut shared a similarly high relative abundance only with the native host trees. Widely targeted metabolomics revealed 24 distinct metabolites in native trees and 53 metabolites in nonnative trees, respectively, that differed in relative content between infested and uninfested trees only in one species. Interestingly, four metabolites shared a strong relationship with the phloem mycobiomes, majority of which affected only the native trees. Collectively, our results demonstrate a complex interplay between host tree chemistry and mycobiome, and suggest the shared relationships between the mycobiomes of the native host tree and EAB may reflect their shared co‐evolution.