A glassy carbon substrate was covalently modified with a mixed layer of 4-aminophenyl and phenyl via in situ electrografting of their aryldiazonium salts in acidic solutions. Single-walled carbon nanotubes (SWNTs) were covalently and vertically anchored on the electrode surface via the formation of amide bonds from the reaction between the amines located on the modified substrate and the carboxylic groups at the ends of the nanotubes. Ferrocenedimethylamine (FDMA) was subsequently attached to the ends of SWNTs through amide bonding followed by the attachment of an epitope, i.e., endosulfan hapten to which an antibody would bind. Association or dissociation of the antibody with the sensing interface causes a modulation of the ferrocene electrochemistry. Antibody-complexed electrodes were exposed to samples containing spiked endosulfan (unbound target analyte) in environment water and interrogated using the square wave voltammetry (SWV) technique. The modified sensing surfaces were characterized by atomic force microscopy, XPS, and electrochemistry. The fabricated electrochemical immunosensor can be successfully used for the detection of endosulfan over the range of 0.01-20 ppb by a displacement assay. The lowest detection limit of this immunosensor is 0.01 ppb endosulfan in 50 mM phosphate buffer at pH 7.0.