The announcement comes days after series of blasts at a Kabul girls’ school killed more than 50 people, mostly pupils.
A three-day ceasefire agreed by the warring Taliban and Afghan government has come into force as celebrations for the Muslim holiday of Eid al-Fitr got underway, after weeks of heavy fighting across the country.
The temporary deal starting on Thursday was proposed by the Taliban and agreed to by President Ashraf Ghani.
Violence has intensified in Afghanistan since the United States missed a May 1 deadline, agreed with the Taliban last year, to withdraw all of its troops.
It will only be the fourth pause in fighting in nearly 20 years of conflict, and is expected to give respite to Afghan families as they celebrate Eid, which comes at the end of the fasting month of Ramadan.
Al Jazeera’s Filio Kontrafouri, reporting from Kabul, said Afghans who have long been suffering from the ongoing violence breathed a sigh of relief.
“It is refreshing to see families with children walking around Kabul this morning be able to be a bit as a result of the ceasefire,” she said.
The Taliban and the Afghan government launched peace talks in September last year, but progress has stalled despite international efforts to jump-start the negotiations.
Ceasefires in the past have largely held, in what is widely thought to be an exercise by the Taliban leadership to prove they have firm control over the myriad factions across the country that make up the hardline movement.
The US and NATO have pledged to withdraw their troops by September 11. While the Taliban have avoided engaging US troops, they have stepped up attacks against Afghan government forces.
Social media campaign
Violence has rocked several provinces in recent weeks. On Tuesday, Taliban fighters seized Nerkh district, which lies in Wardak province about 40km (25 miles) from Afghanistan’s capital, Kabul.
On Saturday, a series of bomb blasts outside a school in Kabul killed dozens of people, mostly students.
Officials blamed the Taliban who denied they were involved in the bombing and condemned it.
Meanwhile, the hashtag “AfghansWantPermanentCeasefire” trended in Afghanistan on Facebook and Twitter in the lead-up to Eid.
Taliban spokesman Zabihullah Mujahid told the Reuters news agency that the social media trend was an “emotional thing” and that the group “respected” these emotions.
“But a ceasefire is something bigger than emotion, it is related to the larger issue of our country,” he said, adding that there would be no permanent ceasefire until the group’s goal of restoring an Islamic government is achieved.
The United Nations Assistance Mission in Afghanistan (UNAMA) said it would continue to support Afghanistan.
“Let me assure you that we have no plans to go anywhere. We intend to stay the course and work with all of you,” said head of UNAMA Deborah Lyons in a statement to mark Eid.