Nanocomposite material has been getting much more attention in recent years by scientists. Nanomaterials, which can be used to fabricate nanocomposite, come in the form of wire, tubes or particles. The matrix polymer can be thermoplastics or thermoset plastics such as phenolic resin, epoxy resin, and unsaturated polyester, or conducting polymers such as polyaniline, polypyrrole, polyethylene, polypropylene and polystyrene. In this study, TiO2 was used as an additive for polyaniline, considered to be a matrix polymer. The nanocomposite film was fabricated electrochemically on metal surfaces (mild steel and stainless steel). The electrochemical properties of polyaniline could be seen on the cyclic voltammogram. With mechanical stirring during electropolymerisation, TiO2 nano particles could be incorporated into the nanocomposite film. A TEM image showed that TiO2 particles were distributed homogenously in the coating. The presence of TiO2 also could be seen with X-Ray Diffraction (XRD) measurement. A Scanning Kelvin Probe (SKP) showed that the adhesion and the corrosion resistance of a nanocomposite coating could be improved with TiO2 in a solution of 3 percent NaCl.