Gut microbiota play key roles in host nutrition and metabolism. However, little is known about the relationship between host genetics, gut microbiota and metabolic profiles. Here, we used high-throughput sequencing and gas chromatography/mass spectrometry approaches to characterize the microbiota composition and the metabolite profiles in the gut of five cyprinid fish species with three different feeding habits raised under identical husbandry conditions. Our results showed that host species and feeding habits significantly affect not only gut microbiota composition but also metabolite profiles (ANOSIM, p <= 0.05). Mantel test demonstrated that host phylogeny, gut microbiota, and metabolite profiles were significantly related to each other (p <= 0.05). Additionally, the carps with the same feeding habits had more similarity in gut microbiota composition and metabolite profiles. Various metabolites were correlated positively with bacterial taxa involved in food degradation. Our results shed new light on the microbiome and metabolite profiles in the gut content of cyprinid fishes, and highlighted the correlations between host genotype, fish gut microbiome and putative functions, and gut metabolite profiles.