The Swiss native struggled to beat unseeded Richard Gasquet of France, 7-6 (9-7), 6-7 (9-7), 6-4, in the second round. The win ran Federer's grass-court winning streak to 38 straight matches.
"It was very close," he said. "It is hard for me to play consistently from the baseline and that is where he had the edge today."
Seventh-seeded Olivier Rochus of Belgium was a 4-6, 6-4, 6-1, victor over Russia's Marat Safin Thursday. Other winners included fifth-seeded Tomas Berdych of the Czech Republic; No. 6 seed Tommy Haas of Germany; unseeded Robin Soderling of Sweden; and France's Fabrice Santoro.