The first railway in El Salvador opened in 1882 between Acajutla and Sonsonate, a distance of 15km. It was built to 3ft (914mm) gauge, which was used for subsequent railway expansion in the country.
By the early 21st century, the network of then over 500km was very run down and in need of major rehabilitation. Services ceased in 2002. In 2008, a passenger service was reintroduced, between San Salvador and Apopa (15km), essentially a commuter service offering just one morning and one evening out and back service 5 days a week. This service ceased in 2013, leaving the country with no train services.
There was a cross border rail connection with Guatemala at Angulatú; this closed in the 1960s with the railway on the Guatemalan side of the border.
Flag image from CIA World Factbook