The provincial governor, Bismullah Afghanmal, says the attack happened yesterday night in Shahjoy district, when the Taliban stormed a security checkpoint, killing the five policemen and also wounding two others.
The governor says five other policemen escaped the attack unharmed. He says reinforcement arrived later and retook the checkpoint. The Taliban managed to seize all the weapons before they were pushed back.
In other violence, a roadside bombing in southern Ghazni province killed police chief Mira Jan in the district of Jaghatu. Another officer was wounded.
No one immediately claimed responsibility for the attacks.