Both attacks were carried out by bombers on foot, wearing explosives-laden vests, two police officers said. One bomber struck in Baghdad's Bab al-Sharji area, killing nine civilians and three police officers there. Forty-five people were wounded in that explosion.
The second bomber hit in al-Wathba Square, killing nine people, including four policemen, and wounding 31. Two medical officials confirmed the casualty figures. All officials spoke on condition of anonymity because they are not authorised to talk to reporters.
No group immediately claimed responsibility for the attacks, which bore the hallmarks of the Islamic State group, a splinter of Iraq's al-Qaida branch. Following its blitz last year, the Islamic State now holds about a third of Iraq and neighbouring Syria in its self-declared "caliphate."
Since the emergence of IS extremists, Baghdad has seen near-daily attacks, with roadside bombs, suicide blasts and assassinations targeting Iraqi forces and government officials, with significant casualties among the civilian population.