Novak Djokovic set up a last-16 clash with Andy Murray at the Madrid Open, impressing in a straight-sets victory over Gael Monfils while Murray overcame Denis Shapovalov.

The 20-time grand slam champion eased to a 6-3 6-2 win in the Spanish capital, assuring him of a record-extending 369th week at the top of the ATP world rankings and teeing up a mouth-watering contest with one of his greatest rivals.

The Serb hailed his victory as representing his best performance of 2022, saying he was pleased with his progress after falling to a final defeat against Andrey Rublev on home soil in last month's Belgrade Open.

"[It was] probably the best match of the year so far for me," Djokovic told Tennis TV after the win. "I haven't played many matches and am still finding my groove.

"But [it's] a very good win against a very tricky opponent. I had a week, 10 days to get ready for this match, and for this tournament I have done everything I possibly can to build my fitness and also improve on all aspects of the game, on the court. 

"I'm really glad that it paid off, because I felt good on the court. It's the right process, and it's the right direction."

Djokovic will face Murray for the 37th time, and the first time since 2017's Qatar Open, after the three-time grand slam winner rolled back the years to overcome Shapovalov 6-1 3-6 6-2 in an absorbing two-hour contest later on Tuesday.

The duo are one of only two male pairs to have met in each of the four grand slam finals (along with Djokovic and Rafael Nadal), while Djokovic holds a 25-11 lead across their previous meetings and has won both of their two encounters at the Madrid Open, one of which was their first-ever meeting in 2006.

Elsewhere in the draw, it was a day of few shocks in Spain as seeds Rublev and Carlos Alcaraz ensured their own progress to the last 16.

Rublev recovered from a poor first-set showing to down Great Britain's Jack Draper 2-6 6-4 7-5, while home favourite Alcaraz remained on course for a potential meeting with compatriot Nadal after earning a 6-3 7-5 victory over Nikoloz Basilashvili.

Finally, 2014 US Open champion Marin Cilic beat Albert Ramos-Vinolas 6-3 3-6 6-4 in a competitive first-round affair to set up Wednesday's enticing last-32 clash with world number three Alexander Zverev.