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
-
I want to focus more on my education – Chidimma Adetshina quits pageantry
3 hours -
Priest replaced after Sabrina Carpenter shoots music video in his church
3 hours -
Duct-taped banana artwork sells for $6.2m in NYC
4 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
4 hours -
Actors Jonathan Majors and Meagan Good are engaged
4 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
4 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
4 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
4 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
5 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
5 hours -
‘Everything a manager could wish for’ – Guardiola signs new deal
5 hours -
TEWU suspends strike after NLC directive, urges swift resolution of grievances
5 hours -
Netflix debuts Grain Media’s explosive film
5 hours -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
6 hours -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
6 hours