Naomi Osaka was given a test by Marta Kostyuk before coming through in three sets to reach the US Open fourth round.
The 2018 champion, seeded fourth, won 6-3 6-7 (4-7) 6-2 against the 18-year-old Ukrainian on Arthur Ashe Stadium in New York.
Japan's Osaka, 22, had to save five break points to avoid going 3-1 down in the decider but then managed to win the last five games at Flushing Meadows.
She will play 14th seed Anett Kontaveit next.
The world number nine is carrying a hamstring injury that forced her out of last week's Western and Southern Open final and wore heavy strapping on her left thigh.
Osaka, who has been speaking out against racism in the United States, came on to court at Flushing Meadows wearing a face mask bearing the name of Ahmaud Arbery, a black man who was shot dead while jogging in Georgia in February.
She has said she will wear a mask with a different name for each match she plays in New York.
Elsewhere in the women's draw, German 2016 champion Angelique Kerber beat Ann Li 6-3 6-4 and will now play American 28th seed Jennifer Brady, who saw off France's Caroline Garcia 6-3 6-3.
Garcia had knocked out top seed Karolina Pliskova in the previous round.
Czech sixth seed Petra Kvitova breezed past American Jessica Pegula 6-4, 6-3 to set up a last-16 encounter with Shelby Rogers, also of the United States.
Petra Martic won 6-3 6-3 against Russia's Varvara Gracheva and the Croatian eighth seed next faces Kazakh 23rd seed Yulia Putintseva.
Latest Stories
-
Hopeson Adorye to form ‘Jail Them’ advocacy group
6 mins -
Shatta Wale once cried and knelt to apologise to Mahama – Dr Lawrence Tetteh
12 mins -
Former UK Prime Minister Boris Johnson turned away from polling station after forgetting photo ID
12 mins -
Nigeria soldiers face trial for deadly air strike ‘mistake’
21 mins -
Akufo-Addo, Otumfuo to commission Kumasi International Airport on May 10
23 mins -
PWDs who gain admission into tertiary institutions will be prioritised with government scholarships – Bawumia
26 mins -
Strongman regrets involving Fella Makafui in Medikal feud
28 mins -
NPP must unite now or perish later – Ameyaw-Akumfi warns
30 mins -
Fuel price adjustment: petrol surges to GH₵15.22, diesel falls to GH₵14.65
40 mins -
Kojo Golden nominated for Afrobeat Artiste of the Year at Ghana Music Awards USA
46 mins -
Ford Foundation partners foster collaborative solutions for host Community Development Trusts implementation in Nigeria
55 mins -
Appiatse reconstruction: Support Bawumia to do more for Ghana – Richard Ahiagbah to Ghanaians
1 hour -
I wanted Harry Kane at Man United – Ten Hag
1 hour -
Ayorkumi: Stage play on slave trade premieres on May 11
1 hour -
Majority defends GRA-SML deal, insists no wrong was done
2 hours