Daniel Ballard sparked early scenes of jubilation in the away end at the San Moix Stadium in Palma before the hosts came roaring back, netting four times before the break.
Substitute Mikel Oyarzabal added a fifth for Spain, who go to Euro 2024 in Germany amongst the favourites for glory, in the 60th minute.
Here are all the best photos of fans enjoying some summer sun in the first of two friendlies in Spain – Northern Ireland will be back in action on Tuesday when they face Andorra at the Estadio de La Condomina in Murcia.
Here are all the best photos of fans enjoying some summer sun in the first of two friendlies in Spain – Northern Ireland will be back in action on Tuesday when they face Andorra at the Estadio de La Condomina in Murcia.