Room-temperature ionic liquid n-hexyl-3-methylimidazolium hexafluoro phosphate as a binder and ZnO nanoparticle (ZnO/NPs) as a sensor were used to construct a new ZnO/NPs carbon ionic liquid paste electrode (ZnO/NPs/IL/CPE), which exhibited enhanced electrochemical behavior as compared with the traditional carbon paste electrode with paraffin for electrooxidation of Sudan I. This modified electrode exhibited a potent and persistent electron mediating behavior followed by well separated oxidation peaks of Sudan I and vitamin B6. The peaks current of square wave voltammograms (SWV) of Sudan I and vitamin B6 increased linearly with their concentration in the ranges of 0.01–400μM Sudan I and 0.5–800μM vitamin B6. The detection limits for Sudan I and vitamin B6 were 0.008– 0.2μM, respectively. The modified electrode has been successfully applied for the assay of Sudan I and vitamin B6 in food samples.