Tea polyphenols (TP) are the most biologically active components in tea, with antioxidant, antiobesity, and antitumor properties, as well as the ability to modulate the composition and function of intestinal microbiota. This experimental study evaluated the chemical constituents of polyphenols in Pu-erh (PTP) and Dian Hong tea (DHTP). It also investigated the co-regulatory effects of PTP and DHTP on intestinal flora and liver tissues in mice using 16 S rRNA gene and transcriptome sequencing. The results revealed that DHT had higher concentrations of EGC (epigallocatechin), C (catechin), EC (epicatechin), and EGCG (epigallocatechin gallate). In contrast, PT had higher concentrations of GA (gallic acid), ECG (epicatechin-3-gallate), TF (theaflavin), and TB (theabrownin). PTP and DHTP consumption significantly reduced the rates of weight gain in mice. Microbial community diversity was significantly higher in PTP and DHTP-treated mice than in the control group. Notably, beneficial microbes such asLactobacillusincreased significantly in PTP-treated mice, whereasLachnospiraceaeincreased significantly in DHTP-treated mice. Both PTP and DHTP improved the activity of the antioxidant enzymes (SOD) and total antioxidant capacity (T-AOC) in the liver. The transcriptome analysis revealed that the beneficial effects of PTP and DHTP were due to changes in various metabolic pathways, the majority of which were related to antioxidant and lipid metabolism. This study discovered that PTP and DHTP had beneficial effects in mice via the gut-liver axis.Supplementary InformationThe online version contains supplementary material available at 10.1186/s13568-023-01565-4.