A one-pot synthesis of Au and Pt nanoparticles by the spontaneous reduction of chloroaurate and chloroplatinate ions using tetraaniline molecules has been elucidated. The importance of this work is that tetraaniline acts as a multifunctional molecule that accomplishes the complexation of aqueous chloroaurate and chloroplatinate ions by phase transferring them to organic medium and their subsequent reduction to yield Au and Pt nanoparticles in organic phase. The metal reduction is followed by polymerization of the amine to yield polyaniline, which subsequently caps the Au and Pt nanoparticles. Various analytical techniques have been used for probing the process of reduction of auric and platinic metal precursors like UV-vis, X-ray diffractogram (XRD) and transmission electron micrographic (TEM) analysis. Such prepared nanoparticles are utilized for the fabrication of novel modified electrodes towards the electrocatalytic oxidation of glucose. © 2007 Elsevier Ltd. All rights reserved.