Earth's land surface teems with life. Although the distribution of ecosystems is largely explained by temperature and precipitation, vegetation can vary markedly with little variation in climate. Here we explore the role of bedrock in governing the distribution of forest cover across the Sierra Nevada Batholith, California. Our sites span a narrow range of elevations and thus a narrow range in climate. However, land cover varies from Giant Sequoia (Sequoiadendron giganteum), the largest trees on Earth, to vegetation-free swaths that are visible from space. Meanwhile, underlying bedrock spans nearly the entire compositional range of granitic bedrock in the western North American cordillera. We explored connections between lithology and vegetation using measurements of bedrock geochemistry and forest productivity. Tree-canopy cover, a proxy for forest productivity, varies by more than an order of magnitude across our sites, changing abruptly at mapped contacts between plutons and correlating with bedrock concentrations of major and minor elements, including the plant-essential nutrient phosphorus. Nutrient-poor areas that lack vegetation and soil are eroding more than two times slower on average than surrounding, more nutrientrich, soil-mantled bedrock. This suggests that bedrock geochemistry can influence landscape evolution through an intrinsic limitation on primary productivity. Our results are consistent with widespread bottom-up lithologic control on the distribution and diversity of vegetation in mountainous terrain.erosion rates | bedrock weathering | critical zone | forest distribution V egetation captures solar energy and sends it cascading through ecosystems, creating habitats for other organisms and fixing nutrients and carbon from the atmosphere. Vegetation also plays an important although still incompletely understood role in the breakdown and erosion of rock (1-3) and thus the evolution of Earth's topography (4). Understanding the factors that determine where vegetation thrives-and where it does not-is therefore fundamental to many disciplines, including ecology, geomorphology, geochemistry, and pedology. As a substrate for life, lithology can influence overlying vegetation, spurring endemism due to the presence of toxins (5, 6) and limiting productivity where rock-derived nutrients are scarce (7-9). However, lithologic effects on vegetation are generally considered secondary to climatic factors such as the length of the growing season and the amount of moisture available for plant growth (10). Here we show that bedrock composition can drive differences in vegetation on par with the systematic altitudinal differences found in mountains between their hot, dry foothills and cold, wet alpine summits.