Although biodiversity gradients have been widely documented, the factors governing broad‐scale patterns in species richness are still a source of intense debate and interest in ecology, evolution, and conservation biology. Here, we tested whether spatial hypotheses (species–area effect, topographic heterogeneity, mid‐domain null model, and latitudinal effect) explain the pattern of diversity observed along the altitudinal gradient of Andean rain frogs of the genus Pristimantis. We compiled a gamma‐diversity database of 378 species of Pristimantis from the tropical Andes, specifically from Colombia to Bolivia, using records collected above 500 m.a.s.l. Analyses were performed at three spatial levels: Tropical Andes as a whole, split in its two main domains (Northern and Central Andes), and split in its 11 main mountain ranges. Species richness, area, and topographic heterogeneity were calculated for each 500‐m‐width elevational band. Spatial hypotheses were tested using linear regression models. We examined the fit of the observed diversity to the mid‐domain hypothesis using randomizations. The species richness of Pristimantis showed a hump‐shaped pattern across most of the altitudinal gradients of the Tropical Andes. There was high variability in the relationship between area and species richness along the Tropical Andes. Correcting for area effects had little impact in the shape of the empirical pattern of biodiversity curves. Mid‐domain models produced similar gradients in species richness relative to empirical gradients, but the fit varied among mountain ranges. The effect of topographic heterogeneity on species richness varied among mountain ranges. There was a significant negative relationship between latitude and species richness. Our findings suggest that spatial processes partially explain the richness patterns of Pristimantis frogs along the Tropical Andes. Explaining the current patterns of biodiversity in this hot spot may require further studies on other possible underlying mechanisms (e.g., historical, biotic, or climatic hypotheses) to elucidate the factors that limit the ranges of species along this elevational gradient.