Portugal went top of Group A2 with a comfortable 4-0 win in the Czech Republic as Diogo Dalot struck twice with Bruno Fernandes and Diogo Jota also on target.
Spain have little time to iron out their flaws ahead of the World Cup in two months' time and a familiar combination of poor finishing and soft defending from set-pieces cost them against the Swiss in Zaragoza. "Our first half was as imprecise as any since I've been in charge," said Spain boss Luis Enrique after a first defeat in nine games. "I can't remember a match with so many technical errors, especially on the two corners where we conceded goals." Manchester City defender Manuel Akanji headed the visitors into a 21st-minute lead.
The hosts responded when Jordi Alba latched onto Marco Asensio's pass to fire high into the net 10 minutes into the second half.
But moments later another Switzerland corner was not properly cleared, allowing Breel Embolo to bundle in from close range. Portugal moved two points clear of Spain at the top of the group as they enjoyed a far smoother night in Prague.