Habitual dietary changes have the potential to induce alterations in the host’s gut microbiota. Mandarin fish (Siniperca chuatsi), an aquatic vertebrate species with distinct feeding habits, were fed with natural feeds (NF) and artificial feeds (AF) to simulate the effects of natural and processed food consumption on host gut microbiota assemblages. The results showed that the alpha diversity index was reduced in the AF diet treatment, as lower abundance and diversity of the gut microbiota were observed, which could be attributed to the colonized microorganisms of the diet itself and the incorporation of plant-derived proteins or carbohydrates. The β-diversity analysis indicated that the two dietary treatments were associated with distinct bacterial communities. The AF diet had a significantly higher abundance of Bacteroidota and a lower abundance of Actinomycetota, Acidobacteriota, and Chloroflexota compared to the NF group. In addition, Bacteroidota was the biomarker in the gut of mandarin fish from the AF treatment, while Acidobacteriota was distinguished in the NF treatments. Additionally, the increased abundance of Bacteroidota in the AF diet group contributed to the improved fermentation and nutrient assimilation, as supported by the metabolic functional prediction and transcriptome verification. Overall, the present work used the mandarin fish as a vertebrate model to uncover the effects of habitual dietary changes on the evolution of the host microbiota, which may provide potential insights for the substitution of natural foods by processed foods in mammals.