China has signed a deal to build a $US3.8 billion ($A4.11 billion) rail link between Kenya’s Indian Ocean port of Mombasa and Nairobi, the first stage of a line that will eventually link Uganda, Rwanda, Burundi and South Sudan.
Under the terms of the agreement, Exim Bank of China will provide 90 per cent of the cost to replace the crumbling British colonial-era line with a 609.3 kilometre standard-gauge link and Kenya the remaining 10 per cent.
Construction is due to start in October and take three-and-a-half years, with China Communications Construction Co. as main contractor.
Once the Mombasa-Nairobi line is completed, construction will begin to link east Africa's largest economy with Kampala, Kigali, Bujumbura and Juba.
The deal was signed on Sunday at State House in Nairobi and witnessed by presidents Uhuru Kenyatta of Kenya, Yoweri Museveni of Uganda, Paul Kagame of Rwanda and Salva Kiir of South Sudan.
"This project demonstrates that there is equal co-operation and mutual benefit between China and the East African countries, and the railway is a very important part of transport infrastructure development," Chinese Premier Li Keqiang said.
Li has been on a four-country tour of Africa, his first since taking office last year, with the world's second-biggest economy keen to boost its presence on the continent to find new markets and opportunities.
Kenyatta hailed the booming relationship with China, calling it one "based on mutual trust" and saying Kenya "has found an honourable partner in China".
Museveni also took a swipe at Western donors who have been critical of his leadership.
"We are happy to see that China is concentrating on the real issues of development," Museveni said.
"They don't give lectures on how to run local governments and other issues I don't want to mention," he said.