Melina Bougedir, 27, was arrested last summer in former Islamic State group stronghold Mosul with her four children, three of whom have been repatriated to France.
Wearing a black dress and purple headscarf, she entered the courtroom holding her other child, a boy with blond hair.
Speaking in Arabic, she said that she had been a housewife in Mosul.
"I entered Syria with my French passport but Daesh (IS) took it from me. I stayed in Syria for four days and then came to Mosul with my husband and four children".
Also Read
Asked her if she regretted what she did, she replied: "Yes".
Iraq in December declared victory against IS after a years-long battle to retake large swathes of territory the extremists had seized in 2014.
An Iraqi court last month condemned a German woman to death by hanging after finding her guilty of belonging to IS, the first such sentence in a case involving a European woman.
Several dozen French citizens suspected of links to the jihadist group are believed to be in detention camps or prisons in Syria and Iraq.
French Foreign Minister Jean-Yves Le Drian said in Baghdad last week that suspected jihadists should be tried in the countries where they committed their "crimes", while reiterating Frances opposition to the death penalty.
Britain has also taken a firm stance against repatriation, as has Belgium which denied a request by one of its nationals to be sent home from Iraq in exchange for cooperating with the authorities.
In December, a Swedish man of Iraqi origin was among 38 people executed after being convicted of "terrorism".
And on Sunday an Iraqi court sentenced a Turkish woman to death and 11 other foreign widows to life in jail for belonging to IS, despite their pleas that they had been duped or forced by their husbands to join them in Iraq.
A total of 509 foreign women, including 300 Turks, are being held in Iraq with 813 children, according to a security source.
Disclaimer: No Business Standard Journalist was involved in creation of this content