Peralta made his senior international debut in 2005, though he did not receive call-ups consistently until 2011, being one of the over-aged reinforcements who won the 2011 Pan American Games with the under-22 squad. He scored two goals in the gold medal match at the 2012 Olympic football tournament against Brazil, which was the first Olympic gold medal for Mexico in football. He also participated in the 2015 CONCACAF Gold Cup, Copa America Centenario, 2017 FIFA Confederations Cup, the 2014, and 2018 FIFA World Cup. He retired from the national team following the 2018 World Cup.