Nasrat Rahimi, deputy spokesman for the Interior Ministry, said six other forces were wounded in Tuesday’s attack.
No one immediately claimed responsibility, but the Taliban and an Islamic State affiliate have both carried out attacks in the capital.
Elsewhere in Afghanistan, the Taliban attacked a checkpoint in the southern Kandahar province late Monday, killing eight police.
Aziz Ahmad Azizi, the spokesman for the provincial governor, said 11 insurgents were killed in the battle.
The Taliban control nearly half of Afghanistan and carry out daily attacks that mainly target security forces.