The announcement came after opposition leader Raila Odinga accused Mr Kibaki of electoral fraud and called for a full re-assessment of the results.
Opposition protesters began riots in the capital Nairobi, just minutes after the announcement.
The count was badly delayed, sparking violence in which at least 10 people are reported to have been killed.
