The trust said chocolate would still be available in the hospital
A North Derbyshire hospital is to ban some vending machines in an effort to encourage healthy eating.
Crisps, chocolate and fizzy drinks will be phased out of parts of Chesterfield Royal in the coming years.
Hospital managers said a cafe at the main entrance would be given a healthy eating makeover to offer patients and visitors a wider variety of food.
But they also said traditional snacks would be available from other shops and outlets in the hospital.
The moves comes after the Welsh Assembly announced this week that machines selling unhealthy food will be removed from hospitals there in the next few months.
Sarah Turner-Saint from the Chesterfield Royal said the idea was to offer people a choice.
"We are not saying to people they should never ever eat chocolate or crisps, we all do it, we all enjoy it from time to time.
"But I think it is important while people are in hospital we offer them the healthiest food we can."