Metoclopramide is used to treat the symptoms of slow stomach emptying (gastroparesis) in patients with diabetes. It works by increasing the movements or contractions of the stomach and intestines. It relieves symptoms such as nausea, vomiting, heartburn, a feeling of fullness after meals, and loss of appetite.