Global changes such as increased drought and atmospheric nitrogen deposition perturb both the microbial and plant communities that mediate terrestrial ecosystem functioning. However, few studies consider how microbial responses to global changes may be influenced by interactions with plant communities. To begin to address the role of microbial–plant interactions, we tested the hypothesis that the response of microbial communities to global change depends on the plant community. We characterized bacterial and fungal communities from 395 plant litter samples taken from the Loma Ridge Global Change Experiment, a decade-long global change experiment in Southern California that manipulates rainfall and nitrogen levels across two adjacent ecosystems, a grassland and a coastal sage scrubland. The differences in bacterial and fungal composition between ecosystems paralleled distinctions in plant community composition. In addition to the direct main effects, the global change treatments altered microbial composition in an ecosystem-dependent manner, in support of our hypothesis. The interaction between the drought treatment and ecosystem explained nearly 5% of the variation in bacterial community composition, similar to the variation explained by the ecosystem-independent effects of drought. Unexpectedly, we found that the main effect of drought was approximately four times as strong on bacterial composition as that of nitrogen addition, which did not alter fungal or plant composition. Overall, the findings underscore the importance of considering plant–microbe interactions when considering the transferability of the results of global change experiments across ecosystems.