It was a rare deadly attack in the Iraqi capital, which has seen almost no such bombings since the military defeat of Islamic State in Iraq in 2017.
Police sources said the death toll from the attack inside a crowded market in Baghdad's Tayaran square could rise as some wounded people were in a critical condition.
There was no immediate claim of responsibility.