The bus overturned on Sunday evening outside Mandalay as it was returning to the city from a Buddhist ceremony in the nearby tourist town of Pyin Oo Lwin.
Among those killed were 10 students, three teachers, a deputy headmaster, a driver and nine kitchen staff, according to Voice of Myanmar, an online media outlet based in Mandalay.
Rescuers said the students on the bus were 16 to 18 years old.
The Myanmar Fire Services Department, which led the rescue operation, said the survivors and the bodies of those who died were taken to hospitals in Mandalay and Pyin Oo Lwin.
Videos and photographs posted on Facebook showed rescuers carrying victims from the wreckage as residents gathered at the ravine to help. The wrecked bus lay upside down at the bottom of the ravine.
The bus belonged to Shwe Kant Kaw Private High School in Mandalay and the crash site was about 18km southeast of the city.
Road accidents are common along the mountainous route between the towns.Â
At least five crashes have occurred there in the past three months, causing about 30 fatalities, including those from Sunday's crash, according to local reports.