Polyaniline (PANI) is one of the widely studied organic conducting polymers because of its high conductivity, excellent environmental stability and optical properties, its ease of preparation (its limited solubility) and relatively low cost and its protective properties against environmental corrosion [1–6]. Indeed, one of the important applications of PANI is as an anticorrosive coating on metal, where it has been shown to be able to protect steel in alkali, neutral and acidic environments [7–11]. PANI is a good candidate as an anticorrosive coating to replace chromium-containing coatings, which have adverse health and environmental concerns [12]. PANI has both barrier and electrochemical protection effects that cause an increase in the corrosion potential and forms a protective, passive iron-dopant oxide anodized layer (mainly Fe2O3 above a thin Fe3O4 layer) on the metal surface due to its redox catalytic properties, which is then able to protect the small defects and pinholes in the coatings [13–18]. However, PANI coatings are limited by their mechanical strength, adhesion to the steel and the effectiveness of their barrier effect and so the synthesis of PANI composites is required and of interest to remedy these limitations of PANI coatings and so increases its efficiency in corrosion protection. The pretreatment of the metal surface by chelating agents [19], pre-deposition of the polymers [20] and formation of a passive stable layer on the metal surface can all increase the adhesion of PANI [21–23].