Police sources told the Nation that the gunmen ambushed the officers at Alijize area on Bodhai-Ijara road.
A vehicle the officers were travelling in was set ablaze by the attackers.
One other officer survived the ambush and is said to be safe.
The seven policemen were conducting patrol at Alijize when the gunmen struck.
Other teams of security personnel were deployed in the area to pursue the attackers.