But attendance on the first day of the new academic year was low, with hundreds of students staying away. Many families have still not returned home to the valley's main town of Mingora, where the Taliban once held sway.
Reopening schools in Swat, a former tourist haven, is just one piece of the puzzle for authorities trying to rehabilitate the valley, but it may be the most symbolic and psychologically important step yet, as destroying schools
- particularly those teaching girls - was a key part of the Taliban's reign in the valley.
In one girls' school in Mingora, in the Haji Baba neighborhood, only about 30 of the usual 700 students were back on Saturday. But those who were said they were glad to be able to learn again without fear of the Taliban.
"I'm happy. I like school. I like to study," 12-year-old Saima Abdul Wahab said as she stood in a tiny courtyard outside her dusty classroom, piles of new exercise books stacked against the walls waiting to be given out.
Saima said she, like many others, had been too afraid to study when the Taliban controlled the town.
"I was scared and stopped coming to school. The Taliban were slaughtering people. I was scared of being slaughtered," she said. But now, "I'm not afraid of them coming back. They're gone."
But while they no longer control Swat, militants still launch attacks. A bomb early Saturday destroyed part of a girls' school in the district of Bannu, neighboring Pakistan's lawless tribal region along the Afghan border, police said.
The bomb, planted in the high school, detonated shortly after midnight when the school was empty, and there were no casualties, said police official Khalid Khan. But police also discovered a bag containing nearly 90 pounds (about 40 kilograms) of undetonated explosives when they searched the school after the blast, he said.
At one point during their recent takeover, the Taliban had announced they were banning female education completely, in a move echoing their militant brethren in neighboring Afghanistan who forbade girls from going to school when they were in charge.
Nearly 200 schools in Swat and surrounding the area were destroyed, and hundreds more were damaged
- most of them girls' institutions.
The havoc threatened to set back literacy and other educational achievements in the valley that
- relative to other parts of the conservative northwest - had made strides in education over the past century, including when it was a princely state with its own ruler.
School has been out in Swat since May, leaving large gaps in children's education, teachers say.
"We will have extra classes, put in extra time, forego our vacations, but we will catch up," vowed Noor ul Akbar, who teaches Quran recitation at a nearby boys' school.
About 150 of the school's usual 1,500 boys lined up in the warm early morning sun for assembly that began with a prayer before starting lessons in their bomb-damaged building. The school was struck by an explosion in a shop across the street that had been run by a suspected Taliban militant.