Australian Kyrgios had beaten Djokovic in the quarter-finals in Acapulco almost two weeks ago in their first career meeting, and repeated the feat on Wednesday to reach the last eight, where he will face Federer.
Kyrgios sent down 14 aces, which included some second serves close to 120mph, won 85 per cent of points on his first serve and faced no break points.
Djokovic said in his post-match press conference:
Davis Cup
Djokovic helps Serbia to win over Austria; Spain and Italy win
The run was amazing. I am very proud of it, obviously. It had to end at some stage. Unfortunately, it was today. Nick, again, as he did in Acapulco, served so well. I just wasn't managing to get a lot of balls back on his serve, first and second, as well. That's what made a difference.
Federer defeated Nadal 6-2 6-3 in the 36th meeting between the pair to make it three in a row.

Nick Kyrgios (AUS) reacts at match point as he defeats Novak Djokovic in the BNP Paribas Open at the Indian Wells Tennis Garden

Image credit: Reuters

Question marks were hanging over Federer's glittering career when he missed the second half of last season due to injury problems, but the 35-year-old answered those with a stunning comeback win in the Australian Open in January, where he beat Nadal in an epic final.
That went to five sets in Melbourne, but the Swiss needed just over an hour to get the better of the Spaniard, in arguably his best performance of any of the 36 instalments of this lasting rivalry.
"It's a nice feeling to win the last three. I can tell you that," Federer said in his post-match press conference. "But most importantly, I won Australia. That was big for me. On the comeback, I look back at that and think that was one of the coolest things I ever experienced in my career.
All the matches that we have played are unique in many ways for both of us, winning or losing. So I take it. For me, it was all about coming out and trying to play the way I did in Australia. I didn't think it was going to be that possible, to be quite honest, because the court is more jumpy here so it's hard to put the ball away. So getting in the lead was crucial, and then staying on the offence and pressing was the goal for me. It was a really good performance by me, I thought.
Federer, who got the better of his Spanish rival in a thrilling five-setter at the Australian Open final in January, broke Nadal’s serve to open the match then survived a break point to hold with a backhand winner down the line for 2-0.
The Swiss then took a 4-1 lead before sealing the set and continued to press in the second, keeping Nadal on his heels.
Nadal was off his game and knew Federer was the better player.
He said: "He returned well. But at the same time, it was obvious that I didn't have the right answer for his returns. I needed to neutralise the points. I needed to neutralise his two first balls, and I didn't.
"So I was not enough good tonight and he deserved the victory, for sure. Very easy."
In other matches, Japan’s Kei Nishikori beat Donald Young 6-2 6-4 and advances to play 17th-seed Jack Sock, who defeated Malek Jaziri in three sets, while Uruguay’s Pablo Cuevas upset 11th-seed David Goffin 6-3 3-6 6-3.

Fourth-round results

15-Nick Kyrgios (Australia) beat 2-Novak Djokovic (Serbia) 6-4 7-6(3)
3-Stan Wawrinka (Switzerland) beat Yoshihito Nishioka (Japan) 3-6 6-3 7-6(4)
4-Kei Nishikori (Japan) beat Donald Young (U.S.) 6-2 6-4
9-Roger Federer (Switzerland) beat 5-Rafa Nadal (Spain) 6-2 6-3
8-Dominic Thiem (Austria) beat 10-Gael Monfils (France) 6-3 6-2
27-Pablo Cuevas (Uruguay) beat 11-David Goffin (Belgium) 6-3 3-6 6-3
21-Pablo Carreno (Spain) beat Dusan Lajovic (Serbia) 6-4 7-6(5)
17-Jack Sock (U.S.) beat Malek Jaziri (Tunisia) 4-6 7-6(1) 7-5
Davis Cup
'The most important thing is health' - Nadal reacts to Alcaraz's positive Covid-19 test
26/11/2021 AT 14:04
'Federer faces reality check' - Wilander
25/11/2021 AT 23:07