Agaves are major biotic resources in arid and semi-arid ecosystems. Despite their ecological, economical and cultural relevance, many aspects of the microbial communities associated with agaves are still unknown. Here, we investigated the bacterial communities associated with two Agave species by 16S rRNA- Denaturing gradient gel electrophoresis fingerprinting and sequencing. We also evaluated the effects of biotic and abiotic factors in the structure of the bacterial communities. In parallel, we isolated and characterized diazotrophic bacteria associated with agaves, as Agave soils are characterized by their low nitrogen content. Our results demonstrate that in Agave, the structure of prokaryotic assemblages was mostly influenced by the community group, where the soil, episphere, and endosphere were clearly distinct. Proteobacteria (γ and α), Actinobacteria, and Acidobacteria were the dominant phyla. Bacterial communities in the episphere of agaves were mainly influenced by the host species, whereas in the endosphere were affected by the season. Fifteen bacterial taxa were common and abundant in the endosphere of both Agave species during the dry season. Notably, some of the confirmed diazotrophic strains belonged to this group, suggesting a possible beneficial role in planta.