A train driver has died and at least 40 people have been injured in a head-on rail collision near Peru's most popular tourist attraction, Machu Picchu.

Two trains collided on the single track leading to the ancient Inca town on Tuesday, according to a statement from the local government.

It said that 20 ambulances had attended the scene and that injured people had been transferred to medical facilities in the nearby city of Cusco.

The US embassy in Peru said that US citizens were injured in the crash, but police have yet to confirm the identities of anyone involved in the incident.

Local media outlet Peru21 reports that "hundreds" of tourists remain at the scene awaiting evacuation, which has been "hampered" by difficult terrain around the crash site.