Federer eased past injury-hit Marin Cilic to become the oldest Wimbledon men's champion of the modern era on Sunday, breaking the tie for seven All England Club titles he had shared with Pete Sampras since his last triumph in 2012.
It also gave him a 19th Grand Slam title in his 29th final at the majors.
With his 36th birthday just three weeks away Federer believes that he could still be playing the tournament when he's 40.
"You would think so, if health permitting and everything is okay," said Federer, who won his first Wimbledon title in 2003.
His confidence in his longevity is based on the radical transformation he's made to his playing schedule since his semi-final defeat to Milos Raonic at Wimbledon in 2016.
He immediately shut down his season, missing the Olympics and US Open, to rest a knee injury.
As a consequence, his world ranking slumped to 17 in January, his lowest since 2000.
But the gamble paid off as a rejuvenated Federer won a fifth Australian Open on his return before adding back-to-back Masters at Indian Wells and Miami.
He skipped the clay court season in the knowledge that a fully-fit Nadal was always likely to dominate the French Open.
Back on grass, Federer won a ninth Halle title before easing to his stunning Wimbledon landmark.
Wimbledon, where he became the first man to win the trophy without dropping a set since Bjorn Borg in 1976, was only his seventh tournament of 2017.
By contrast, the unfortunate Cilic was playing his 15th, so it was hardly surprising that wear and tear contributed to his downfall, albeit in the shape of a humble but debilitating blister.