Eight-time champion Federer racked up his 100th match win at Wimbledon and reached his 13th semi-final with a 4-6, 6-1, 6-4, 6-4 defeat of Japan's Kei Nishikori.
The 37-year-old will be playing in the semi-finals of a major for the 45th time.
Nadal, the two-time champion, made the last-four for the seventh time and 32nd at the Slams, by beating Sam Querrey 7-5, 6-2, 6-2.
Friday's semi-final will be the pair's 40th meeting and third at Wimbledon after Federer won the 2006 and 2007 finals before Nadal swept to his famous 2008 triumph.
The other semi-final will see four-time champion and top seed Novak Djokovic tackle Roberto Bautista Agut, the 23rd-seeded Spaniard who has made the last-four at a major for the first time.
Federer is also the oldest man to make the semis of a major since Jimmy Connors at the 1991 US Open.
"We have a lot of information on Rafa and so does he about us. I know people always hype it up in a big way," said 20-time major winner Federer.
"They did that again in Paris this year (when Nadal won their semi-final in straight sets). I'd love to play against him here at Wimbledon.
"But I go about it like every other match."
Nadal, who was also champion in 2010, broke Querrey six times, sent down 10 aces and 44 winners in a convincing display which will give him great hope of beating Federer for the 25th time.
"It's great (to be facing Federer at Wimbledon again)," said 33-year-old Nadal whose recent 12th Roland Garros victory took him to 18 Slam titles.
"It's difficult to imagine to be again in that situation and here we are. I'm excited to play against Roger here at Wimbledon again after such a long time."
Federer said he was unaware that he had become the first man to claim 100 wins at the same Slam.
"I didn't think of it while I was playing today. Actually not at all, not once. Then as I'm signing, a guy in the crowd says, Congratulations for your 100. Oh, yeah, I didn't know. I forgot."
Djokovic reached the semi-finals for the ninth time, racking up his 70th career win at the All England Club in the process.
The defending champion hit back from a break down in the first set to carve out a commanding 6-4, 6-0, 6-2 win over 21st seed David Goffin of Belgium.
In a ruthless display, Djokovic reeled off 15 of the last 17 games to secure a place in the semi-finals of the majors for the 36th time.
Next up is Bautista Agut, who made his first Grand Slam semi-final with a 7-5, 6-4, 3-6, 6-3 victory over Argentina's Guido Pella.
"He started well and was dictating play from the baseline," 32-year-old Djokovic said of Goffin.
"Things could have gone a different way if I had lost the first set but I was very pleased with the second and third.
He added: "I had a tough match in the third round (against Hubert Hurkacz). Other than that, I've won in straight sets and played really well.
"It's exactly what I wantedRead More – Source