The meeting came hours before US Secretary of State Rex Tillerson is expected to jet into the country
In what was a rare show of unity, the two leaders sought to put aside their differences and agreed to work together to unite Kenyans.
While reading their joint statement, Mr Odinga said the political differences that have divided more than four Kenyan generations “must now come to an end”.
On his part, Mr Kenyatta said they had agreed to put the interests of Kenya and Kenyans first.
The meeting came just hours before US Secretary of State Rex Tillerson is expected to jet into Nairobi on his tour of Africa.
Meanwhile, Kenyans have had divergent views regarding the meeting with a good number of them commending the two for agreeing to work for the sake of the peace in the country.
Some however did not buy into Raila's move arguing that the NASA leader had 'betrayed' them.
Prior to Friday's meeting, the two leaders had defied fervent calls by members of the civil society as well as foreign diplomats to embrace dialogue after last year's disputed presidential elections.