In this work, we report a facile and green strategy for one pot and in-situ synthesis of a dandelion-like conductive polyaniline coated gold nanoparticle nanocomposites (Au@PANI). The Au@PANI was characterized by SEM, TEM, XRD, TGA, FTIR, UV–vis and conductivity measurement, respectively. Newly-designed Au@PANI materials possessed a significantly high conductivity and strong adsorption capability. Thus, the Au@PANI modified glassy carbon electrode (GCE) was utilized for construct a novel electrochemical sensor for the simultaneous assay of Pb2+ and Cu2+ using square wave anodic stripping voltammetry (SWASV). Under the optimized conditions, an excellent electrochemical response in the simultaneous of Pb2+ and Cu2+ with detection limit of 0.003 and 0.008 μM (S/N = 3), respectively. Moreover, the prepared sensors realized an excellent reproducibility, repeatability and long term stability, as well as reliable practical assays in real water samples. Besides, the possible formation mechanism and sensing mechanism of Au@PANI nanocomposites have been discussed in detail. We believe this study provides a novel method of fabrication of noble metal nanoparticles decorated conducting polymer materials for the electrochemical sensing applications.