Loyola was born in Lima, and started his career as a forward with Sporting Cristal, joining their youth setup in 2004 at the age of ten. He left the club in 2013, after being converted to a left winger.[2]
Loyola joined FBC Melgar in January 2014, initially appearing with the reserves. He made his first team debut on 22 February, starting in a 2–0 away win against Sport Huancayo for the year's Copa Inca.[3]
After another match in the same tournament, Loyola would subsequently spend the rest of the year with the B-side, only returning to the main squad in a 1–1 Torneo Descentralizado home draw against Real Garcilaso, which ensured Melgar's Clausura title.[4]
Loyola was definitely promoted to the main squad ahead of the 2016 season by manager Juan Reynoso, and became an undisputed starter for the side. He scored his first goal for the club on 18 May 2016, netting the equalizer in a 2–1 away loss against former side Sporting Cristal.[5]
On 27 December 2018 Goiás announced the signing of Loyola.[6]