There are many modes of transport in Costa Rica but the country's infrastructure has suffered from a lack of maintenance and new investment. There is an extensive road system of more than 30,000 kilometers, although much of it is in disrepair; this also applies to ports, railways and water delivery systems. According to a 2016 U.S. government report, investment from China that attempted to improve the infrastructure found the "projects stalled by bureaucratic and legal concerns".
Most parts of the country are accessible by road. The main highland cities in the country's Central Valley are connected by paved all-weather roads with the Atlantic and Pacific coasts and by the Pan American Highway with Nicaragua and Panama, the neighboring countries to the north and to the south Costa Rica's ports are struggling to keep pace with growing trade. They have insufficient capacity, and their equipment is in poor condition. The railroad didn't function for several years, until recent government