At a press conference in Tehran, Rouhani, considered a moderate in Iran's political system which also encompasses factions of hardline conservatives and reformists, praised the electorate for backing his allies at the ballot box in the February 26 polls.
The 67-year-old president has faced opposition in parliament, including on his landmark nuclear deal with world powers, and his officials have also been shouted down when addressing lawmakers.
"I am very pleased that mostly the moderate candidates made it to the parliament," Rouhani said.
The elections were a de-facto referendum on Rouhani's administration as the electorate could have delivered a stinging rebuke only one month after the nuclear deal was finally implemented and sanctions lifted in January.
But instead many of those lawmakers who had hit out at the agreement, which reined in Iran's atomic ambitions in exchange for sanctions relief, lost their seats.
Conservatives won 103 seats and a pro-Rouhani coalition of moderates and reformists, dubbed the "List of Hope", won 95, with other seats going to Independents and minorities and 69 constituencies requiring a second ballot in April.
However even many of those conservatives are considered moderate in outlook, meaning the pragmatic Rouhani is likely to be able to win support for future legislation he proposes, a shift that he noted.
"Many bills were not passed," he said, referring to his government's problems with parliament since he took office in August 2013. "There were many impeachment motions," he added.
"I am very confident that cooperation will rise this time, compared to the last parliament.
