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 (Isis) took it from me. I stayed in Syria for four days and then came to Mosul with my husband and four children".
- The story of Emilie König: How a French nightclub barmaid became a notorious Isis recruiter
- Wanted dead, not alive: France's approach to French jihadists
She said that her French husband Maximilien, whom she said had been a cook for Isis, was killed as Iraqi forces battled to oust the jihadist group from Mosul, which was recaptured last July.
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 Isis, the first such sentence in a case involving a European woman.
Soon afterwards, lawyers for Bougedir and another French woman awaiting trial in Iraq for allegedly joining Isis wrote to French President Emmanuel Macron warning that they could face the death penalty.
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 France's opposition to the death penalty.
In October, France's Defence Minister Florence Parly told reporters: "We are committed along with our allies to the destruction of Daesh (Islamic State) and we're doing everything to that end," Defence Minister Florence Parly.
"What we want is to go to the end of this combat and of course if jihadists die in the fighting, then I'd say it's for the best," she added.
French citizens are among the biggest contingent of overseas fighters who have joined Isis, with around 1,000 nationals estimated by counter-terror officials to have travelled to Iraq and Syria.
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.
Several hundred foreigners, both men and women, are thought to have been detained in Iraq for alleged links to IS.
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.