Hello
The former champion defeated Elina Svitolina 6-3 6-2 in the quarterfinals.
Russian 17-year-old Mirra Andreeva sent second seed Aryna Sabalenka home, while Italian Jasmine Paolini staved off a fightback from fourth seed Elena Rybakina.
The 30-year-old overcame fourth seed Elena Rybakina in just over two hours to become the sixth American woman to claim the crown in Miami.
World No. 2 and top seed Sabalenka came into the contest on a 15-match winning streak in Australia but was outplayed by former Wimbledon champion Rybakina.
Swiatek will next face Sabalenka in the semifinals, while Gauff will lock horns with Pegula for a place in the final.
American Pegula booked a semifinal spot at the season-ending tournament with a 6-3, 6-2 victory over Sakkari.
Coco Gauff won the final 10 games of her match against Elise Mertens, completing a 3-6, 6-3, 6-0 comeback
Djokovic defeated Poland's Hubert Hurkacz 7-6(6) 7-6(6) 5-7 6-4.
Retired Swiss great Federer received possibly the longest ovation of his illustrious career on Tuesday.
Friday's draw at the All England Club pitched women's top seed Iga Swiatek against China's 33rd-ranked Zhu Lin, a potentially tricky first hurdle for the Pole.