This prospective study investigated genetic factors associated with QT-interval changes after ondansetron in children and pregnant women. It did not detect an association with CYP2D6 activity score in this cohort and identified candidate genetic signals for further investigation.