Real Madrid have been paired with Manchester City during Friday's Champions League semi-final draw in Nyon, while Bayern Munich will have to deal with Atletico Madrid if they are to make it to the final.
The first legs of the semi-finals will take place on 26 and 27 April, with the returns scheduled for 3 and 4 May.
City knocked out Paris St Germain in the quarter-finals thanks to a goal from Belgian midfielder Kevin De Bruyne which secured a 1-0 victory at the Etihad Stadium and sent the Premier League side through 3-2 on aggregate.
Madrid recovered from a 2-0 first-leg defeat by Wolfsburg to progress to the last four following a hat-trick by former Manchester United forward Cristiano Ronaldo.
City will be at home in the first leg before heading to the Bernabeu a week later.
The other semi-final will see Atletico Madrid, who knocked out Barcelona, take on Bayern Munich, managed by Pep Guardiola in what will be his final season before taking over at Manchester City next season.