Logistical delays and a failure of the identification kit in some parts of the country marred a largely peaceful election day in Kenya.
This vote follows an intense campaign dominated by debates about living costs, unemployment and corruption.
The frontrunners for president are ex-Prime Minister Raila Odinga and current Deputy President William Ruto.
Kenyans were also electing a new parliament and local administrations.
The electoral commission is yet to announce the total turnout, but by 16:00 (13:00 GMT) an hour before pols closed just over 56% of the 22 million registered voters had cast their vote.
A top election official in Kenya’s central region of Nyeri told journalists that turnout has been low in that part of the country compared to 2017.
The counting of votes, which takes place at the polling stations, was expected to start soon after they closed with the collation of the presidential votes a priority.
Earlier, Mr Odinga was mobbed by supporters when he went to vote in Kibra one of his strongholds in the capital, Nairobi.
When Mr Ruto voted in the town of Eldoret in the Rift Valley he pledged to accept the election result.
He said the first time in the history of multi-party democracy in Kenya, all the candidates have undertaken that they will accept the outcome of the results.
A dispute over election results in 2007 led to weeks of violence leading to the deaths of an estimated 1,200 people and forced about 600,000 people to flee from their homes.
Voters were identified by the thumb or finger prints.