Background and Aims Soil fertility and topographic microclimate are common determinants of plant species distributions. However, biotic conditions also vary along these abiotic gradients, and may mediate their effects on plants. In this study, we investigated whether soils and topographic microclimate acted directly on the performance of a focal understorey plant, or indirectly via changing biotic conditions.Methods We examined direct and indirect relationships between abiotic variables (soil fertility and topographic microclimate) and biotic factors (overstorey and understorey cover, litter depth and mycorrhizal colonization) and the occurrence, density and flowering of a common understorey herb, Trientalis latifolia, in the Klamath-Siskiyou Mountains, Oregon, USA.Results We found that the positive effects of soil fertility on Trientalis occurrence were mediated by greater overstorey shading and deeper litter. However, we did not find any effects of topographic microclimate on Trientalis distribution that were mediated by the biotic variables we measured. The predictive success of Trientalis species distribution models with soils and topographic microclimate increased by 12 % with the addition of the biotic variables.Conclusions Our results reinforce the idea that species distributions are the outcome of interrelated abiotic gradients and biotic interactions, and suggest that biotic conditions, such as overstorey density, should be included in species distribution models if data are available.