Intestinal microbiota perform important functions for the health of fishes. Knowing the microbial composition and evaluating the possible effects caused by anthropogenic pollution in the intestinal microbiota of fish populations might represent an important step in defining microbial biomarkers for water pollution. This study evaluated the impact of environmental contamination on the gut microbiota of the livebearer killifish Phalloceros caudimaculatus. The 16S survey using the V4 region of the 16S rRNA gene was used to characterize and compare the microbiota of two P. caudimaculatus populations from streams with different levels of environmental contamination in Rio Grande, RS, Brazil. Twelve bacterial operational taxonomic units (OTUs) (around one-third of the total) were shared between both fish populations. They represent the core microbiota of the gut in this species. The dominant phyla were Protebacteria and Firmicutes, with more than 80% of relative abundance. The dominant genus was Burkholderia with more than 35% of the relative abundance irrespective of the environmental condition. We detected a lower microbial diversity (Shannon index and observed OTUs) in fish from the polluted stream compared to the reference stream. The PERMANOVA analysis showed that the intestinal microbial communities from fish living in the polluted stream were distinct from those found in the reference stream (p < 0.05). Finally, we identified Luteolibacter, Methylocaldum and Rhodobacter genera, which correlated strongly with the polluted stream. These taxa might represent potential microbial biomarkers of exposure to environmental contaminants in the guts of fish. Confirmation of these findings in other polluted environments might allow the development of a microbiota-based screening approach for environmental evaluation in ecotoxicological studies in aquatic ecosystems.