The climbers were lost and trapped at the Fenghuangling scenic area in the northwest of Beijing on Thursday, state-run Xinhua news agency reported.
The trapped people included 22 students and two teachers.
The fire department rushed 21 fire fighters and three fire fighting trucks to the scene.
All 24 climbers were found safe and brought down the mountain yesterday.