At international level, he earned 49 caps for the Mexico national team between 1991 and 1995. Ramírez Perales made his international debut against the United States on 12 March 1991. Under César Luis Menotti and then Miguel Mejía Baron, he became a starter for the national team throughout World Cup qualifying and the 1993 Copa América, in which he played every minute of Mexico's six matches on the way to the final. Likewise, Ramírez Perales started all four games at the 1994 FIFA World Cup, lining up next to Claudio Suárez in the heart of the Mexico defense. He was recalled for the 1995 Copa América, but only appeared in the opening game. Ramírez Perales earned his final cap on 6 July 1995 in a 2–1 loss against Paraguay, and was replaced by Manuel Vidrio in central defense for Mexico's remaining matches in the competition.