The number of children dying worldwide of diarrhoea fell by a third between 2005 and 2015, researchers have found.
The Lancet study says better access to clean water and sanitation is key, with fewer weak and malnourished children becoming infected.
New vaccines have also had a positive impact.
However, diarrhoea is still the fourth-biggest killer of children globally, with almost 500,000 a year dying before their fifth birthday.
This figure could well be a significant under-estimate because of the lack of data in sub-Saharan Africa, where most cases occur.
Diarrhoea is also indirectly responsible for large numbers of deaths, through exacerbating the effects of other diseases, such as pneumonia and measles.
The US researchers, who analysed data from the new Global Burden of Disease study, found well over a third (42 per cent) of deaths happen in Nigeria and India.
Diarrhoeal diseases, such as rotavirus and cholera, are spread by water contaminated with faeces. They are preventable and treatable.
‘Diarrhoeal diseases disproportionately affect young children,’ said lead author Ali Mokdad, from the Institute for Health Metrics and Evaluation at the University of Washington.
‘Despite some promising reductions in mortality, the devastating impact of these diseases cannot be overlooked.’
While deaths from diarrhoea have dropped by just over 20 per cent overall, and 34 per cent in children, the rate of infection has been falling far more slowly.
For children it dropped by just over 10 per cent between 2005 and 2015.
Of all the diarrhoeal diseases, rotavirus remains the biggest killer of under-fives, according to this study.
But death rates for the disease were down by 44 per cent in 2015.
The researchers attribute much of this to a relatively new vaccine.
‘We’re encouraged to see fewer children dying of diarrhoea,’ said Yael Velleman, senior policy analyst on health and hygiene at WaterAid.
‘But it is unacceptable that diarrhoea still claims the lives of nearly half a million children under five each year.’
‘Up to 50 per cent of under-nutrition is linked to chronic infection, diarrhoea and worm infestation caused by dirty water and poor hygiene.’
She said those children’s life chances were limited by preventable illness – ‘all for the lack of conditions we have been taking for granted in the UK for over 100 years’.
Want stories like this in your inbox?
Sign up to exclusive daily email
More Stories from Children’s health