The officials said that 82 people were also injured in the explosions.
Officials from the hospitals where the dead and injured were taken confirmed the casualty figures.
There was no immediate claim of responsibility, but Sunni extremists such as al-Qaida in Iraq generally tend to target Shiite mosques and neighborhoods.