Kyrgios came through a four-set encounter with Pierre-Hugues Herbert in the second round and, unsurprisingly for him, the match was not without its controversy.
What is surprising, however, is that he wasn't completely at fault. Trailing 6-4, 3-0, the Australian looked like a beaten man but an apparent - and unprecedented - pep talk from the umpire seemed to do the trick as Kyrgios then completely turned the match around.
In the build-up to this third-round match, he has spoken of the fact he relishes being the underdog and he will certainly believe he can win given that all three of his previous matches with Federer have been tight matches that required a deciding set, one of which he won.
Federer has yet to drop a set in his first two matches although both Nishioka and Paire do not possess the quality to really hurt the five-time winner and this will be a truer test of his form.
He will be all too aware of the weapons that Kyrgios has in his arsenal and given that their previous meetings have been nip-and-tuck affairs - with eight of their nine sets being decided by a tie-break - he knows that anything less than his A-game could end in defeat.
Federer hit 27 winners compared to 44 unforced errors against Paire and he will be keen to improve on that ratio here.
These two have served up some tight battles previously as the unpredictable Kyrgios tends to raise his game when facing Federer and does already have a win against the Swiss on his record. Federer's form so far has been solid if not spectacular but this is by far his toughest test yet and it has all the makings of a classic contest.
If the Australian turns up with the right attitude - and that is always a big if - he could run Federer very close and it could then go down to who holds their nerve in the big points. The experience of Federer in these moments could be key and he gets the nod for that reason, but it could take four or five sets.
Success! You will now receive an email with a confirmation link to complete the process.
Enter your email address to receive our newsletter on all things sport, data and analysis!