The present invention concerns a composition containing medium-chain fatty acids or salts or mono-, di-, triglycerides, esters or amide derivatives of medium-chain fatty acids. In a further aspect, the present invention concerns also a feed, supplemented with the composition, and a method for feeding animals, in particular calves, cattle and dairy cattle.