The 2,561-kilometere line will link the Indian Ocean port of Dar es Salaam to Mwanza on Lake Victoria, with eventual spurs to Burundi, Democratic Republic of Congo (DRC), Rwanda and Uganda.
President Samia Suluhu Hassan, who witnessed the signing, said "Upon completion of the Standard Gauge Railway (SGR)" from Tabora to Kigoma in western Tanzania, [Our nation] "will be in a better position to utilize its strategic geographical positioning to facilitate cross-border trade."
She said the new railway would reduce cargo transportation costs between the Dar es Salaam port and the DRC from a minimum of $6,000 per ton to about $4,000 once it becomes fully operational.
Meanwhile transportation time would fall from 30 days by truck to 30 hours in 2027.
Hassan said Tanzania's investment in the SGR had now reached $10.04 billion, including the latest contract.
"We have to borrow for this important infrastructure and other sustainable development projects because we don't have enough local resources," she said, dismissing criticism that the country was taking on too much debt.
China is the biggest investor in Africa, pumping billions of dollars into railroads, ports and airports in exchange for securing oil and commodity supplies such as copper and cobalt.
These infrastructure projects are built through vast loans issued by China, but Beijing has been criticised for lending too much to poor countries, without sufficiently scrutinising their ability to repay.
Tanzania's railway system has two existing networks, one linking the East African nation to Zambia and the other connecting it to Kenya and Uganda.