He made his debut with the national team in March 2011. Originally Mexico's third-choice goalkeeper for the 2011 CONCACAF Gold Cup, he became the team's starting goalkeeper following issues with the first and second-choice goalkeepers, in which Mexico would ultimately win. He would go on to be called up for the 2013 CONCACAF Gold Cup, 2013 and 2017 FIFA Confederations Cup, the 2014 and 2018 FIFA World Cup, the 2015 Copa América, the Copa América Centenario, and 2016 Summer Olympics.