Making his debut at the Estadio Santiago Bernabeu, Thibaut Courtois was unable to save the first attempt on his goal, even though it was a penalty.
Courtois was given the nod by Julen Lopetegui for the first time, after Keylor Navas played in the opening three official games of the season.
From the off, Real Madrid dominated and took the lead with Gareth Bale’s goal in the 17th minute.
Then the referee awarded a penalty to Leganes for a clash between Casemiro and Javi Eraso.
Guido Carrillo stepped up and sent the Belgian goalkeeper the wrong way as he conceded his first goal between the Real Madrid sticks, 25 minutes in.
Despite that, Courtois recovered from the setback and three minutes later made his first stop following a Santos shot, which was then accompanied by applause from the Real Madrid faithful.