In a move that will anger some, health service jobsworths have signed-off on a contract to stock only healthy options in the machines.
The Vending People, the firm behind the new machines, will only offer products that conform to healthy eating guidelines, The Mirror reports.
These include zero-sugar and vitamin drinks – and snacks such as wholegrain popcorn and gluten-free energy bars.
The move is the latest in a bid to rein in Britain’s growing waistline.
NHS chiefs have face criticism for allowing in-house fast food outlets in some hospitals as well as shops selling chocolate and crisps.
But some will see the “healthy-only” vending machines as an assault on consumer choice – with sensible hospital patients and visitors being punished for the greed of others.
Vending People boss Paul Arnold insists his machines – which are also being installed at universities and leisure centres – have “real consumer appeal”.
He added: “We understand the NHS has a clear objective to improve the health and well-being of their staff and patients.
“We set out to help people to make healthy choices, day or night.”
The firm already serves more than 30 NHS sites and has 9,000 vending machines across the country.
NHS England’s new “wellbeing” targets say at least three in five pre-packed snacks at hospitals should contain 400 calories or fewer.
Tam Fry from The National Obesity Forum’s said “wholesome” vending machine snacks were acceptable in small hospitals.
But he said all large hospitals should have 24-hour canteens selling fresh healthy food.