Federer eased into his 12th Wimbledon quarter-final with a 6-1, 6-4, 6-4 win over Tommy Robredo, a victory headlined by a perfect second set.
Australian Open champion Wawrinka, the fifth seed, made his first last-eight date at the All England Club at the 10th attempt by seeing off Spain's Feliciano Lopez 7-6 (7/5), 7-6 (9/7), 6-3.
Federer will start as overwhelming favourite having a 13-2 record over his 2008 Olympic Games gold medal partner.
Federer allowed fellow 32-year-old Robredo just three points off his serve in the first set and then none at all in the second with the 17-time Grand Slam title winner claiming 20 out of 20 points on service.
More From This Section
In all, Robredo won just 14 points on the Federer serve as the Swiss star went level with Boris Becker in joint second place for most match wins at the tournament on 71.
It was Federer's 11th win in 12 meetings with 23rd seed Robredo and avenged his loss to the Spaniard in the fourth round of the US Open last year.
"I am very happy with the way I played today. Tommy got better as the match went on," said Federer.
"I had a great first week and now I have started the second week well. I'm in another quarter-final and you feel as if you are closer to the finish line. I am serving well, returning well and my movement is good.
"I feel OK on court. I don't worry about what the press or the experts might say. My game is right there as long as I don't have any hiccups or letdowns.