left herself too much to do in the second set.
“I had little times where I did come back, but I was always behind,” said Sharapova, who was broken four times in the contest. “I put myself in a situation that was too far behind to come back from.”
Gavrilova lives and trains in Australia, where she is coached with funding from the Australian federation and is pursuing Australian citizenship.
The triumph was her first against a top-10 player after four prior chances. She had never before beaten anyone ranked higher than 35th.
Remaining women’s seeds fared better, with six of the top 16 making it through to the third round.
Number four Caroline Wozniacki lost just one game in a 6-0, 6-1 hammering of Madison Brengle, while Polish seventh seed Agnieszka Radwanska defeated Anna Schmiedlova 6-4, 7-5.
Eighth-seeded Russian Ekaterina Makarova, German ninth seed Andrea Petkovic, 12th-seeded Spaniard Carla Suarez Navarro, number 15 Karolina Pliskova of Czech Republic and 16th-seeded Venus Williams all advanced.
Williams, playing her first match since February 27, defeated Radwanska’s younger sister Urszula 6-3, 6-2 to set up a meeting with Australian Sam Stosur.
In men’s play, Canadian Vasek Pospisil spoiled Juan Martin del Potro’s return from injury with a 6-4, 7-6 (9/7) first-round win over the former US Open champion.
Argentina’s del Potro showed the rust after months of left wrist injury rehab in a contest lasting a shade under two hours.
The former world number four, who has slumped to 616 in the rankings, double-faulted on a set point which would have levelled the contest at a set each.
He saved one match point with an ace before succumbing with a service return long.
Del Potro, who had come back from right wrist surgery in 2010, underwent surgery on his left wrist last March.
He finished the 2014 season outside the top 100 for the first time since 2005 after contesting just four tournaments during the year.
Del Potro made an aborted comeback attempt in January before pulling out of the Australian Open because of pain in the wrist and underwent a second surgery two months ago.
Despite the defeat, he said he believes he’s heading in the right direction.
“I don’t feel frustrated, I have to take the positive things on my comeback,” del Potro said. “It doesn’t matter the score for now ... I just wanted to play tennis and without pain.”