A molecularly imprinted polymer (MIP) for the determination of Phenylephrine hydrochloride (PHE) was present. The MIP was prepared by electropolymerization using 1, 4-phenylenediamine (PE) as the functional monomer, PHE as the template. The imprinting effect was verified by comparing the electrochemical response of MIP and none imprinted polymer (NIP) tested by cyclic voltammetry between -0.6 and 0.8 V and scan rate 50 mV/s in redox peak currents of hexacyanoferrate as a probe. Some parameters affecting sensor response were optimized and then a calibration curve plotted. A dynamic linear range of 5 to110 µM was obtained. The detection limit was 0.9 µM (S/N=3). This imprinted electrochemical sensor was used successfully for PHE determination in real samples.