Title: History of Real Madrid CF
Content:  del Rey by Celta Vigo 3–4 on aggregate. In May that year, Madrid won the league title for a record 33rd time, their first title in five years, accumulating 93 points in process. On 3 June 2017, the club's Champions League final win against Juventus resulted in Real Madrid being the first team to successfully defend their title in the UEFA Champions League era, and the first to win consecutive titles in the competition since Milan in 1989 and 1990, when the tournament was known as the European Cup. Real Madrid's title was its 12th, extending its record, and its 
Title: Real Madrid CF
Content:  five years, accumulating 93 points in the process. On 3 June 2017, the club's Champions League final win against Juventus resulted in Real Madrid being the first team to successfully defend their title in the UEFA Champions League era, and the first to win consecutive titles in the competition since Milan in 1989 and 1990, when the tournament was known as the European Cup. Real Madrid's title was its 12th, extending its record, and its third in four years. The achievement is also known as "La Duodécima". The 2016–17 season was the greatest campaign in terms of trophies won (four out of possible five) in the 
Title: 2018 UEFA Champions League Final
Content:   Real Madrid became the first team since Bayern Munich in 1974–76 to win three consecutive UEFA Champions Leagues or European Cups. The title was Madrid's 13th, another Champions League record, and their fourth in five years. Real Madrid's victory was the fifth consecutive title for a Spanish side in the Champions League, becoming the longest run for the trophy to be held by teams from the same country since English sides won six consecutive titles between 1977 and 1982. Manager Zinedine Zidane became the first to win three consecutive Champions League titles and matched Carlo Ancelotti's record of Champions League era wins. Five days after the 
Title: Real Madrid CF
Content:  the record for winning the European Cup/UEFA Champions League thirteen times and for the most semi-final appearances (29). As of December 2019, Cristiano Ronaldo is the all-time top scorer in the UEFA Champions League, with 128 (129 including qualifiers) goals in total, 105 while playing for Real Madrid. The team has the record number of consecutive participations in the European Cup (before it became the Champions League) with 15, from 1955–56 to 1969–70. Among the club's on-field records is a 22-game winning streak in all competitions during the 2014–15 season, a Spanish record and fourth worldwide. The same season the team tied the 
Title: European Cup and UEFA Champions League records and statistics
Content: Real Madrid hold the record for the most consecutive seasons in which a side have advanced past the group stage, with 25 straight progressions from 1997–98 to 2021–22. During the first seven of these seasons (1997–98 to 2003–04), they reached at least the quarter-finals, winning the tournament three times. After this followed six consecutive seasons (2004–05 to 2009–10) in which they lost in the first knockout round (round of 16). Real Madrid then advanced to eight consecutive semi-finals (2010–11 to 2017–18), winning the tournament four times, before going out in the round of 16 in the 2018–19 and 2019–20 seasons, and the semi-finals in the 2020–21 season. ; Barcelona finished top of their group for a record thirteen consecutive seasons from 2007–08 to 2019–20, out of eighteen seasons played in total. ; In 2012–13, Chelsea became the first title holders not to qualify from the following season's group stage. ; Monaco scored the fewest goals (four) to earn eleven points in the group stage in 2014–15. Villarreal won a group with the fewest goals scored (three) in 2005–06, resulting in two wins. 
Title: Dynasty (sports)
Content: Real Madrid from the 1953–54 to the 1971–72 seasons in La Liga and the European Cup. Real Madrid won Thirteen (13) European Cups, including five in a row from 1956 to 1960, and Thirty Four (34) La Liga titles, including five in a row from 1961 to 1965. ; The second golden era is from the 2013–14 season to present in La Liga and the UEFA Champions League. Real Madrid won four Champions League titles in five years, including three in a row from 2016 to 2018, as well as two La Liga titles (2016–17, 2019–20) and four FIFA Club World Cups. Barcelona from the 2004–05 season to present. Barcelona won ten La Liga championships, four Champions League titles, six Copa del Rey titles, eight Spanish Super Cups, three UEFA Super Cups and three FIFA Club World Cups. Barcelona won an unprecedented six major trophies in 2009, and became the first Spanish team to win the treble and the first European treble-winning team to also capture the UEFA Super Cup and Club World Cup.    They also became the first team to win the treble twice in European football in the 2014–15 season.  
Title: 2017 UEFA Champions League Final
Content:  of the 2016–17 Champions League, having scored 32 goals. This final was their third since 2014, and gave Real a chance to win a record 12th title. Previously they won finals in 1956, 1957, 1958, 1959, 1960, 1966, 1998, 2000, 2002, 2014 and 2016, and lost in 1962, 1964 and 1981. This was also their 19th final in all seasonal UEFA competitions, having also played in two Cup Winners' Cup finals (losing in 1971 and 1983) and two UEFA Cup finals (winning in 1985 and 1986). Real Madrid were looking to be the first team in the Champions League era (since 1993) 
Title: UEFA Champions League
Content:  (14 wins) and Italy (12 wins). England has the largest number of winning teams, with five clubs having won the title. The competition has been won by 22 clubs, 13 of which have won it more than once and eight successfully defended their title. Real Madrid is the most successful club in the tournament's history, having won it 13 times, including its first five seasons and also three in a row from 2016 to 2018. Bayern Munich remains to be the only club to have won all of their matches in a single tournament en route to their tournament victory in the 2019–2020 season. Chelsea are the defending champions, having beaten Manchester City 1–0 in the 2021 final.
Title: European Cup and UEFA Champions League records and statistics
Content:  and four titles with Real Madrid (2013–14, 2015–16, 2016–17 and 2017–18). ; Cristiano Ronaldo has won 113 matches in his Champions League career, the most by any player. The only other player to win more than 100 matches is Iker Casillas (101). ; Robert Lewandowski holds the record for most consecutive matches won by a player in the Champions League, with 22 straight victories whilst with Bayern Munich. The streak is still ongoing. The run began on 18 September 2019 with a 3–0 success against Red Star Belgrade in his first group stage match of the 2019–20 season, after losing 1–3 against Liverpool in the previous season's 
Title: List of Real Madrid CF records and statistics
Content:  Champions League semi-final appearances: 29 ; Most consecutive seasons in the European Cup: 15 (1955–56 to 1969–70) ; Most consecutive seasons in the UEFA Champions League knockout phase: 24 (1997–98 to present) ; Most consecutive UEFA Champions League semi-final appearances: 8 (2010–11 to 2017–18) ; Most consecutive European Cup final appearances: 5 (1956 to 1960) ; Most consecutive final appearances in UEFA Champions League era: 3 (joint record) ; Most successful UEFA team to defend European Cup / UEFA Champions League trophy: 6/13 ; First and only club to win all UEFA Champions League group stage matches twice (2011–12 and 2014–15). ; First club to score in 34 consecutive UEFA Champions League matches. ; Most consecutive knockout tie wins in UEFA Champions League history: 12 

Question: how many times have real madrid won the champions league in a row?
Answer: five times.
five.