Several private hospitals in the US capital voluntarily ban junk food as part of the Healthy Hospital Food Initiative of New York's Health Department.
The sodas and sweets in the hospitals' vending machines will be replaced with healthy alternatives.
Nutrition experts are happy with the decision, as many hospital patients suffer from illnesses linked to diets laden with fat, salt and sugar.
However, critics say that it constitutes yet another paternalistic move by New York's mayor Michael Bloomberg. His health policy has already resulted in a smoking ban in most public spaces and a ban on super-size sodas at the city's fast-food restaurants.