Hummingbird communities tend to respond to variation in resources, having a positive relationship between abundance and diversity of food resources and the abundance and/or diversity of hummingbirds. Here we examined the influence of floral resource availability, as well as seasonality and type of habitat on the composition of hummingbird species. The study was carried out in two habitats of eastern Brazilian mountaintops. A gradient representative of the structure of hummingbird community, based on species composition, was obtained by the ordination of samples using the method of non-metric multidimensional scaling. The composition of hummingbird species was influenced by the type of habitat and floral resource availability, but not by seasonality. Hummingbird communities differ between habitats mainly due to the relative abundance of hummingbird species. The variation in composition of hummingbird species with the variation in floral resource availability may be related to differences in feeding habits of hummingbirds. Hummingbird species with the longest bills visited higher proportions of ornithophilous species, while hummingbirds with shorter bills visited higher proportions of non-ornithophilous species. The results demonstrate that at local-scale the composition of hummingbird species is affected by the type of habitat and floral resources availability, but not by seasonality.