An electrochemical sensor was fabricated by construction of nickel nanowires on the surface of poly(p-aminophenol) (PPAP) modified glassy carbon electrode. The electrochemical response of dicofol, a known pesticide and used for agricultural activities such as cyclic voltammetry and differential pulse voltammetry, were investigated and the results were compared with those obtained unmodified electrodes. Following the optimization of NaOH concentration, polymerization cycle number, Ni nanowire amount, the linear range for the dicofol was studied and found as 0.83-30.7 mu mol L-1 (R-2=0.9981) at Ni/PPAP/GCE with a 0.08 mu mol L-1 detection limit according to S/N=3. Finally, the proposed Ni/PPAP/GCE sensor was successfully applied for the dicofol analysis in soil samples. The characterization of the developed surface was carried out by scanning electron microscopy and X-Ray photoelectron spectroscopy.