The match was a repeat of the
1998 final, making it the eighth repeated final pairing. Real Madrid won the 1998 final 1–0. The 2017 final was the first time since the two teams met in 1998 that both finalists had won either their domestic league or the Champions League the previous season.
Juventus reached their ninth final after a 4–1 aggregate win against
Monaco to maintain their undefeated record in this season's competition. Juventus also entered the final with the best defensive record in the 2016–17 Champions League, having conceded only three times. Previously Juventus won finals in
1985 and
1996, and lost a record six in
1973,
1983,
1997,
1998,
2003 and
2015. This was also their 14th final in all seasonal UEFA competitions, having also played in one
Cup Winners' Cup final (winning in
1984) and four
UEFA Cup finals (winning in
1977,
1990 and
1993, and losing in
1995). If they were to lose, Juventus would tie
Benfica's record of five consecutive finals lost. Title holders
Real Madrid reached a record 15th final after a 4–2 aggregate win against
city rivals Atlético Madrid, knocking them out of the competition for the fourth consecutive season. Real Madrid went into the final as top scorers 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) to win two consecutive finals. Four times prior the previous champions had advanced to the final (
Milan in
1995,
Ajax in
1996, Juventus in
1997, and
Manchester United in
2009), but on all occasions the title holders lost. The two sides had previously met eighteen times in European competitions, all in the European Cup/UEFA Champions League, with a record of eight wins each and two draws. The first meeting between the two sides took place in the
1961–62 European Cup quarter-finals, where Real Madrid beat Juventus 3–1 in a play-off after the two sides exchanged 1–0 away wins. The most recent meeting between the clubs had taken place in the
2014–15 UEFA Champions League semi-finals, where Juventus won 3–2 on aggregate to advance to the 2015 final. Juventus entered the final chasing their first
treble of domestic league, domestic cup, and Champions League titles, bidding to become the ninth team to win it. They won the
2016–17 Coppa Italia after defeating
Lazio in the
final on 17 May, and clinched the
2016–17 Serie A title on 21 May. Real Madrid were chasing the
double of domestic league and Champions League titles, having won the
2016–17 La Liga on 21 May, the final day of the season.
Previous finals In the following table, finals until 1992 were in the European Cup era, since 1993 were in the UEFA Champions League era. ==Venue==