While biotic interactions often impose selection, species and popula- tions vary in whether they are locally adapted to biotic interactions. Evo- lutionary theory predicts that environmental conditions drive this variable local adaptation by altering the fitness impacts of species interactions. To investigate the influence of an environmental gradient on adaptation be- tween a plant and its associated rhizosphere biota, we cross-combined teosinte (Zea mays ssp. mexicana) and rhizosphere biota collected across a gradient of decreasing temperature, precipitation, and nutrients in a greenhouse common garden experiment. We measured both fitness and phenotypes expected to be influenced by biota, including concentrations of nutrients in leaves. Independent, main effects of teosinte and biota source explained most variation in teosinte fitness and traits. For example, biota from warmer sites provided population-independent fitness benefits across teosinte hosts. Effects of biota that depended on teosinte genotype were often not specific to their local hosts, and most traits had similar relation- ships to fitness across biota treatments. However, we found weak patterns of local adaptation between teosinte and biota from colder sites, suggest- ing environmental gradients may alter the importance of local adaptation in teosinte-biota interactions, as evolutionary theory predicts.