An improvement has been made in anti-corrosion chemicals for oilfield use. A binary corrosion inhibitor has been patented and field proven which combines an epoxy resin and an amine curing agent. The proper application of this unique combination of chemicals forms a bond with the oxide film present on downhole metal surfaces. The result is a corrosion inhibitor barrier that is more tenacious than conventional polar filming amines, reducing application frequency and labor costs, and even more importantly, downhole failures. The binary corrosion inhibitor is also an improvement over and is more versatile than other epoxy-amine products.