World Cup   M. W D L goals
  Neutral Place 1 0 1 0 2 : 2
  1 0 1 0 2 : 2
WC Qualifiers Play-offs   M. W D L goals
  at home 1 1 0 0 3 : 2
  Away 1 1 0 0 1 : 0
  2 2 0 0 4 : 2
overall   M. W D L goals
  at home 1 1 0 0 3 : 2
  Away 1 1 0 0 1 : 0
  Neutral Place 1 0 1 0 2 : 2
  3 2 1 0 6 : 4
World Cup
2018 Russia Group B Spain - Morocco 2:2 (1:1)
WC Qualifiers Play-offs
1961 Play-offs Spain - Morocco 3:2
1961 Play-offs Morocco - Spain 0:1

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