One of the most important drivers for the coexistence of plant species is the resource heterogeneity of a certain environment, and several studies in different ecosystems have supported this resource heterogeneity–diversity hypothesis. However, to date, only a few studies have measured heterogeneity of light and soil resources below forest canopies to investigate their influence on understory plant species richness. Here, we aim to determine (1) the influence of forest stand structural complexity on the heterogeneity of light and soil resources below the forest canopy and (2) whether heterogeneity of resources increases understory plant species richness. Measures of stand structural complexity were obtained through inventories and remote sensing techniques in 135 1‐ha study plots of temperate forests, established along a gradient of forest structural complexity. We measured light intensity and soil chemical properties on six 25 m² subplots on each of these 135 plots and surveyed understory vegetation. We calculated the coefficient of variation of light and soil parameters to obtain measures of resource heterogeneity and determined understory plant species richness at plot level. Spatial heterogeneity of light and of soil pH increased with higher stand structural complexity, although heterogeneity of soil pH did not increase in conditions of generally high levels of light availability. Increasing light heterogeneity was also associated with increasing understory plant species richness. However, light heterogeneity had no such effects in conditions where soil resource heterogeneity (variation in soil C:N ratios) was low. Our results support the resource heterogeneity–diversity hypothesis for temperate forest understory at the stand scale. Our results also highlight the importance of interaction effects between the heterogeneity of both light and soil resources in determining plant species richness.