Juanito represented Spain at the 1978 and 1982 World Cups, and at UEFA Euro 1980. During the 1982 competition, on home soil, he netted a penalty against Yugoslavia in another win (2–1); in 1976, he played Olympic football.