Rail transport in Puerto Rico currently consists of a 10.7-mile (17.2 km) passenger metro system in the island's metropolitan area of San Juan. Its history can be traced back to the mid-19th century with the construction of a limited passenger line in Mayagüez. Between the late 19th and early 20th centuries, Puerto Rico's rail transport system expanded significantly, becoming one of the largest rail systems in the Caribbean at the time thanks to an economic boom in agriculture industries, especially the sugar cane industry. The rail system was expanded to include passenger travel with a direct line from the island's northern capital of San Juan to the western and southern cities and towns, greatly improving travel and communication within the island. However, the entire system was soon overshadowed by the arrival of the automobile, and by the 1950s was completely abandoned. Small remnants of this system still exist in some parts of Puerto Rico, some conserved for tourism purposes.
Although Puerto Rico did not have a national railroad system until the last decade of the 19th, between the 1870s and 1890s, the city of Mayagüez did have a small passenger rail system for transporting its residents, mainly along the current Mendez Vigo Avenue. It was originally proposed by Jose A. Gonzalez y Echevarría in 1870 under the company El Ferrocarril Urbano de la Villa de Mayagüez (the Urban Train of Mayagüez), with the line being built between 1872 and 1875. The simple street railway system consisted of small wagons on rails pulled by horses, and connected the center part of the town with the Playa sector (now Port sector). It faced numerous difficulties, including inclined routes and poor street conditions, which were troublesome for the animals. The system stopped in 1887 after the company was unable to obtain certain permits, but was revived in 1893 after a proposal by the company Sociedad Anónima Tranvia de Mayagüez (the Mayagüez Tramways Anonymous Society) and renewed operations in 1895.