Jose Mourinho’s men had to come from behind to take three points and keep pace in the LaLiga title race.
It was the visitors who took a shock lead in the first half through Pablo Duran.
Kylian Mbappe then missed a chance to convert from 12 yards.
But Jude Bellingham and Carlos Espi struck late in the second half to hand Madrid victory.
The result takes Los Blancos up to 33 points, only behind Barcelona on goal difference.

