Marco Asensio missed a penalty as Real Madrid were stunned 1-0 at the Estadi Mallorca Son Moix, home of Mallorca in La Liga.
Vedat Muriqi’s header deflected in off Real Madrid defender Nacho to put the hosts ahead in the 13th minute.
The champions were given a penalty just before the hour mark when goalkeeper Predrag Rajkovic brought down Vinicius Junior.
But villain turned saviour as Rajkovic dived to his left to save former Mallorca man Asensio’s spotkick.
The defeat leaves Real Madrid second in La Liga, five points behind Barcelona who host Sevilla later on Sunday.
Mallorca’s win over Los Blancos was their first since 2019 and only their second victory against the Spanish giants in 14 matches.
Los Piratas, who have also beaten Atletico Madrid 1-0 at home this season, are now sitted 10th, nine points clear of the relegation zone.