The murder of Hamza al-Shammari, the first of an election candidate, comes amid a protracted surge in bloodshed with near-daily attacks nationwide and security forces battling anti-government fighters in Anbar province.
Election candidates have been targeted in the past, with nearly 20 hopefuls killed ahead of April 2013 provincial council elections.
Shammari, a senior leader of the Shammar tribe in Baghdad, was killed by gunmen using silenced pistols in the west Baghdad neighbourhood of Ghazaliyah, two security officials said.
North of Baghdad, separate bombings killed eight people, security and medical officials said.
More From This Section
In Tuz Khurmatu, a car bomb set off by a suicide attacker at a main intersection in the centre of the ethnically mixed town killed five people and wounded 27 others.
Another vehicle rigged with explosives was detonated near a passing army patrol in Baiji, killing three soldiers.
Violence in Iraq is at its highest level since 2008, with government data showing more than 1,000 people killed last month.
No one has admitted responsibility for the surge in attacks, but Sunni militant groups, including the Islamic State of Iraq and the Levant (ISIL), a powerful jihadist group, have been blamed.
ISIL has also been fighting security forces in Anbar, a mostly Sunni desert region bordering Syria where militants have held parts of Ramadi and all of Fallujah for weeks.
Security forces and tribal auxiliaries have made slow progress in reclaiming neighbourhoods of Ramadi, but have largely stayed out of Fallujah for fear that major incursions could spark high civilian casualties and heavy damage to property.
The Anbar stand-off has prompted more than 140,000 people to flee their homes, the UN refugee agency said, calling it the worst displacement in Iraq since the peak of sectarian fighting between 2006 and 2008.