On 19 August 2012, Barrera made his first official appearance with the main squad, starting in a 2–0 defeat at CD Numancia in the Segunda División.[2] In March 2013, he renewed his contract with Sporting until 2016.[3]
Barrera scored his first competitive goal on 1 September 2013, the second in a 3–0 home win over RCD Mallorca.[4] He contributed 11 matches – four starts – and one goal[5] in the 2014–15 campaign, as the club returned to La Liga after a three-year absence; his maiden appearance in the competition took place on 30 December 2015, when he came on as a late substitute in the 2–0 away loss to SD Eibar.[6]
On 11 July 2016, Barrera signed a two-year contract with Real Zaragoza of the second division.[7] On 31 August of the following year, after being sparingly used, he moved to division three side Extremadura UD,[8] helping achieve a first-ever promotion to the former tier in 2018.[9]
Barrera scored the equaliser in a 1–1 away draw against Real Oviedo on 19 August 2018, netting Extremadura's maiden goal in the second division.[10] The following 31 January, however, he terminated his contract with the club.[11]