The present invention relates to the discovery that melanoidins, and higher molecular weight fractions of products containing melanoidins, provide significant corrosive inhibition, which render these melanoidins suitable for use as anticorrosive agents in corrosive environments. In addition to being highly anticorrosive, the melanoidins of the present invention are environmentally friendly and non-toxic, and can be found in animal food and in human foodstuffs.