Shootings and bombings in Baghdad and north of the capital killed 11 people on Wednesday, including six government employees in a minibus on their way home, in the run-up to the Muslim Eid holiday.
The other attacks mostly targeted government officials and security forces, amid a relative spike in violence in Iraq after several weeks of calm earlier this month.
In Wednesday's deadliest attack, six employees of a government-run vehicle spare parts factory were shot dead by by gunmen using light weapons as the workers were returning to their homes, a police captain and an interior ministry official said.
The attack occurred at around 4:00 pm (1300 GMT) in the town of Mishahada, which lies 30 kilometres (18 miles) north of Baghdad, the officials said, speaking on condition of anonymity.
In west Baghdad, meanwhile, gunmen opened fire on an army checkpoint in the upscale residential neighbourhood of Mansur, and then detonated a bomb when police arrived at the scene, an interior ministry official said.
At least one soldier was killed in the first attack, and three police were wounded in the subsequent bombing, the official and a medic said.
Three separate attacks in north Iraq, meanwhile, left two dead -- a policeman and a young child.
In the disputed oil-rich city of Kirkuk, a roadside bomb apparently targeting the convoy of a provincial councillor killed a child and wounded two other people, a security official and a doctor at the local hospital said.
Four policemen were wounded by a bomb attached to a motorcycle in Kirkuk city, according to security and medical officials.
And in the village of Ko Sulaiman, a roadside bomb against a police patrol killed a policeman, the officials said.
Two civilians were also killed when gunmen opened fire on them while they were driving in the town of Kazaniyah, in restive Diyala province north of Baghdad, local security and medical officials said.
The latest violence comes ahead of Friday's Eid al-Adha holiday. The days leading up to the annual holiday are often marked by a spike in unrest.
At least 32 people have been killed since Sunday, almost as many as in the first two weeks of September combined, according to an AFP tally.
Violence is down sharply across Iraq from their peak in 2006 and 2007, but attacks are still common, especially in Baghdad and Mosul. At least 250 people have been killed as a result of unrest in each of the past four months.