Operations have been suspended at Kenya's main airport after thousands of mourners turned out to receive the body of former Prime Minister Raila Odinga, a day after he died in India.

Large crowds of mourners carrying twigs and palm branches breached security at Jomo Kenyatta International Airport (JKIA) immediately after the body of the former leader arrived on Thursday morning.

Authorities said mourners gained access to restricted areas, prompting a "precautionary closure" to allow security teams to restore order and ensure safety.

"Members of the public and travellers are advised to remain calm and avoid the airport area until further notice," the aviation agency said.

Because of the unexpectedly huge crowds, the public viewing ceremony for his body has been moved to Nairobi's Moi International Sports Centre, rather than inside Parliament.