IL-rGO nanocomposite was prepared by a simple and green method. IL-rGO/GCE exhibited good electrochemical response toward oxidation of Sudan I. Electrochemical mechanism was proposed and discussed in detail. The proposed mechanism was confirmed further by CV experiments.