On 20 October 2018, Ramos played his 400th La Liga match for Real Madrid in a 2–1 loss at home to Levante, becoming only the tenth Real Madrid player to reach this milestone. After a run of poor results and the sacking of Julen Lopetegui, Ramos scored his first goal for Real Madrid in two months through a Panenka, against Real Valladolid in Santiago Solari's first 2018–19 La Liga game in charge of "Los Blancos". Two weeks later, on 11 November, Ramos scored another Panenka against Celta Vigo – making them the 25th different team he scored against in La Liga. This was Ramos' third Panenka from his last four penalties, with the inventor of the penalty, Antonín Panenka, saying Ramos was the best 'imitator' of his penalty technique. With five goals in the first three months of the season, Ramos had his best goal-scoring start to a season at Real Madrid. In the 2018 FIFA Club World Cup, Ramos played in both Real Madrid's semi-final against Kashima Antlers and the final against Al Ain. Ramos scored a header in the final as Real Madrid won 3–1 to claim their third consecutive FIFA Club World Cup. Ramos became the first player to lift three consecutive FIFA Club World Cups while also becoming the first defender to score in two Club World Cup Finals.