A novel electrogenerated chemiluminescence (ECL) sensor for the determination of metoclopramide was developed by employing ruthenium complex as an ECL signal producer and an ordered mesoporous carbon (OMC) material as modified material. The ECL sensor was fabricated by adsorption ruthenium complex into a mixture of OMC and Nafion, which showed good electrochemical and ECL behaviors. It was found that the ECL intensity of the sensor fabricated was greatly enhanced in the presence of metoclopramide. Based on this finding, a highly sensitive and reproducible ECL method was developed for the determination of metoclopramide. The result showed that the ECL intensity was linear with the concentration of metoclopramide in the range from 1.0×10-10 to 5.0×10-7M and the detection limit was 3×10-11M. The ECL sensor exhibited a long-term stability and a fine reproducibility with relative standard deviation of 1.0 % for 1.0×10-10M metoclopramide in 18 continuous determinations. The developed method has been applied to the determination of metoclopramide in tablet samples with satisfactory results.