One Direction stars stop by Machu Picchu

Harry Styles in front of the ruins at Machu Picchu. Credit: Associated Press

One Direction stars Harry Styles and Liam Payne took a break from their world tour to visit the ancient Inca ruins of Machu Picchu in Peru.

The pair stopped by the 15th-century site after playing a concert in Lima, Peru's capital.

The band are set for more gigs in Chile, Argentina, Uruguay and Brazil before continuing the tour in Europe.

Liam made the most of his time at the popular tourist destination, posing for photos with fans and taking a selfie.

Liam poses for a selfie at the Inca ruins. Credit: Associated Press

He also tweeted a picture of another selfie he took with Mark Jarvis, a mixed martial arts trainer who is working with the group on their fitness regime.