World Cup   M. W D L goals
  Neutral Place 3 2 0 1 5 : 2
  3 2 0 1 5 : 2
WC Qualifiers Europe   M. W D L goals
  at home 1 0 1 0 2 : 2
  Away 1 1 0 0 4 : 1
  2 1 1 0 6 : 3
Friendlies   M. W D L goals
  at home 7 6 1 0 16 : 7
  Away 8 6 2 0 19 : 5
  15 12 3 0 35 : 12
EURO   M. W D L goals
  Neutral Place 1 0 1 0 1 : 1
  1 0 1 0 1 : 1
Nations League A   M. W D L goals
  at home 2 1 0 1 2 : 2
  Away 2 1 1 0 2 : 1
  4 2 1 1 4 : 3
overall   M. W D L goals
  at home 10 7 2 1 20 : 11
  Away 11 8 3 0 25 : 7
  Neutral Place 4 2 1 1 6 : 3
  25 17 6 2 51 : 21
World Cup
2010 South Africa Group H Spain - Switzerland 0:1 (0:0)
1994 USA Round of 16 Spain - Switzerland 3:0 (1:0)
1966 England Group 2 Spain - Switzerland 2:1 (0:1)
WC Qualifiers Europe
1956/1957 Group 9 Switzerland - Spain 1:4 (0:2)
1956/1957 Group 9 Spain - Switzerland 2:2 (1:1)
Friendlies
2018 June Spain - Switzerland 1:1 (1:0)
1989 December Spain - Switzerland 2:1 (1:0)
1988 June Switzerland - Spain 1:1 (0:1)
1984 May Switzerland - Spain 0:4 (0:3)
1982 April Spain - Switzerland 2:0 (2:0)
1977 September Switzerland - Spain 1:2 (1:0)
1970 April Switzerland - Spain 0:1 (0:1)
1969 March Spain - Switzerland 1:0 (1:0)
1955 June Switzerland - Spain 0:3 (0:1)
1951 February Spain - Switzerland 6:3 (2:1)
1948 June Switzerland - Spain 3:3 (1:2)
1941 December Spain - Switzerland 3:2 (1:1)
1936 May Switzerland - Spain 0:2 (0:0)
1927 April Spain - Switzerland 1:0 (1:0)
1925 June Switzerland - Spain 0:3 (0:0)
EURO
2020 Quarter-finals Switzerland - Spain 1:3 (0:1, 1:1, 1:1) pso
Nations League A
2022/2023 Group 2 Spain - Switzerland 1:2 (0:1)
2022/2023 Group 2 Switzerland - Spain 0:1 (0:1)
2020/2021 Group 4 Switzerland - Spain 1:1 (1:0)
2020/2021 Group 4 Spain - Switzerland 1:0 (1:0)

For games that were decided on penalties the score after 120 minutes will be included in the ranking