AbstractQuestionsEnvironmental filters limit the set of potentially coexisting species in plant communities. Paradoxically, some of the world's most biodiverse communities are subjected to strong abiotic filters. We explored how environmental heterogeneity provides conditions for niche segregation in a harsh megadiverse ecosystem, focusing on fine‐scale factors that drive seedling recruitment. Due to the environmental stress (mainly nutrient and water scarcity), we expected the prevalence of positive plant interactions over negative ones to contribute to species coexistence.LocationIronstone outcrop (canga) at Serra da Calçada, southeast Brazil.MethodsWe characterised microhabitats with one or neither of two dominant shrubs Mimosa calodendron (Fabaceae) and Lychnophora pinaster (Asteraceae), and assessed which micro‐environmental attributes affect seedling survival, growth, and abundance, as well as adult richness in the ecosystem.ResultsSpatial heterogeneity in the community was mostly driven by differences in substrate properties, and plots with Mimosa calodendron and Lychnophora pinaster exhibited different biotic and abiotic conditions from those lacking these species. Microhabitats under both shrubs had greater adult richness, and those occupied by Mimosa calodendron had greater seedling abundance, suggesting positive effects of environmental conditions associated with these plants. Nevertheless, we identified two potential negative plant–plant interactions: larger crown area of the two dominant shrubs was associated with lower species richness, and greater understorey plant cover with lower seedling abundance. Over one year, 63% of the recorded seedlings survived, but measured attributes failed to predict survival. Seedling relative growth rates were species‐specific and lower in microsites where the rocky substrate is fragmented. The most abundant seedling taxa occurred in association with specific microhabitats.ConclusionsOur study suggested that fine‐scale spatial heterogeneity determines the outcome of plant–plant interactions in a stressful ecosystem. Micro‐environmental heterogeneity allows for the spatial segregation of species recruitment, thereby broadening the range of viable strategies within a harsh megadiverse ecosystem.