Worth around $5 billion, the deals were signed during Kenyatta's first visit to China since his election in March.
"We welcome the investment in key sectors of our economy. The rail link, particularly, is important in the context of East Africa's shared goal of ensuring quicker movement of peoples, goods and services," Mr Kenyatta said in a statement.
It will link the Kenyan border town of Malaba with the port of Mombasa, one of the busiest in Africa.
"These agreements deepen our practical cooperation," China's President Xi Jinping said.
"China supports Kenya's quest for industrialisation."
Mr Xi said China was exploring other areas of investment, including in agribusiness, irrigation, fertiliser production and purchases, and technology.
China is playing a critical role in the realisation of Kenya's Vision 2030.
Image: © Getty
Copyright is owned by Asia Outlook and/or Outlook Publishing. All rights reserved.