Abstract The objective of the study was to evaluate the effect of four levels of a commercial product based on quebracho that contains tannins (Table 1) on three types of diets: Feedlot, Dairy Cattle, and Grazing, using the in vitro gas production technique on ruminal fermentation, dry matter digestibility and methane (CH4) production to determine its potential use as a greenhouse gas mitigation strategy in ruminants. An in vitro trial was carried out in a completely randomized block design with a factorial arrangement of 4 [dose: 0, 0.25, 0.50, and 0.75 % of Protein Enhancer (PE)] x 3 [diet types: low (LFD), medium (MFD) and high forage (HFD)]. The fermentation of each treatment was carried out in triplicate in 120 mL amber antibiotic bottles, containing 0.5 g of substrate previously deposited in nylon bags (24 µm pore size) and 60 mL of a mixture of medium and rumen fluid from three Holstein cows. Incubations were replicated in two independent runs (blocks). The gas pressure (PSI) was recorded at 1, 2, 3, 6, 9, 12, 18, 24, 30, 36, 48, 60 and 72 hours of incubation. Gas pressure data were converted to gas volume (y = mL of gas; x = gas pressure PSI). Subsequently, pH was measured, and subsamples for analysis of volatile fatty acids (VFA) by gas chromatography were collected. Methane was analyzed with a Crowcon Gas-Pro detector, while ammoniacal nitrogen with a hybrid multimodal microplate reader. The data were analyzed with the MIXED procedure of SAS, and the comparison of means was analyzed with Tukey and with orthogonal polynomials for doses. An interaction (P < 0.05) was observed between diets and PE levels for CH4 concentration (%), where the diet with a greater level of forage and the greatest level of PE (0.75%), showed the least concentration (30%, P < 0.05) compared with the control diet of dairy cattle. On average, CH4 production [mL CH4/g dry matter (DM)] were 83.3, 63.6, and 35.3 for LFD, MFD, and HFD, respectively (Table 2). As the dose of PE increased, rumen pH and N-NH3decreased (P < 0.05), and the total VFA concentration increased (linear effect, P < 0.05; Table 3). Methane production was less (30%) with the grass-based diet and the greatest level of quebracho-based product with condensed tannins, compared with the dairy cattle diet with 0% condensed tannins. The diet for feedlot cattle was more digestible and, therefore, produced more gas and a greater concentration of CH4, in contrast to the grass-based diet, which produces less CH4. It is necessary to carry out in vivo trials, particularly in grazing cattle, to evaluate the effect of the quebracho-based product on performance and in vivo methane emission. This study was partially funded by PAPIIT-DGAPA-UNAM (grant IN212523).