Ondansetron blocks 5-HT3 receptors, a type of serotonin receptor found on nerve endings in the gut and in a vomiting control area of the brain. Chemotherapy seems to make cells in the small intestine release serotonin. That serotonin can stimulate nearby nerves through these receptors and set off the vomiting reflex, which the drug blocks. It is not certain whether it acts mainly in the gut, the brain, or both, and unlike many older anti-nausea medicines, it does not block dopamine.
Taken over several days, it can slow movement through the large bowel, and constipation is a known side effect. Larger IV doses lengthen the QT interval on a heart tracing, which the label links to a risk of dangerous heart rhythm changes. Combined with other drugs that act on serotonin, it can contribute to serotonin syndrome.