Mohamed Omar Mudey was shot dead in Bulalow village in Afgoi district after minutes of gunfire between his bodyguards and the assailants.
We heard additional gunfire and we came out we saw the commissioner and one of his bodyguards dead on the ground resident Muno Haji Habow said.
It is the latest in a string of attacks on officials, which is plagued by lawlessness after years of conflict.
Its yet unknown the motives/groups behind the killing of Mr.Mudey who was described as peace lover.
The neighbour said Mr Mudey had been covered in blood from bullets riddled his body.
Recent violence in Somalia has come despite a ceasefire pact signed by the government and opposition Islamist groups, some factions rejected the deal.
Thousands of people have fled the country this year as the security situation has deteriorated.
Somalia has experienced almost constant civil conflict since the collapse of Mohamed Siad Barre’s regime in January 1991.