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
-
Two granted GH¢800,000 bail each for causing damage
4 hours -
Parliament approves new GH¢1 fuel levy after minority walkout
4 hours -
Ofori-Atta’s legal team losing public sympathy – Prof Ansa-Asare
4 hours -
Tesla executives questioned Musk after he denied killing $25,000 EV project, sources say
5 hours -
Oreo maker sues Aldi in US over ‘copycat’ packaging
5 hours -
US steel and aluminium tariffs doubled to 50%
5 hours -
Ghana’s legal education debate: Are we expecting too much too soon?
5 hours -
Alcaraz storms through to semi-final with Musetti
6 hours -
Black Queens wrap up Abidjan training tour with defeat to Côte d’Ivoire
6 hours -
Inzaghi leaves Inter Milan ‘by mutual agreement’
6 hours -
‘Man Utd didn’t need the money’ – Fernandes rejects Al-Hilal move
6 hours -
Cybercrime ringleader, 10 others remanded in custody
6 hours -
Gov’t to expand student loans to all tertiary institutions – Education Minister
6 hours -
WaterAid Ghana, Guinness Ghana commission water project in Upper West Region
6 hours -
Energy levy: ‘You can’t continue pouring water into a leaking bucket’ – COPEC warns
6 hours