The police convoy was caught in a firefight in the remote province of Badakhshan on Wednesday when they were returning from an anti-insurgent operation.[break]
"The acting interior minister is deeply saddened about the killing of 18 policemen and wounding of 13 others in a terrorist attack in Warduj district of Badakhshan," a statement from the interior ministry said.
"A group of Afghan police forces on their return from a clean-up operation on the outskirts of Warduj district faced an enemy ambush and it resulted in the killing of brave Afghan policemen."
The mountainous northeast of Afghanistan is far from the Taliban heartlands of the south and is relatively peaceful.
But Taliban militants killed 17 captured Afghan soldiers in the same district in March. The men were taken hostage while guarding a convoy.
Afghan journalist shot dead in car ambush