Objective: To determine whether an educational programme aimed at discouraging students from drinking sugar-sweetened beverages could prevent excessive weight gain. Design: Forty-seven classes in twenty-two schools were randomised as intervention or control. Subjects: Participants were 1140, 9-12-year-old fourth graders (435 in the intervention group and 608 in the control group). Sugar-sweetened beverages and juice intake were measured through one 24 h recall at baseline and another at the end of the trial. The main outcome was the change in BMI (BMI 5 weight (kg)/height (m 2 )), measured at the beginning and at the end of the school year. Intentionto-treat analysis was performed taking into account the cluster (classes) effect. Results: A statistically significant decrease in the daily consumption of carbonated drinks in the intervention compared to control (mean difference 5 256 ml; 95 % CI 2119, 27 ml) was followed by a non-significant overall reduction in BMI, P 5 0?33. However, among those students overweight at baseline, the intervention group showed greater BMI reduction (20?4 kg/m 2 compared with 20?2 kg/m 2 in the control group (P 5 0?11)), and this difference was statistically significant among girls (P 5 0?009). Fruit juice consumption was slightly increased in the intervention group (P 5 0?08), but not among girls. Conclusion: Decreasing sugar-sweetened beverages intake significantly reduced BMI among overweight children, and mainly among girls. Efforts to reduce energy intake through liquids need to emphasise overall sweetened beverages and addition of sugar on juices.