Most of the victims were aged between 15 and 26 and the number of casualties could rise, officials say.
At least 24 people have been killed including teenage students following a suicide bombing at an education centre in Afghanistan.
Another 57 people were wounded in the blast which struck in a heavily Shia neighbourhood of western Kabul on Saturday.
Interior ministry spokesman Tariq Adrian said the attacker was trying to get into the centre before he was stopped by guards.
He added that most of the victims were aged between 15 and 26.
Hospitals are still being searched for victims of the blast, so the number of casualties could still rise.
Islamic State has claimed responsibility for the attack on social media, but did not provide any evidence to support this.
The Taliban has rejected being connected to the explosion.
A group associated with Islamic State claimed responsibility for a similar suicide incident in August 2018, which killed 34 students.
In February, the US signed a peace deal with the Taliban as America looks to withdraw troops from the region.
Separately on Saturday, a roadside bomb killed nine people in eastern Afghanistan after a bus full of civilians was struck.
A police spokesman added that a second device was triggered and killed two police officers who were making their way to the scene of the devastated bus.
No-one claimed responsibility for these blasts either, although local police have blamed the Taliban.
SKY NEWS