Carlo Ancelotti suggested "small details" cost Real Madrid in a 2-2 draw with Elche that required a spirited late recovery.

The LaLiga leaders missed the chance to move six points clear at the top of the table as they were held by their 15th-placed opponents, who took a surprise 2-0 lead at the Santiago Bernabeu.

After Luka Modric's penalty gave them hope – his first spot-kick for Madrid after Karim Benzema, who earlier missed from 12 yards for the first time in LaLiga, went off injured – it took a stoppage-time header from Eder Militao to spare Madrid's blushes and extend their year-long unbeaten home run in the Spanish top flight.

While Madrid were waiting to discover the extent of Benzema's injury, Ancelotti said he was disappointed with the manner in which Elche scored – netting twice away at Madrid for the first time since January 1989.

But the coach was at least encouraged by his team's response, remaining unbeaten against Elche since 1978, having now scored at least two in 10 of the 12 games in that span.

"They scored a goal with a centre. For the second goal, we could have been more compact," Ancelotti said. "They are small details that have cost us two points

"We are not happy, but there are many things we have to consider. 

"We conceded two goals and we reacted well. Usually these games are lost, but it speaks very well of the squad."

There are 11 days until Madrid return to action when they face Athletic Bilbao in the Copa del Rey quarter-finals, 12 days before taking on Paris Saint-Germain in the Champions League round of 16.

"We have a small break, and we arrive well-positioned in all three competitions," Ancelotti added. "That's what we wanted to do. 

"We are there, now comes the most important period of the season."