Glassy carbon electrodes (GCE) and carbon paste electrodes (CPE) were modified with imidazole functionalized polyaniline with the aim to develop a sensor for lead (II) in both acidic and basic aqueous solution. The electrodes were characterized by cyclic voltammetry and differential pulse adsorptive stripping voltammetry. The limit of detections obtained with glassy carbon electrode and carbon paste electrode are 20 ng mL -1 and 2 ng mL -1 of lead ion, respectively. An interference study was carried out with Cd (II), As(III), Hg(II) and Co(II) ions. Cd(II) ions interfere significantly (peak overlap) and As(III) has a depressing effect on the lead signal. The influence of pH was investigated indicating that bare and modified GCE and CPE show optimum response at pH 4.0 ± 0.05.