Edinburgh's Victorian water supply is to receive a £100m boost to help rid it of discoloured water and leaky pipes.
Scottish Water is to clean up Edinburgh's water supply
Scottish Water has announced a huge investment programme to improve the quality of water for more than 500,000 people living in the city.
The project, which will run for more than four years, will also provide better protection against the potentially deadly cryptosporidium bug.
Water officials said the water supply would be "the best in the world".
Jon Hargreaves, Scottish Water chief executive, said: "As Edinburgh grows and develops, Scottish Water will play its part in ensuring that the water supply to the citizens and visitors to Edinburgh continues to meet the highest standards.
"This £100m investment will ensure that Edinburgh's water is among the best in the world."
Geoff Aitkenhead, Scottish Water asset management director, said it was a necessary modernisation of Edinburgh's water supply.
He said: "Two of these water treatment works were built in Victorian days. They have supplied good safe drinking water for more than 100 years but they need new investment."
The Drinking Water Quality Regulator for Scotland, Colin McLaren, welcomed the proposed investment in Edinburgh's water supply.
He said: "Drinking water should look and taste good in addition to being safe.
"Problems with coloured water in the capital over the past year have put a strain on Scottish Water's existing assets which have not always been able to cope with changes in the quality of the supply."
Water officials are also looking for a site to build a new water treatment works, replacing ageing facilities at Alnwickhill and Fairmilehead which were built more than 100 years ago.