We used pitfall trapping to investigate the effects of elevation, plant density and soil structure on species diversity and the impact of these habitat factors on lizard habitat selectivity in the Qom Province in the Central Plateau of Iran. From a total of 12 1-ha plots, we captured 363 individuals of 15 species of lizards (six species of Lacertidae, five species of Agamidae, two species of Gekkonidae, one species of Varanidae and one species of Scincidae). A generalized linear model (GLM) determined that elevation was the most important factor impacting species diversity. The highest species diversity was at the intermediate elevation (1289 m). Abundance of 6 out of 15 species showed strong relationships with some habitat factors. These relationships were demonstrated by habitat selectivity index (Ivlev's index). Our result supports other surveys that showed that elevation plays an important role in determining lizard species diversity.