Real Madrid falls 1-0 at Mallorca for 1st Liga loss
The slip cost Madrid the league lead, as Barcelona moved one point ahead after winning 3-0 at Eibar.
Madrid had gone undefeated through the first eight games. Its only other loss in any competition this season came in the Champions League when it fell 3-0 at Paris Saint-Germain in September.
Lago Junior scored the goal that proved to be the winner for the hosts in the seventh minute. The speedy forward from the Ivory Coast received a ball on the left flank, cut back around Álvaro Odriozola, and curled a shot past Thibaut Courtois.
Odriozola then left Madrid a man down in the 74th when he got his second booking for a low tackle that cut down Lago Junior.
Zinedine Zidane's side struggled to generate anything in attack. Besides sending in crosses easily cleared by Mallorca's defense, Karim Benzema's shot into the arms of the goalkeeper shortly after halftime was its best chance.
Mallorca earned promotion from the second division last season. It moved into 14th place.
"We worked all week and believed that we could win because they were missing important players," Lago Junior said.