Born in
Angol, Herrera joined
Universidad de Chile youth squad and was promoted to the first/adult team in 1999. Three years later, he became the first-choice keeper after being back-up for
Sergio Vargas, who left
The Lions after 10 years playing there. In 2004, Herrera won his first professional title after defeating
Cobreloa as visitors in the
Torneo Apertura final, where he scored the winning goal during the shootout, giving the club their twelfth League title. During those years, Herrera collated his football career with his studies, area where he was dedicated to the Pedagogy in Physical Education, a career he studied at the
University of the Americas (UDLA). In 2006, Herrera moved to Brazilian club
Corinthians. Following an unsuccessful spell at Brazil — where only played nine official games — he returned to Chile and signed for
Everton from
Vina del Mar in 2007. There, he helped the team to win the
2008 Torneo Apertura. However, in June 2008, Herrera left Everton to sign for
Audax Italiano. In 2011, Herrera returned to Universidad de Chile. That year he had a brilliant season, being a major figure in the club's first treble in its history after winning both league tournaments (
Apertura and
Clausura) and the
Copa Sudamericana, under the guidance of coach
Jorge Sampaoli. Noteworthy, Herrera was even chosen as the goalkeeper of the season by
Conmebol. In 2012, he helped Universidad de Chile to win the Torneo Apertura, which meant the club's first ever league tri-championship, as well as the last reached during the Sampaoli era. On 20 May 2013, he featured in Universidad de Chile's 2–1 victory over
Universidad Católica in the
2012–13 Copa Chile Final, the club's fourth cup in the contest. On 18 March 2014, Herrera scored his first official goal in a 1–0
Copa Libertadores group stage win over Peru's
Real Garcilaso, through a penalty kick. The same year he helped the club win the
Torneo Apertura. His first League goal came on 22 November during a University Derby against Católica in a 2–2 draw. On 2 December, Herrera won his twelfth professional title after defeating in the
Copa Chile Final to rivals
Colo-Colo in the shootout, where he saved a penalty and scored the winning goal. On 13 February 2016, he scored his third official goal in a 2–1 defeat to
Palestino, scoring from a penalty. ==International career==