The attack on a Sahwa militia checkpoint in the Abu Ghraib area also wounded at least three more fighters, the officials said.
The Sahwa are made up of Sunni Arab tribesmen who joined forces with the United States from late 2006, helping to bring about a significant reduction in violence.
They are frequently targeted by Sunni Muslim militants, who consider them traitors.
In Baghdad itself, a roadside bomb exploded in the Jihad area, killing at least two people and wounding six, officials said.
More From This Section
More than 6,750 have been killed in violence since the beginning of 2013, according to AFP figures based on security and medical sources.
Experts say widespread discontent among Iraqi Sunni Arabs, who complain of being marginalised and targeted by the Shiite-led government, is a major factor in the heightened violence.
Yesterday, security forces raided the home of Sunni MP Ahmed al-Alwani, who backs anti-government protesters, arresting him and sparking clashes that killed his brother and five guards.