Iraq is conducting trials of hundreds of foreign women detained with hundreds of their children for supporting or joining the group as its strongholds crumble, the Guardian reported.
The central criminal court issued the sentences "after it was proven they belong to the Daesh (IS) terrorist group and they confessed to marrying Daesh elements or providing members of the group with logistical aid or helping them carry out terrorist attacks", said Judge Abdul-Sattar al-Birqdar.
All the verdicts were subject to appeal, he said.
Thousands of foreigners have fought on behalf of the IS in Iraq and Syria since 2014. Many foreign women came or were brought from overseas to join the militants.
Their numbers have since swelled to about 1,700 as more foreign nationals surrendered or were captured during operations to root out the militants, according to aid officials.
Iraq in December declared victory over the IS, which had seized control of nearly a third of the country in 2014.