Kenyatta sworn in as Kenya's president

Uhuru Kenyatta has been sworn in for his second term as Kenya's president. (AAP)

Uhuru Kenyatta has been sworn in for his second term as Kenya's president, after elections boycotted by the opposition.

Large crowds gathered at Nairobi's Kasarani stadium to watch the swearing-in on Tuesday, which was also attended by several African heads of state.

Hours before the inauguration was due to start, 60,000 Kenyatta supporters, many clad in the red and yellow Jubilee party colours and carrying Kenyan flags, filled the stadium for the inauguration.

Kenyan police had to use tear gas to disperse a crowd trying to force their way into the venue, local media reported.

The political crisis in Kenya began after the Supreme Court threw out the results of an August election - won by Kenyatta - over irregularities.

A re-run election was held on October 26, but was boycotted by main opposition leader Raila Odinga who called it a "sham."

Turnout was low and there were running battles between police and protesters. Kenyatta ultimately won in a 98 per cent landslide that his opponents described as illegitimate.

"I'm sure Uhuru will be able to bring people together and unite them so we can all work for the country," said Eunice Jerobon, a trader who travelled overnight from the Rift Valley town of Kapsabet.

Odinga supporters say such talk of unity is tantamount to surrender. They accuse the ruling party of stealing the election, rampant corruption, directing abuse by the security forces and neglecting vast swathes of the country.

"A return to the political backwardness of our past is more than unacceptable. It is intolerable ... This divide cannot be bridged by dialogue and compromise," Odinga's National Super Alliance opposition alliance said in a statement.

Stay up to date with SBS NEWS

  • App
  • Subscribe
  • Follow
  • Listen
  • Watch