 Barrera has appeared for the Mexico national football team, making his debut in a friendly against Guatemala on 17 October 2007.He scored his first international goal against Nicaragua on 5 July 2009 at the 2009 CONCACAF Gold Cup.He scored his second goal with "El Tri" in a game against Haiti national football team at the Gold Cup.