There was no immediate claim of responsibility for the attack near the entrance to the government-run defence university, the Marshal Fahim Military Academy, at the beginning of the morning rush hour.
A suicide bomber targeting a military academy in the Afghan capital on Tuesday killed at least six people, including two civilians and four military personnel, the Interior Ministry said.
No one immediately claimed responsibility for the bombing in Kabul, but both the Taliban and militants from the Islamic State group regularly stage attacks in the city, targeting Afghan forces.
Along with the six killed, 12 other people, including five civilians, were wounded in the attack, said Nasrat Rahimi, the Interior Ministry spokesman.
The attack happened at a police checkpoint near the entrance to the Marshal Fahim Military Academy, located on the outskirt's of a western Kabul neighbourhood, he said.
Local TV channels showed images of Afghan security forces blocking off the main road leading to the blast site from far away.
The academy has been attacked in the past.
Last May, a suicide bomber killed six people there. The school is sometimes called "Sandhurst in the Sand," in reference to the famous British school. It's named for Mohammed Fahim, the country's late vice president and a military commander of the Northern Alliance that fought the Taliban.
It was inaugurated in 2013 and British troops in Afghanistan oversaw the establishment of the academy's officer school and training program.
The academy was also the site where US Army Maj Gen. Harold J. Greene lost his life — the highest-ranking US military officer to be killed in the wars in Afghanistan and Iraq.
Greene, then deputy commander of NATO's transition force in the country, was shot and killed by an Afghan soldier in a so-called "insider attack" that was later claimed by the Taliban in August 2014.
The Taliban today control or hold sway over nearly half of Afghanistan and are at their highest since the 2001 US invasion that ousted the Taliban who harboured the late al Qaida terror network leader Osama bin Laden.