The new Castleton Youth Hostel has been formally opened by a government minister.
Losehill Hall replaces the smaller former hostel in the village, with education minister Tim Loughton performing the turf-cutting ceremony.
The building was sold by the national park authority as part of its cost-cutting measures after government grants were cut, with the Youth Hostels Association (YHA) buying it as a hostel and an ongoing outdoor education centre, ensuring it continues to fulfil a purpose the park authority had used it for.
And Mr Loughton hailed the way hostels can encourage young people to go walking
and enjoy other outdoor activities.
"YHA and the activities it provides young people is a great example of how kids' imaginations can be inspired and engaged without the use of computer games and DVDs," he remarked.
Other youth hostels that make good bases for walkers and climbers in the Peak District include Edale, Hathersage, Eyam, Crowden and Youlgreave.