A voltammetric sensor for the determination of acid orange Ⅱ(AO2) was developed based on molecularly imprinted electropolymerized membrane.The sensor was obtained by electropolymerization of o-phenylenediamine(o-PD) and m-dihydroxybenzene(m-DB) on a platinum electrode in the presence of AO2 as a template.The recognition performance of the sensor was studied in the presence of potassium ferricyanide(K3[Fe(CN)6]) by cyclic voltammetry(CV) and differential pulse voltammetry(DPV).The template was removed by washing with methanol-acetic acid(7∶3) solution.The studies revealed that the imprinted sensor showed an excellent selectivity,sensitivity and stability for AO2.The response of the imprinted sensor was linear with concentration of AO2 from 1.0 μg/L to 100.0 μg/L,and the detection limit(S/N=3) was 0.10 μg/L.The method was applied in the detection of AO2 in drinks and beer samples with satisfactory results.