At least 19 people were killed and 50 wounded when two explosions followed by gunfire hit Afghanistan's biggest military hospital in Kabul, a Taliban security official said.
The explosions took place at the entrance of the 400-bed Sardar Mohammad Daud Khan hospital in central Kabul and security forces had been sent to the area, Interior ministry spokesman Qari Saeed Khosty said.
There was no confirmation of casualty numbers but a Taliban security official, speaking on condition of anonymity, said there were at least 19 dead and 50 wounded.
Italian aid group Emergency, which runs a trauma hospital around 3km from the site of the blast, said nine wounded had been brought in so far.
Photographs shared by residents showed a plume of smoke over the area of the blasts near the former diplomatic zone in the Wazir Akbar Khan area of the city and witnesses said at least two helicopters were flying over the area.
A Taliban official has claimed a suicide bomber and gunmen were behind the attack.
"The attack was initiated by a suicide bomber on a motorcycle who blew himself up at the entrance of the hospital," said the official on condition on anonymity, adding that the attack was now over and the assailants had all been killed.
The blasts add to a growing list of attacks and killings since the Taliban completed their victory over the previous Western-backed government in August, undermining their claim to have restored security to Afghanistan after decades of war.
A health worker at the hospital, who managed to escape, said he heard a large explosion followed by a couple of minutes of gunfire. About ten minutes later, there was a second, larger explosion, he said.
He said it was unclear whether the blasts and the gunfire were inside the sprawling hospital complex.
Islamic State, which has carried out a series of attacks on mosques and other targets since the Taliban's seizure of Kabul, mounted a complex attack on the hospital in 2017, killing more than 30 people.
The group's attacks have caused mounting worries outside Afghanistan about the potential for the country to become a haven for militant groups as it was when an al-Qaeda group attacked the US on 11 September 2001.
The concern has been worsened by a spiralling economic crisis that has threatened millions with poverty as winter approaches.
The abrupt withdrawal of international support following the Taliban victory has brought Afghanistan's fragile economy to the brink of collapse just as a severe drought has threatened millions with hunger.