Simona Halep of Romania reacts during her match against Polona Hercog of Slovenia during Day 7 of the Miami Open Presented by Itau at Hard Rock Stadium.
The 27-year-old lost her place at the top of the women's game following Naomi Osaka's triumph at the Australian Open earlier this year.
But with the Japanese faltering here on Saturday, Halep can return to the position she last held at the end of 2018 if she lands the Miami Open for the first time.
The Romanian, who will also move up the to the top of the rankings if she reaches the final and Petra Kvitova doesn't win the title, will certainly have to put in a better display than the patchy performance which eventually sent the gutsy Hercog, the world number 93 from Slovenia, out.
"She played unbelievable and it was such a tough match," said Halep, who belted 48 winners compared to her opponent's 38 but won just 31% of points on her first serve.
"It was good to play for almost three hours though. I slowly found my rhythm but I always had belief so if I can keep doing this, I will have a good tournament.
She next faces seven-time Grand Slam champion Venus Williams, who swept past Russian Daria Kasatkina 6-3, 6-1.
Halep, the 2018 French Open champion and current world number three, arrived in Miami having failed to get past the round of 16 in Indian Wells and the quarter-finals in Dubai.
She started sluggishly on the center court at Hard Rock Stadium, where Hercog moved into an early 3-1 lead.
Halep finally broke back for 4-4 but another sloppy game handed Hercog the opportunity to grab a first set lead which she duly took.
Simona Halep of Romania returns a shot to Polona Hercog of Slovenia during Day 7 of the Miami Open Presented by Itau at Hard Rock Stadium.
Halep was far more solid in the second, despite missing the chance to draw level when she was broken serving at 5-3 and Hercog kept her nerve make it 5-5.
As the clock ticked past two hours, a brilliant drop shot by Hercog ensured a second set tie break only for Halep to emphatically win it 7-1 before the decider was sealed for the Romanian when she held to love after 2 hours and 50 minutes.
On the men's side, defending champion John Isner blew Spain's Albert Ramos-Vinolas off court with serves touching 139 mph as the American sealed an ultimately comprehensive 7-5, 7-6 (8-6) win.
He was broken in the very first game but responded by hitting a total of 16 aces to set up an intriguing match with Kyle Edmund in the last 16 after the British number one impressively saw off Canadian Milos Raonic 6-4 6-4.
"I did a lot of things well," Isner said. "I played a good first set, even though I didn't start it off well. In the second, it wasn't quite as clean. But I'm into the Round of 16 of a big tournament and I'm happy."
World number one Naomi Osaka refused on Wednesday to become embroiled in a dispute with one of her former coaches who is suing her for 20 per cent of her career earnings.
Nearly six years after winning the French Open Juniors title, the 22-year-old Garin finally broke through on the tour, spoiling Ruud's bid to become the first Norwegian winner.
The 2020 Olympic Games men's Tennis final in Tokyo will be played over three sets rather than five, the International Tennis Federation (ITF) said on Wednesday, ending the prospect of a marathon gold medal shootout.
A giant parade to celebrate the Toronto Raptors winning their first NBA title was marred Monday by a shooting behind the downtown stage at Nathan Phillips Square -- which left two people badly injured and sent revelers fleeing in panic.
Ex-UEFA chief Michel Platini was arrested on Tuesday in connection with a probe into the awarding of the 2022 World Cup to Qatar, a source close to the investigation said. The French football legend elected to lead European
Taunton: Shakib Al Hasan’s brilliant century inspired Bangladesh’s bid for the second highest successful run chase in World Cup history against the West Indies on Monday. Needing 322 to claim their second win of the tournament, Bangladesh were powering towards victory as they repelled the West Indies’ barrage of bouncers to reach 248-3 after 34 overs at Taunton.