The foliar content of nitrogen and the relative abundances of 13C and 15N were analysed in vascular epiphytes collected from six sites along an altitudinal gradient from tropical dry forests to humid montane forests in eastern Mexico. The proportion of epiphyte species showing crassulacean acid metabolism (CAM) (atmospheric bromeliads, thick‐leaved orchids, Cactaceae, and Crassulaceae) decreased with increasing elevation and precipitation from 58 to 6%. Atmospheric bromeliads, almost all of which had δ13C values indicating CAM, were more depleted in 15N (x=−10·9‰± 2·11) than the C3 bromeliads which form water‐storing tanks (−6·05‰± 2·26). As there was no difference in δ15N values between C3 and CAM orchids, the difference in bromeliads was not related to photosynthetic pathways but to different nitrogen sources. While epiphytes with strong 15N depletion appear to obtain their nitrogen mainly from direct atmospheric deposition, others have access to nitrogen in intercepted water and from organic matter decomposing on branches and in their phytotelmata. Bromeliads and succulent orchids had a lower foliar nitrogen content than thin‐leaved orchids, ferns and Piperaceae. Ground‐rooted hemi‐epiphytes exhibited the highest nitrogen contents and δ15N values.