Afterwards, the 36-year-old veteran, who will bring the curtain down on his career at the Madrid Open, admitted it was "a special day". "It was definitely different, especially very different to Key Biscayne previous year". I have a lot of respect for those types of players who don't have the size, have to find a different way to win. I'm happy with how the elbow responded.
He received a wild card into the Miami draw and advanced to a third-round meeting with American Frances Tiafoe, a 7-6 (8/6), 7-6 (7/5) victor over Miomir Kecmanovic.
Roger Federer briefly seemed headed for the exit but instead advanced to the third round by rallying past qualifier Radu Albot 4-6, 7-5, 6-3.
Federer missed a break point opportunity at 4-3, Albot then crashing home a victor to heap the pressure back onto the 37-year-old.
Federer's match was delayed by rain but once play eventually got underway at Hard Rock Stadium, he eased past the Serbian as he continues to search for his fourth Miami title. "When I am gonna out, I first think of what shoes I want to wear and then I get dressed up rather than thinking about the t-shirt first". He's a great, great player.
Federer was stunned by Thanasi Kokkinakis in his opening match of the Miami Open a year ago and another early exit was beckoning when he dropped the first set on Saturday. The pro-Federer crowd were stunned, but the Swiss upped his game in the second, hitting 15 winners and five aces as well as saving a break point to keep carefree Albot at bay and take an entertaining tussle into a third set.
He lost the final game to love with the three time Miami Open victor easing home in style to finish with 36 winners compared to the 27 year-old's 18.
Roger Federer moved through to the last 16 at the Miami Open after cruising past Serbia's Filip Krajinovic in straight sets on Monday.
Earlier on Saturday, South Africa's Kevin Anderson made a winning return to competition with a 6-4 3-6 6-3 victory over rising Spaniard Jaume Munar.
"But I still kept going after them, and I was able to hit my spots and keep the pressure on and shorten points as the match went on".
The 20-time grand slam victor struck 35 winners to leave an expectant crowd marvelling at his mastery and will take on Daniil Medvedev or Reilly Opelka in round four.