Roger Federer and Novak Djokovic played each other 50 times on the ATP tour, with Novak leading their H2H 27 – 23.
The first Federer vs Djokovic match was in the first round of the 2006 Monte-Carlo Masters, which Roger won in three sets (6-3, 2-6, 6-3).
Their last match was in the semifinals of the 2020 Australian Open, with Novak winning in straight sets (7-6, 6-4, 6-3).

Federer vs Djokovic H2H Stats
| Roger Federer | vs | Novak Djokovic |
|---|---|---|
| 1981 | Year born | 1987 |
| 1998 | Year turned Pro | 2003 |
| Swiss | Nationality | Serbian |
| Right handed | Plays | Right handed |
| One handed backhand | Backhand | Two handed backhand |
| 23 | Matches won | 27 |
| 46% (23/50) | Winning Percentage | 54% (27/50) |
| 18 | Hard courts | 20 |
| 4 | Clay | 4 |
| 1 | Grass | 3 |
| 6 | Finals | 13 |
| 1 | Grand Slam Finals | 4 |
| 3 | Masters 1000 Finals | 5 |
| 3 | ATP World Tour Finals | 3 |
Head to Head at the Grand Slams
Roger Federer and Novak Djokovic played each other a total of 17 times in grand slam tournaments with Novak leading the grand slam H2H 11-6.
Roger and Novak played each other four times at Wimbledon (2012, 2014, 2015, and 2019), twice at Roland Garros (2011 and 2012), five times at the Australian Open (2007, 2008, 2011, 2016, and 2020), and six times at the US Open (2007, 2008, 2009, 2010, 2011 and 2015).
| Grand Slam | Djokovic | Federer | H2H |
|---|---|---|---|
| Australian Open | 4 | 1 | 4-1 |
| Roland Garros | 1 | 1 | 1-1 |
| Wimbledon | 3 | 1 | 3-1 |
| US Open | 3 | 3 | 3-3 |
Out of the 17 matches they played in grand slam tournaments, five of the matches were in the final, 11 were in the semi-final and one was in the 4th round.
Their first grand slam match was at the Australian Open in 2007, with Roger winning the match in straight sets (6-2, 7-5, 6-3).
The last Grand Slam match they played against each other was in the semifinals of the 2020 Aussie Open with Novak winning the match in straight sets (7-6, 6-4, 6-3).
| Year | Tournament | Round | Winner | Score |
|---|---|---|---|---|
| 2020 | Australian Open | SF | Djokovic | 7-6, 6-4, 6-3 |
| 2019 | Wimbledon | Final | Djokovic | 7-6, 1-6, 7-6, 4-6, 13-12 |
| 2016 | Australian Open | SF | Djokovic | 6-1, 6-2, 3-6, 6-3 |
| 2015 | US Open | Final | Djokovic | 6-4, 5-7, 6-4, 6-4 |
| 2015 | Wimbledon | Final | Djokovic | 7-6, 6-7, 6-4, 6-3 |
| 2014 | Wimbledon | Final | Djokovic | 6-7, 6-4, 7-6, 5-7, 6-4 |
| 2012 | Wimbledon | SF | Federer | 6-3, 3-6, 6-4, 6-3 |
| 2012 | Roland Garros | SF | Djokovic | 6-4, 7-5, 6-3 |
| 2011 | US Open | SF | Djokovic | 6-7, 4-6, 6-3, 6-2, 7-5 |
| 2011 | Roland Garros | SF | Federer | 7-6, 6-3, 3-6, 7-6 |
| 2011 | Australian Open | SF | Djokovic | 7-6, 7-5, 6-4 |
| 2010 | US Open | SF | Djokovic | 5-7, 6-1, 5-7, 6-2, 7-5 |
| 2009 | US Open | SF | Federer | 7-6, 7-5, 7-5 |
| 2008 | US Open | SF | Federer | 6-3, 5-7, 7-5, 6-2 |
| 2008 | Australian Open | SF | Djokovic | 7-5, 6-3, 7-6 |
| 2007 | US Open | Final | Federer | 7-6, 7-6, 6-4 |
| 2007 | Australian Open | Round of 16 | Federer | 6-2, 7-5, 6-3 |
Head to Head By Court Surface
Grass
Roger and Novak played each other four times on grass (all at Wimbledon) with Novak leading their H2H on this surface 3-1.
Three out of the four matches they played on grass were in a Wimbledon final with the 2019 final being widely regarded as one of the best Wimbledon finals ever.
| Year | Tournament | Round | Winner | Score |
|---|---|---|---|---|
| 2019 | Wimbledon | Final | Djokovic | 7-6, 1-6, 7-6, 4-6, 13-12 |
| 2015 | Wimbledon | Final | Djokovic | 7-6, 6-7, 6-4, 6-3 |
| 2014 | Wimbledon | Final | Djokovic | 6-7, 6-4, 7-6, 5-7, 6-4 |
| 2012 | Wimbledon | SF | Federer | 6-3, 3-6, 6-4, 6-3 |
Clay
They played each other a total of eight times on clay courts with their head to head tied at four wins each (4-4), with their 2015 Rome Masters match being the only one of their clay court matches that was in a final.
| Year | Tournament | Round | Winner | Score |
|---|---|---|---|---|
| 2015 | Rome Masters | Final | Djokovic | 6-4, 6-3 |
| 2014 | Monte Carlo Masters | SF | Federer | 7-5, 6-2 |
| 2012 | Roland Garros | SF | Djokovic | 6-4, 7-5, 6-3 |
| 2012 | Rome Masters | SF | Djokovic | 6-2, 7-6 |
| 2011 | Roland Garros | SF | Federer | 7-5, 6-3, 3-6, 7-6 |
| 2009 | Rome Masters | SF | Djokovic | 4-6, 6-3, 6-3 |
| 2008 | Monte Carlo Masters | SF | Federer | 6-3, 3-2 (Novak retired) |
| 2006 | Monte Carlo Masters | Round of 64 | Federer | 6-3, 2-6, 6-3 |
Hard Courts
They played each other a total of 38 times on hard courts (indoor and outdoor) with Novak leading the H2H record on this court surface 20-18.
The 38 matches do not include a walkover Novak received when Roger was forced to pull out of the 2014 ATP Finals.
| Year | Tournament | Round | Winner | Score |
|---|---|---|---|---|
| 2020 | Australian Open | SF | Djokovic | 7-6, 6-4, 6-3 |
| 2019 | ATP Finals | Group Stage | Federer | 6-4, 6-3 |
| 2018 | Paris Masters | SF | Djokovic | 7-6, 5-7, 7-6 |
| 2018 | Cincinnati | Final | Djokovic | 6-4, 6-4 |
| 2016 | Australian Open | SF | Djokovic | 6-1, 6-2, 3-6, 6-3 |
| 2015 | ATP Finals | Group Stage | Federer | 7-5, 6-2 |
| 2015 | ATP Finals | Final | Djokovic | 6-3, 6-4 |
| 2015 | US Open | Final | Djokovic | 6-4, 5-7, 6-4, 6-4 |
| 2015 | Cincinnati | Final | Federer | 7-6, 6-3 |
| 2015 | Indian Wells | Final | Djokovic | 6-3, 6-7, 6-2 |
| 2015 | Dubai | Final | Federer | 6-3, 7-5 |
| 2014 | Shanghai Masters | SF | Federer | 6-3, 6-4 |
| 2014 | Indian Wells | Final | Djokovic | 3-6, 6-3, 7-6 |
| 2014 | Dubai | SF | Federer | 3-6, 6-3, 6-2 |
| 2013 | ATP Finals | Group Stage | Djokovic | 6-4, 6-7, 6-2 |
| 2013 | Paris Masters | SF | Djokovic | 4-6, 6-3, 6-2 |
| 2012 | ATP Finals | Final | Djokovic | 7-6, 7-5 |
| 2011 | US Open | SF | Djokovic | 6-7, 4-6, 6-3, 6-2, 7-5 |
| 2011 | Indian Wells | SF | Djokovic | 6-3, 3-6, 6-2 |
| 2011 | Dubai | Final | Djokovic | 6-3, 6-3 |
| 2011 | Australian Open | SF | Djokovic | 7-6, 7-5, 6-4 |
| 2010 | ATP Finals | SF | Federer | 6-1, 6-4 |
| 2010 | Basel | Final | Federer | 6-4, 3-6, 6-1 |
| 2010 | Shanghai Masters | SF | Federer | 7-5, 6-4 |
| 2010 | US Open | SF | Djokovic | 5-7, 6-1, 5-7, 6-2, 7-5 |
| 2010 | Canadian Masters | SF | Federer | 6-1, 3-6, 7-5 |
| 2009 | Basel | Final | Djokovic | 6-4, 4-6, 6-2 |
| 2009 | US Open | SF | Federer | 7-6, 7-5, 7-5 |
| 2009 | Cincinnati | Final | Federer | 6-1, 7-5 |
| 2009 | Miami | SF | Djokovic | 3-6, 6-2, 6-3 |
| 2008 | US Open | SF | Federer | 6-3, 5-7, 7-5, 6-2 |
| 2008 | Australian Open | SF | Djokovic | 7-5, 6-3, 7-6 |
| 2007 | US Open | Final | Federer | 7-6, 7-6, 6-4 |
| 2007 | Canadian Masters | Final | Djokovic | 7-6, 2-6, 7-6 |
| 2007 | Dubai | Quarter-Finals | Federer | 6-3, 6-7, 6-3 |
| 2007 | Australian Open | Round of 16 | Federer | 6-2, 7-5, 6-3 |
| 2006 | Davis Cup | Davis Cup match | Federer | 6-3, 6-2, 6-3 |
H2H by Year
They first played each other in 2006 (Monte Carlo) and in total, they faced each other 50 times on the main ATP tour.
Their last match, before Roger retired in 2022, was in the semifinals of the 2020 Australian Open, which Novak won in straight sets (7-6, 6-4, 6-3)
| Year | Matches | Federer | Djokovic | H2H |
|---|---|---|---|---|
| 2006 | 2 | 2 | 0 | 2-0 |
| 2007 | 4 | 3 | 1 | 5-1 |
| 2008 | 3 | 2 | 1 | 7-2 |
| 2009 | 5 | 2 | 3 | 9-5 |
| 2010 | 5 | 4 | 1 | 13-6 |
| 2011 | 5 | 1 | 4 | 14-10 |
| 2012 | 5 | 2 | 3 | 16-13 |
| 2013 | 2 | 0 | 2 | 16-15 |
| 2014 | 5 | 3 | 2 | 19-17 |
| 2015 | 8 | 3 | 5 | 22-22 |
| 2016 | 1 | 0 | 1 | 22-23 |
| 2017 | 0 | 0 | 0 | 22-23 |
| 2018 | 2 | 0 | 2 | 22-25 |
| 2019 | 2 | 1 | 1 | 23-26 |
| 2020 | 1 | 0 | 1 | 23-27 |
| 2021 | 0 | 0 | 0 | 23-27 |
| 2022 | 0 | 0 | 0 | 23-27 |
Below are match highlights from their last match on tour at the 2020 Australian Open.