KEY BISCAYNE, Fla. -- Serena Williams looked right at home, and not just because her purple dress matched the color of the court.
Playing in her backyard tournament for the first time since 2009, the five-time champion beat wild card Zhang Shuai 6-2, 6-3 on Thursday at the Sony Ericsson Open.
The victory marked Williams' return to tournament tennis after a two-month absence. It was her first match at Key Biscayne since she lost to Victoria Azarenka in the final three years ago.
"I was really nervous out there," Williams said. "I haven't played here for so long, and I wanted to do well. My worst fear actually was as long as I don't hit a ball in the stands, I'll be good. I didn't do that today, so it worked out well for me."
Williams lives two hours up Interstate 95 in Palm Beach Gardens, Fla., with sister Venus, who won Wednesday playing her first singles match since August.
American Ryan Harrison, a wild card entry, rallied past Polito Starace 6-7 (6), 6-4, 6-4 and will next face two-time champion Roger Federer. The second-round match will be a gauge of progress for the 19-year-old Harrison, who is ranked 73rd but has yet to beat a top-10 player.
"He's very talented," Federer said, "and I'm sure he's going to be making his move up the rankings very easily this year and in the coming years. He has a big game."
Reigning U.S. Open champion Samantha Stosur beat qualifier Valeria Savinykh 6-4, 6-0.
Health issues prevented Williams from playing at Key Biscayne in 2010 and 2011, and a left ankle injury has slowed her this year. Aside from two Fed Cup victories in February, she was playing for the first time since she lost in the fourth round at the Australian Open.
Williams, who received a first-round bye because she's seeded 10th, looked fit but rusty and endured some sloppy moments. At one point she froze in a pose behind the baseline, hands on her hips as she fumed after making a flurry of mistakes.
"I got a little frustrated," she said. "My frustration is more like a motivation frustration, so it helps me."
While her returns were erratic, she served six aces and lost only seven of 34 points on her first serve.
Williams said she found her older sister's first-round victory inspiring. Venus was diagnosed last summer with a fatigue-causing autoimmune disease, and Serena has tried to help her sister adjust to a restricted diet by keeping unhealthy food out of the kitchen.
Best friends since childhood, the sisters continue to share a home as celebrity millionaire adults, and Serena laughed when asked about the arrangement.
"Yeah, we probably should have moved out a long time ago," she said. "Honestly, it's ridiculous now, like we have kind of held each other back.
"Hey, we're in for the long run. That's like my husband. We're always laughing together. You know, I tell her everything, so it's fun."