Environmental heterogeneity is a factor which can help explain the higher local species richness. The objective of this study was to test if richness and composition of anurans species are related to available microhabitats and landscape type of sampled sites. We assume that a higher number of microhabitats increase environmental heterogeneity and this, in turn, affects species richness of amphibians. We performed the study in the Mesophytic Semideciduous Forest, a vegetation type within Atlantic Forest Domain. Between October 2010 and February 2011, we sampled 23 water bodies located in the agricultural, forest, and urban landscapes. The species richness was determined using survey at breeding sites methodology, and the availability of microhabitats was estimated visually. Thirty-four anuran species belonging to 12 families were recorded. The species richness in water bodies ranged from two to 13 species. The highest species richness was recorded in environments with a higher number of microhabitats, while the species composition in water bodies was partially grouped according to the predominant landscape type that is agricultural, forest, forest edge or urban. Our results suggest that species use specific environments (e.g. landscapes, habitat and microhabitat) for their reproductive activities.