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
-
Akufo-Addo’s Ghana Beyond Aid plan has turned Ghana into a beggar nation – Mahama
2 hours -
Our 24-hour economy initiative was well thought through – Mahama
2 hours -
Bribie Island: Australian man dies after being buried in sand
3 hours -
Hunter Biden hit with 9 tax-related charges in new indictment
3 hours -
Ghana, Korea agreed to work towards fighting misinformation
3 hours -
List of 10 African countries with highest debt to the IMF; Ghana is 7th
4 hours -
Miner in Court over land fraud
4 hours -
Newage Agric Solutions begins the journey to create 145,000 jobs through the Happy Project
4 hours -
Contrary to Ofori-Atta’s assertion, we’ve not turned any corner – Mahama
4 hours -
3 dead, 9 injured in armed attack at Zuarungu
4 hours -
Kenya follows Malawi in sending farm workers to Israel amid Hamas war
5 hours -
Data protection in Africa: The prospects of the Malabo Convention in the digital age
5 hours -
Israel war cabinet minister’s son killed in Gaza fighting
5 hours -
Ghana’s external debts have given some foreigners the right to mine illegally – Former MP
5 hours -
With unity and hard work; Bawumia will win 2024 election – NPP Western Regional Chair
6 hours