Marco Asensio kept Real Madrid’s faint hope of retaining their La Liga title alive with the winner against Getafe.
Carlo Ancelotti made eight changes as Madrid warmed up for Wednesday’s Champions League semi-final second leg at Manchester City.
The much-changed Madrid side included a rare start for Eden Hazard, just his second in the league this season, while Toni Kroos, Vinicius Junior and Luka Modric were all introduced from the bench.
It took Madrid until the 70th minute to break through, Asensio’s shot from the edge of the area hitting a defender and flying past Getafe keeper David Soria.
Focus now turns to next week’s tie at Etihad Stadium, after the first leg at the Bernabeu ended 1-1.