But it was far from a cakewalk for Federer, who came within two points of losing the first set before breaking twice in the second for a 7-6(2) 6-3 triumph over American teenager Frances Tiafoe.
Next up for Federer is Juan Martin del Potro, who beat Dutchman Robin Haase 6-2 6-4 in a night match at Crandon Park.
Federer has a 15-5 career record against del Potro, the 2009 U.S. Open champion.
"I would love to play against (del Potro)," Federer said, speaking before knowing who his next opponent would be. "We've had some epic matches against each other. I'm sure the crowd would love to see it."
Tiafoe provided a good competitive workout for the 35-year-old Swiss maestro in his first match since he won the BNP Paribas Open at Indian Wells on Sunday.
Tiafoe broke in the first game of the second set, but fourth seed Federer broke straight back with a sizzling backhand winner and another break was all he needed to clinch his 1094th career victory at tour level.
Tiafoe, ranked 101st in the world, has only four career victories, but he showed enough to suggest he will add to that number sooner rather than later.
Federer could be on course for a semi-final showdown with compatriot Stan Wawrinka, less than two weeks after they met in the Indian Wells final.
Top seed Wawrinka defeated Argentina's Horacio Zeballos in 65 minutes, firing seven aces in a 6-3 6-4 victory in less than favourable morning conditions.
"I'm really happy with the match today," Wawrinka told reporters. "It's quite tough conditions, raining and really windy today. It's really windy on the court, so it's never easy.
"I'm happy with the way I was moving, the way I was playing and my attitude in general was really positive," he added. "So it's a great match."
Austrian number six Dominic Thiem was the only high seed to suffer a loss on Saturday.
Thiem fell to 20-year-old Croatian Borna Coric, who overcame an embarrassing brain freeze in the final game to win 6-1 7-5.
Serving for the match, Coric stopped in the middle of a rally, challenging a line call, only to be reminded by the chair umpire that he had no challenges left.
Volatile Australian Nick Kyrgios won his match, and also received a code violation warning from the chair umpire for swearing at a spectator who called out during a point.
Kyrgios, the 12th seed, dropped his first two service games, but roared back to beat Damir Dzumhur 6-4 6-3.
29-Juan Martin Del Potro (Argentina) beat Robin Haase (Netherlands) 6-2 6-4
4-Roger Federer (Switzerland) beat Frances Tiafoe (U.S.) 7-6(2) 6-3
16-Alexander Zverev (Germany) beat Lu Yen-Hsun (Taiwan) 6-0 6-3
18-John Isner (U.S.) beat Thomaz Bellucci (Brazil) 7-5 7-6(5)
Malek Jaziri (Tunisia) beat 31-Feliciano Lopez (Spain) 6-3 4-6 6-3
Adrian Mannarino (France) beat 32-Paolo Lorenzi (Italy) 6-4 3-6 6-2
22-Sam Querrey (U.S.) beat Tommy Robredo (Spain) 6-2 6-3
10-Tomas Berdych (Czech Republic) beat Andrey Rublev (Russia) 6-3 6-2
8-David Goffin (Belgium) beat Darian King (Barbados) 7-5 6-1
24-Gilles Muller (Luxembourg) beat Andreas Seppi (Italy) 7-6(3) 7-6(1)
Diego Schwartzman (Argentina) beat 27-David Ferrer (Spain) 6-2 6-3
1-Stan Wawrinka (Switzerland) beat Horacio Zeballos (Argentina) 6-3 6-4
12-Nick Kyrgios (Australia) beat Damir Dzumhur (Bosnia and Herzegovina) 6-4 6-3
17-Ivo Karlovic (Croatia) beat Andrey Kuznetsov (Russia) 7-6(4) 6-1
Borna Coric (Croatia) beat 6-Dominic Thiem (Austria) 6-1 7-5
14-Roberto Bautista (Spain) beat Mikhail Kukushkin (Russia) 6-3 7-6(3)
Read the original article on Eurosport: Federer cruises again in Miami as Del Potro waits next