Pérez earned 55 caps for the Mexico national team between 1997 and 2010, winning three CONCACAF Gold Cup titles and the 1999 FIFA Confederations Cup. He also featured in the 1998, 2002 and 2010 editions of the FIFA World Cup, in the two latter as first choice goalkeeper.