The Brazilian savanna is the second largest ecosystem in Brazil. It is also one of the most endangered, with only 20% of its habitat remaining unchanged. Agriculture and livestock have been indicated as the main agents of destruction of the Brazilian savanna. Brazilian livestock, for example, is the main reason for cultivation of exotic grasses such as Urochloa spp. (from Africa). Dung beetles are widely used in ecological assessment, mainly because they are recognized as bioindicators of environmental changes. Therefore, efficient sampling is required for any research involving the biodiversity of this group. In order to mitigate the lack of information on efficiency of the attractiveness of baits in the endangered Brazilian savanna and in exotic pasturelands, we sampled dung beetles in four native patches of the Brazilian savanna and in four areas of pastures with Urochloa spp. Dung beetles were captured with pitfall traps baited with carcass, cattle dung, human feces and pig dung, with a total sampling effort of 384 traps. We sampled 7544 individuals belonging to 43 species and 18 genera of dung beetles. Thirty‐eight species were collected in the Brazilian savanna and 24 species in exotic pastureland. In both ecosystems traps baited with human feces sampled greater abundance and species richness of dung beetles when compared with the other three baits used. Our results showed that human feces is a reliable, easy and inexpensive bait to sample greater abundance and species richness of generalist dung beetles in both native and exotic habitats, with clear structural differences.