Iraq is conducting trials of thousandsof suspected Isis fighters, including hundreds of foreigners, with manyarrested as the group's strongholds crumbled.
President Emmanuel Macron's government has said France respects Iraqi sovereignty, but opposes the death penalty.
Sunday's sentences bring thenumber of French citizens facing the death penalty in Iraq to nine, theprosecutor said, adding that another three are due to stand trial on Monday.
"There was sufficient evidence to hand down a death sentence. They both were fighters of the terrorist Isis organization," the prosecutor said of the convictions, which can be appealed.
French Foreign Minister Jean-Yves Le Drian said on Tuesday that France was intensifying diplomatic efforts to prevent four of its citizens being executed in Iraq after they were sentenced to death for belonging to Isis.
All the nine French men convicted so far were extradited to Iraq in February and military sources at the time said that 14 French citizens were among 280 Iraqi and foreign detainees handed over by the U.S-backed Syrian Democratic Forces (SDF).