18 people have also received injuries in this blast.
Basir Mujahid, spokesman for the Kabul police chief, said the blast occurred in the eastern neighborhood of Qabil Bay, in an area that is home to a police station, the government's customs offices and some guest houses.
IS said the attack was carried out by a bomber with an explosive vest and targeted the gate of the headquarters of the Afghan intelligence service in central Kabul.
The latest round of attacks in Kabul by the Taliban were a direct challenge to Trump, who had asserted on January 16 that the US troops had made "tremendous strides" in fighting the Islamic State (IS) and the Taliban.
President Donald Trump has ruled out for now talks with the organisation that has unleashed a wave of carnage on Afghanistan in recent days.
"Islamic State fighters targeted the military academy in the city of Kabul in a suicide attack," IS said via its propaganda arm Amaq.
Trump issued a strong statement in the aftermath of the deadly terrorist attack claimed by the Taliban, which is second such assault in the Afghan capital in a week.
Taliban has claimed responsibility for the deadly attack, as per Afghan media.
Security forces said Sunday they had killed the last of six Taliban militants to end an overnight siege at Kabul’s Intercontinental Hotel that left at least 18 people dead, including 14 foreigners.
Interior Ministry spokesman Najib Danish said the 18 killed included 14 foreigners and a telecommunications official from the western Farah province who was attending a conference.
Terrorists stormed the upscale Intercontinental Hotel here, triggering heavy fighting with security forces that ended on Sunday leaving 10 persons including all four attackers dead.
MEA spokesperson Ravish Kumar confirmed the news on social media site Twitter and informed that there were no fire or casualties.
Initial reports indicate that an explosion occurred in Banaee area in Kabul’s PD9 at around 8:30pm Kabul time.
More than 40 people were killed in the terror strike at the Shiite cultural centre near a media outlet in the Afghanistan capital.
The explosion took place around 10.30 am in the Qala-e-Nazar area, Nasrat Rahimi, the ministry said, adding that the victims included women and children.
At least 40 people were killed and several others injured in n multiple blasts near a media outlet and mosque in Kabul on Thursday, Afghanistan media reported.