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."
The 37-year-old Swiss can clinch a record-extending 21st major if he manages to break free of the world number one's stranglehold.
Tennis star Serena Williams has revealed that she has apologised to Japan's Naomi Osaka who defeated her in the finals of the US Open last year.
Nadal emerged triumphant that day, winning in five sets in a four-hour 48-minute epic of fluctuating fortunes that stretched out over seven hours because of constant, momentum-shifting rain interruptions.
England named an unchanged squad on Monday for this week’s third Test against Australia at Headingley. The injured James Anderson, England’s all-time leading Test wicket-taker, will continue his bid to return later in the series by playing in a county 2nd XI match starting on Tuesday. England’s selectors
London: England captain Joe Root said fast bowler Jofra Archer had “lived up to the hype” with a dramatic Test debut against Australia at Lord’s. World Cup winner Archer, who replaced the injured James Anderson in England’s team for the second Ashes Test, took five wickets in the drawn match, including
Champions Paris Saint-Germain slipped up in their second league game of the season losing 2-1 to Rennes on Sunday in a repeat of April’s French Cup final with a 16-year-old playing a starring role. Edinson Cavani scored after less than 15 minutes of play for the visitors in Brittanny before Mbaye Niang
London: Frank Lampard admitted fatigue was a factor in Chelsea’s 1-1 draw against Leicester, but the Blues boss demanded his players show more “personality” as his wait for a first win goes on. Thrashed 4-0 at Manchester United last weekend and beaten on penalties by Liverpool in the European Super Cup