Federer (34), who sought to become the oldest US Open champion in 45 years, fought hard to win the second set, but conceded defeat in the next two sets. Federer, a 17-time Grand Slam champion, had last won a Grand Slam in 2012 with Wimbledon Open.
Djokovic had won Australian Open and Wimbledon Open in 2015.