Another 45 people wounded in an attack targeting a commercial street in southwestern Baghdad suburb of Hay al-Amel.

A car bomb exploded in the Iraqi capital on Monday, killing at least 23 people and wounding 45 others in a mainly Shia district in southwestern Baghdad.

The attack - as Prime Minister Haidar al-Abadi met US President Donald Trump in Washington DC - targeted a busy commercial district of the Hay al-Amel suburb, according to police and hospital officials.

There was no immediate claim of responsibility for the explosion, which bore all the hallmarks of a suicide attack by Islamic State of Iraq and the Levant (ISIL, also known as ISIS).

The hardline group is under assault in both Iraq - in the country's second city of Mosul, which ISIL seized in June 2014 - and in neighbouring Syria.

ISIL took vast swathes of Iraqi territory north and west of the capital in 2014.

Iraqi government forces backed by the US-led international coalition have since retaken many cities, including Tikrit and Fallujah.

But as ISIL has lost ground in Iraq, it has also retained the ability to stage regular attacks there.

Iraqi troops are now closing in on Mosul's old city, where some of the fiercest fighting is expected to unfold.

The militarised federal police say they are some 500 metres from al-Nuri mosque, where ISIL leader Abu Bakr al-Baghdadi made a rare public appearance in July 2014, announcing a self-styled caliphate in Iraq and Syria.

ISIL fighters on Monday captured an Iraqi police colonel and eight other officers in western Mosul after they ran out of ammunition during fierce early morning clashes.

An Iraqi Interior Ministry official said the officers were caught around 3am local time in the Bab Jadid disctrict in Mosul, where Iraqi forces are battling ISIL after securing the eastern half of the city.