Studies on habitat use have often helped explain observed variation in morphology, behavior and reproductive characteristics among populations within a single species. Here we analyze morphological and ecological characteristics of individuals from the Sceloporus grammicus species complex from 7 different localities (CER, El Cerezo; PAC, Pachuca; HUI, Huichapan; EZA, Emiliano Zapata; SMR, San Miguel Regla; LMJ, La Mojonera; and LMZ, La Manzana) in the state of Hidalgo, and one locality (Cahuacán) in the State of Mexico. A canonical correspondence analysis (CCA) showed that females from PAC, EZA, LMZ, HUI, SMR and CAH populations use similar microhabitats characterized mostly by bare soil, in females from LMJ and CER use microhabitats characterized primarily by vegetation and rocks. Females were observed using 12 different types of perches. With regard to perch height use, the CCA showed that females from PAC, LMJ, LMZ, SMR, CER and CAH populations were correlated with height to nearest perch (HNP), in the rest of the females were not related to any perch use variable. In contrast, the CCA showed that males from PAC, LMJ and CAH were characterized by microhabitats with higher vegetal coverage, while males from LMZ and CER used microhabitats composed of bare soil, but males from HUI and SMR populations used microhabitats composed chiefly of bare soil and rocks. With respect to perch height use, the CCA showed that males from PAC, LMJ, EZA and LMZ were correlated with distance to the nearest perch, but the rest of the males were not correlated with any perch use variables. Males were observed in 9 different perch types. The males were larger than the females in all morphological variables analyzed. Moreover, in both sexes the snout-vent length is positively correlated with all morphological variables, and although both the slope and ordinate of the origin of all morphological variables were larger in males than females, the analysis of covariance indicated that there is no increase in the morphological variables with increasing SVL between sexes. Our results suggest that variation in habitat use and morphology among populations is an adaptive response (phenotypic plasticity) to the environmental conditions where these populations of Sceloporus grammicus occur.