 Pepín played twice for Spain, his debut coming on 3 October 1963 in a 1964 European Nations' Cup match against Northern Ireland at Windsor Park, his displays in the 1–0 win (2–1 on aggregate) earning him the nickname "The hero of Belfast".The national team eventually qualified for the finals which were held on home soil, going on to win the tournament.On 1 December 1963, Pepín earned his second and last cap, appearing in a friendly with Belgium in his hometown of Valencia.