We asked how the richness of the specialized (endemic) flora of serpentine rock outcrops in California varies at both the regional and local scales. Our study had two goals: first, to test whether endemic richness is affected by spatial habitat structure (e.g., regional serpentine area, local serpentine outcrop area, regional and local measures of outcrop isolation), and second, to conduct this test in the context of a broader assessment of environmental influences (e.g., climate, soils, vegetation, disturbance) and historical influences (e.g., geologic age, geographic province) on local and regional species richness. We measured endemic and total richness and environmental variables in 109 serpentine sites (1000-m2 paired plots) in 78 serpentine-containing regions of the state. We used structural equation modeling (SEM) to simultaneously relate regional richness to regionalscale predictors, and local richness to both local-scale and regional-scale predictors. Our model for serpentine endemics explained 66% of the variation in local endemic richness based on local environment (vegetation, soils, rock cover) and on regional endemic richness. It explained 73% of the variation in regional endemic richness based on regional environment (climate and productivity), historical factors (geologic age and geographic province), and spatial structure (regional total area of serpentine, the only significant spatial variable in our analysis). We did not find a strong influence of spatial structure on species richness. However, we were able to distinguish local vs. regional influences on species richness to a novel extent, despite the existence of correlations between local and regional conditions.