<p>There is still controversy surrounding the ability of tannins to modulate the ruminal biohydrogenation (BH) of fatty acids (FA) and improve the lipid profile of milk or meat without conferring a negative response in the digestive utilization of the diet. Based on this, an <em>in vitro</em> trial using batch cultures of rumen microorganisms was performed to compare the effects of two legume hays with similar chemical composition but different tannin content, alfalfa and sainfoin (<em>Onobrychis viciifolia</em>), on the BH of dietary unsaturated FA and on the ruminal fermentation. The first incubation substrate, alfalfa, was practically free of tannins, while the second, sainfoin, contained 3.5% (expressed as tannic acid equivalents). Both hays were enriched with sunflower oil as a source of unsaturated FA. Most results of the lipid composition analysis (<em>e.g.</em>, greater concentrations of 18:2n-6, <em>cis</em>-9 18:1 or total polyunsaturated FA in sainfoin incubations) showed the ability of this tannin-containing legume to inhibit the BH process. However, no significant differences were detected in the accumulation of <em>cis</em>-9 <em>trans</em>-11 conjugated linoleic acid, and variations in <em>trans</em>-11 18:1 and<em> trans</em>-11 <em>cis</em>-15 18:2 did not follow a regular pattern. Regarding the rumen fermentation, gas production, ammonia concentration and volatile FA production were lower in the incubations with sainfoin (‒17, ‒23 and ‒11%, respectively). Thus, although this legume was able to modify the ruminal BH, which might result in improvements in the meat or milk lipid profile, the present results were not as promising as expected or as obtained before with other nutritional strategies.</p>