1. Understanding how species in a diverse regional pool are spatially distributed with respect to habitat types is a longstanding problem in ecology. Tropical species are expected to be specialists along environmental gradients, and this should result in rapid compositional change (high beta diversity) across landscapes, particularly when alpha diversity is a small fraction of regional diversity. Corollary challenges are then to identify controlling environmental variables and to ask whether species cluster into discrete community types along a gradient. 2. We investigated patterns of avian species' distributions in the Tilarán mountains of Costa Rica between 1000 m and 1700 m elevation where a strong moisture gradient exists. High beta diversity was found with both auditory counts adjusted for detectability and extensive capture data, revealing nearly complete change in community composition over a few kilometres on the Pacific slope. As predicted, this beta diversity was roughly twice as high as on temperate mountainsides. 3. Partial Mantel analyses and canonical correspondence analysis indicate that change in species composition is highly correlated with change in moisture (and correlated epiphyte cover) at different distances from the continental divide on the Pacific slope. Altitude was not a good predictor of change in species composition, as species composition varies substantially among sites at the same elevation. 4. Detrended correspondence analysis and cluster analysis revealed a zone of rapid transition separating a distinct cloud forest community from rainshadow forest. On the Caribbean slope, where a shallower moisture gradient was predicted to result in lower beta diversity, we found lower rates of compositional change and more continuous species turnover. 5. Results suggest that habitat specialization of birds is likely a strong ecological force generating high beta diversity in montane landscapes. Despite overall rapid rates of species turnover, zones of relatively coherent composition could be identified. 6. Landscapes with such high beta diversity are common in the tropics, although little studied. They offer high benefit/cost opportunities for conservation, particularly as climate change threatens to alter the species composition of communities of habitat specialists.