Afghanistan's capital was hit by two blasts near a military hospital on Tuesday, Taliban officials said, with a witness also reporting gunfire.

"I am inside the hospital. I heard a big explosion coming from the first checkpoint. We were told to go to safe rooms. I also hear guns firing," a doctor at the Sardar Mohammad Daud Khan hospital in Kabul told AFP. 

AFP journalists heard a second blast minutes later. 

A Taliban media spokesman confirmed both explosions.

"One explosion has happened at the gate of the military hospital and second somewhere near the hospital, this is our initial information, we will provide more details later," he told AFP.

Qari Saeed Khosty, a spokesman for the Interior Ministry, said Taliban special forces have reached the area. 

"The blast has caused casualties, details will be shared later," he said.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.