Real Madrid
On 27 August 2012, Real Madrid announced they had agreed on a deal with Tottenham for an approximate £30 million transfer fee. Modrić signed a five-year contract with the Spanish club. Two days later, he made his Real Madrid debut against Barcelona in the second leg final of the 2012 Supercopa de España at the Santiago Bernabéu Stadium, replacing Mesut Özil in the 83rd minute. Madrid won the match, giving Modrić his first trophy with the club 36 hours after his signing was announced. Despite his positive debut, Modrić at first struggled to settle into the team under manager José Mourinho because of his lack of pre-season training, which he missed as a result of his ongoing transfer negotiations. The presence of veteran midfielders Xabi Alonso and Sami Khedira in defensive midfield, and Özil in offensive midfield, usually kept Modrić out of the starting line-up, limiting him to substitute appearances. He mostly played out-of-position for his first few months at the club. He played his first UEFA Champions League match for Real Madrid in the group stage against Manchester City on 18 September, which Madrid won 3–2. On 3 November, Modrić scored his first goal for Real Madrid in the last minute of their 4–0 victory over Real Zaragoza in La Liga. His most notable match that year was on 4 December, when he assisted for the first two goals of Cristiano Ronaldo and José Callejón with cross-field passes in a 4–1 victory over Ajax in the group stage of the Champions League. At the end of the year he was voted as the worst signing of the season by Spanish newspaper Marca.
Modrić started in Real Madrid's home match against rivals Barcelona on 2 March 2013. From a corner kick, he assisted Sergio Ramos to score the winning goal in the 82nd minute, giving Real a victory in El Clásico. On 5 March, Modrić came on as a second-half substitute during the decisive Champions League knockout leg against ten-man Manchester United at Old Trafford. With Madrid behind by a goal, Modrić equalised with a long-range shot from 23 m (25 yd) out and played a key role in the rest of the match, which Real Madrid won 2–1, advancing them to the quarter-finals 3–2 on aggregate. This match is often seen as the turning point in Modrić's career in Real Madrid. On 16 March, he replicated this performance against Mallorca, giving Real Madrid the lead with a long-range volley from 27 m (30 yd); Real Madrid won the match 5–2. Modrić played as a starter in both Champions League semi-final matches against Borussia Dortmund. In the first leg on 24 April, he played in the attacking midfield position where he did not influence the match and the team lost 4–1. On 30 April, in the second leg 2–0 victory, Modrić played as the deep-lying playmaker, making passes to the attackers and creating several chances; he was among the best-rated players that night. From March 2013, Modrić's form and influence in the midfield continued to improve, distinguishing himself as a player with most passes completed in his team. On 8 May, he assisted from the corner for the first goal and scored the fourth goal in a 6–2 victory over Málaga.
With the arrival of new manager Carlo Ancelotti, Modrić became one of the most frequent starters in the team, being partnered in midfield with Xabi Alonso to provide a balance of defence and attack. He was consistently the team's most efficient passer, averaging 90% accuracy in La Liga, and also having the most ball recoveries among the squad. He scored his first goal of the 2013–14 season in the last Champions League group match against Copenhagen, making it his fifth goal for the club, all five of which were scored from the outside the penalty area. Modrić scored his first goal of the Liga season in a 3–0 away win against Getafe, his sixth goal outside the penalty area. Modrić was on the pitch when Real Madrid won the 2013–14 Copa del Rey after defeating Barcelona 2–1 in the final.
In the first leg of the Champions League quarter-finals, Modrić intercepted the ball and assisted Cristiano Ronaldo for the third goal in Real Madrid's 3–0 home victory against Borussia Dortmund. The goal was ultimately decisive because Real went on to lose 2–0 in the second leg, but progressed with a marginal aggregate score of 3–2. In his 100th appearance for the club, Modrić assisted for the first goal in the second leg 4–0 victory over Bayern Munich in the Champions League semi-final, helping Real Madrid reach the final for the first time in 12 years. He was included in UEFA's Team of the Week for both legs of the semi-final. On 24 May in the final, Modrić again assisted from a corner for teammate Sergio Ramos, who scored a 93rd-minute equaliser against local rivals Atlético Madrid. Real won 4–1 in extra time, marking the club's tenth Champions League title, locally known as La Décima (lit. 'the Tenth'). He was included in the UEFA Champions League Team of the Season and received the LFP award for the "Best Midfielder" of the Spanish first division for that season.
In August 2014, Modrić signed a new contract to stay at Real Madrid until 2018. With the departure of Alonso he was partnered with newly arrived Toni Kroos. Real Madrid began the 2014–15 season by winning the UEFA Super Cup over Sevilla Modrić assisted twice for Bale, first against Real Sociedad in La Liga, and second against Basel in the Champions League. In the 2–0 away win against Villarreal, Modrić scored his seventh goal from outside of the box.
In late November, Modrić sustained a thigh injury during an international match against Italy, because of which he did not play for three months. He returned in early March 2015, starting in seven matches and proving his form. On 21 April, in the 3–1 home win against Málaga, he strained ligaments in his right knee, because of which he did not play until May. With his injury, Real Madrid's 22-match winning run in the season came to an end. His absence and the lack of a quality substitute were seen as the main cause of Real Madrid's failure to win matches in La Liga and the Champions League. Ancelotti said, "Modrić has missed most of the year and this has hurt us." Modrić's influence was recognised and he was selected by professional players in the FIFA FIFPro World XI.
For the 2015–16 season, Carlo Ancelotti was replaced by Rafael Benítez under whom Modrić continued to be a key midfield player. He sustained a muscular groin injury during an international match against Bulgaria in October, initially suggesting an absence of two-to-three weeks. However, by 20 October, he had recovered in time for the match against Paris Saint-Germain.
With the arrival of new manager Zinedine Zidane in January 2016, the relationship between them was noted in the media, with Modrić described as "master of the game", and the crucial "connector" of the defence and attack. It was seen in the first three matches, wins against Deportivo La Coruña and Sporting Gijón and a draw against Real Betis, in which Modrić was praised for creating chances, his positioning and overall performance and influence. On 7 February, Modrić scored a winning goal from outside the box in a 1–2 away win against Granada. Modrić was a regular in the starting line-up when the team won the 2015–16 Champions League in the final against Atlético. He was included in both Champions League, and La Liga's team of the season. For the second time, he also received the LFP award for the "Best Midfielder" of the Spanish first league. He was for the second time included in the FIFA FIFPro World XI.
On 18 October 2016, Modrić signed a new contract with Real Madrid, keeping him at the club until 2020. Due to injury of a left knee sustained in mid-September, he missed eight matches, returning early November. On 18 December, he won the 2016 FIFA Club World Cup with Real Madrid, receiving the Silver Ball for his performances during the tournament. In January 2017, for the first time was included in the UEFA Team of the Year (2016). On 12 March 2017, in a 2–1 win over Real Betis, Modrić played his 200th match for Real Madrid.
Modrić was a regular starter when Real Madrid won the 2016–17 La Liga, as well as the 2016–17 UEFA Champions League, where he provided the assist for Cristiano Ronaldo's second goal in the final against Juventus. Modrić was included in Champions League team of the season and became the first Croatian to win the Champions League three times. He also received the UEFA Club Football award for Best Midfielder of the Champions League season. In the competition for the UEFA Men's Player of the Year Award, he came fourth, while for 2017 Ballon d'Or, fifth. For the third time, he was also included in the FIFA FIFPro World XI.
With the departure of James Rodríguez to Bayern Munich, Modrić inherited the team's coveted number 10 jersey for the new 2017–18 season, replacing his previous number 19 jersey. In December, he won the 2017 FIFA Club World Cup with Real Madrid and received the Golden Ball award as the best player of the competition for his performance. His first goal of the season came in a 7–1 win over Deportivo de La Coruña on 21 January 2018. In the same month was for the second time included in the UEFA Team of the Year (2017). Modrić was a regular starter when Real Madrid won the 2017–18 UEFA Champions League, starting in the final victory against Liverpool which saw Madrid win their third consecutive title. For his performances throughout the campaign, Modrić was included in Champions League team of the season for the third consecutive time. He later received the UEFA Club Football Award for Best Midfielder of the Champions League season for the second consecutive time.
Due to his club, and national team performance at the 2018 FIFA World Cup, where he also received the Golden Ball, in August and September Modrić won the UEFA Men's Player of the Year Award and The Best FIFA Men's Player Award, while in December, he added the Ballon d'Or to his personal tally, marking the first time since 2007 that the award was not won by Lionel Messi or Cristiano Ronaldo. Furthermore, besides becoming the first Croatian player to win these awards, Modrić was the first player to win both the World Cup Golden Ball and the UEFA Men's Player of the Year Award in the same year since Ronaldo in 1998, and the World Cup Golden Ball and the Best FIFA Men's Player of the Year Award after Romário in 1994. Additionally, he is the first player to win the awards from the former Yugoslavia territory, the first footballer from Eastern Europe to win a Ballon d'Or after Andriy Shevchenko in 2004, and the tenth player from Real Madrid to capture the trophy. Furthermore, winning the trophy triggered a clause in his contract, ensuring his stay at the club until 2021. He was also included in the FIFA FIFPro World XI for the fourth time, and won the IFFHS World's Best Playmaker award.
After receiving the FIFA Men's Player of the Year Award, Modrić stated it "shows that we all can become the best with hard work, dedication, and belief, all dreams can come true". Modrić dedicated the Ballon d'Or to "all the players who probably deserved to win it and didn't" in the past decade, including Xavi, Andrés Iniesta, and Wesley Sneijder among others.
The arrival of new manager Julen Lopetegui in August 2018 saw Modrić given a steady return to the first team as a substitute due to his lack of pre-season training after the 2018 World Cup. This included a substitute appearance in his team's 2–4 loss after extra time against Atlético Madrid in the UEFA Super Cup. His first start of the season came on 1 September in a 4–1 home win against Leganés, in which he assisted his side's third goal, scored by Karim Benzema. His 100th appearance in the UEFA club competition came on 19 September in a 3–0 home win against Roma, in which he assisted the second goal, scored by Gareth Bale. On 22 December, Modrić won his third FIFA Club World Cup, scoring the first goal and assisting for the third in the final against Al Ain. On 13 and 19 January 2019, Modrić for the first time scored in two consecutive league games for Real Madrid, in a 1–2 away win against Real Betis and 2–0 home win against Sevilla. In the same month was included in the UEFA Team of the Year (2018) for the third time in his career. From 27 February to 5 March, Modrić went through what he described as "the most difficult week of his football life," with Real Madrid losing to Barcelona twice and Ajax and crashing out of Copa del Rey, title race and the Champions League, respectively. Despite having had an underwhelming season, for the fifth consecutive time he was included in the FIFA FIFPro World XI.
On 27 August 2019 was the seventh anniversary of Modrić's signing with the club. Although raising doubts due to age of 34 and decision to continue playing with the national team which makes him prone to injuries, Modrić stated that wants to "recapture his best form this season". His first goal of the season came on 5 October in a 4–2 home victory against Granada. On 12 November was awarded with a Golden Foot award. On 23 November he made two assists and scored a goal in a 3–1 home victory against Real Sociedad. On 8 January 2020, Modrić with trivela scored his fifth goal of the season and 100th career goal in a 3–1 victory against Valencia in the semi-finals of 2019–20 Supercopa de España. On 12 January he successfully converted a penalty in a shootout as Real Madrid beat Atlético 4–1 on penalties in the final. Following the continuation of La Liga after a three-month suspension due to COVID-19 pandemic, Modrić was praised for being one of Real Madrid's best players despite his age, resulting in numerous media outlets wondering about prolongation of his contract with the club. On 16 July, he assisted Benzema's opening goal in a 2–1 victory over Villarreal, as Real Madrid secured the league title.
On 21 October 2020, he scored his first goal of the 2020–21 season in a Champions League 3–2 defeat to Shakhtar Donetsk. The goal made him the fourth player in the history of the club to score in the competition aged 35 or more, alongside Alfredo Di Stéfano, Ferenc Puskás and Francisco Gento. It was named the Goal of the Week by UEFA. Three days later, he came off the bench to score with trivela his first ever Clásico goal, as Real Madrid defeated Barcelona 3–1. On 25 May 2021, he extended his contract with Real Madrid until 2022.
On 24 October 2021 of 2021–22 season, Modrić played his 400th game for Real Madrid in a 2–1 Clásico victory. On 30 October, Modrić captained Real Madrid for the first time and assisted for the winning goal, after Marcelo had given him the armband upon being substituted off in the 2–1 victory over Elche. On 7 December 2021, he played his 100th Champions League game and was named Man of the Match in a 2–0 victory over Inter Milan. On 16 January 2022, he scored the first goal in the 2022 Supercopa de España Final and was named Man of the Match, as Real Madrid defeated Athletic Bilbao 2–0. The goal made him the oldest goalscorer in the history of the competition. On 5 March, Modrić assisted and scored from outside of the box in a 4–1 victory over Real Socidedad. On 6 and 12 April, Modrić assisted in both legs of Champions League quarter-finals 5–4 aggregate victory against Chelsea. Praised for attacking and defensive performances in both games, because of a long-range trivela assist for Rodrygo in the crucial moment of the second leg was named Man of the Match as well as voted Player of the Week by UEFA. His assist to Rodrygo has been called the "pass of the decade" by Ally McCoist, and as "absolutely perfect, and it was just gorgeous to watch" by Thierry Henry. He was a regular starter on 30 April when Real Madrid won their 35th and his 3rd Spanish title, on 4 May when Real Madrid won in extra time in the second leg against Manchester City, and on 28 May when he won his 5th title in the final of Champions League. For the sixth time in his career, he was included in the UEFA Champions League Squad of the Season. On 8 June 2022, he renewed his contract until 2023.
On 20 August 2022, Modrić landed his first goal and assist of the season in a 4–1 away victory over Celta Vigo in a La Liga fixture. On 6 September he scored in his first Champions League game of the season in a 3–0 away victory against Celtic, becoming the eighth Real Madrid player with 100 appearances in the competition. On 11 September, he became the third Real Madrid player after Puskás and Francisco Buyo to play 100 games while over 35 years of age. In February 2023, Modrić was included for the sixth time in the FIFA FIFPro World XI. On 6 May, he played as a second-half substitute in a 2–1 win over Osasuna in the Copa del Rey final, to achieve his second trophy in that tournament. In June, he extended his contract until 2024.
During the 2023–24 season, with the departure of Benzema, Modrić became vice-captain of the team, but also started to receive less playing time in the starting eleven due to change in formation and competition with younger players like Federico Valverde, Jude Bellingham, Eduardo Camavinga, Aurélien Tchouaméni and Dani Ceballos. On 28 October, Modrić came on as a second-half substitute and made his 500th appearance for Real Madrid in all competitions in a 2–1 away win against Barcelona, to which he contributed with an assist to the last-minute winning goal by Bellingham. On 27 November, in a 3–0 away win against Cádiz, Modrić set the record for most club appearances after 35 years old, with 161 appearances, breaking the previous record he held with Paco Buyo. On 30 April 2024, Modrić came on as a late substitute in the first match of the Champions League semi-final against Bayern Munich and, at the age of 38 years and 234 days, broke the record for the oldest Real Madrid player to make an appearance in the tournament, beating Puskás by five days. A few days later, on 4 May, he became the oldest player to feature in La Liga for Real Madrid, at the age of 38 years and 238 days, breaking another record of Puskás, in a 3–0 win against Cádiz. Furthermore, he clinched his fourth La Liga title with Real Madrid following that victory, thus matching Marcelo, Karim Benzema and Nacho's record as the club's most decorated player with 25 trophies. He extended his record with his 26th trophy in the Champions League final, following a 2–0 victory against Borussia Dortmund, same as for Nacho. He also became the first player to win six finals in the competition, along with Dani Carvajal.
On 17 July 2024, Modrić extended his contract until 2025 and became captain of the team following the departure of Nacho. A month later, on 14 August, he achieved his fifth Super Cup trophy following a 2–0 victory over Atalanta, becoming the lone most decorated player in the club's history with 27 titles. On 19 October, he became the oldest player to feature in a competitive match for Real Madrid in a 2–1 away victory over Celta Vigo, aged 39 years and 40 days, surpassing previous record of Puskás in 1966. Later that year, on 18 December, Modrić clinched his record-extending 28th title with the club following a 3–0 victory over Pachuca in the FIFA Intercontinental Cup final.
On 3 January 2025, Modrić scored his first goal of the 2024–25 season during a 2–1 away victory over Valencia, in which he became the oldest player to score for Real Madrid in all competitions, aged 39 years and 116 days, surpassing Ferenc Puskás's record set in 1966. Additionally, he made his 561st appearance for the club, joining the top ten on Real Madrid's all-time appearances list, equalling the records of both Pirri and Míchel. On 23 February, Modrić was named Man of the Match and from a corner kick he scored a half-volley goal from 25 meters during a 2–0 away win over Girona.
Although Modrić played in almost 60 games and recorded more minutes, goals and assists than in the previous season, still showing top-tier quality and importance to the club's midfield, it was announced on 22 May 2025 that Modrić would leave Real Madrid after 13 years at the club, following the 2025 FIFA Club World Cup in the United States. He played his last home game with the club at the Santiago Bernabéu on 24 May against Real Sociedad, receiving club's tribute, and both teams' players guard of honour before the end of the game, due to his legacy. Guillem Balagué described it as the "end of an era" in the club's history. At the FIFA Club World Cup, Modrić played in all six of Real Madrid's matches as the club progressed to the semi-finals, where they were knocked out after losing 4–0 to Paris Saint-Germain.