Rivilla made 26 appearances for the Spain national football team, and was in the team for the 1962 FIFA World Cup, the 1964 European Football Championship (where Spain won the title), and the 1966 FIFA World Cup.