Metoclopramide blocks dopamine to stop vomiting and speed up stomach emptying. Blocking dopamine in the brain causes its side effects.
Metoclopramide is a dopamine D2 antagonist with a prokinetic effect. It is used for nausea and vomiting, and in migraine, where faster stomach emptying helps painkillers get absorbed. Since 2013 the MHRA has limited it to short-term use (up to 5 days). It causes extrapyramidal effects, especially acute dystonia (e.g. oculogyric crisis) in children and young adults. It can also raise prolactin. Avoid it in bowel obstruction, although it can help in paralytic ileus.