Novak Djokovic drew level with Roger Federer and Rafael Nadal on 20 grand slam titles after battling back to beat Matteo Berrettini and defend his Wimbledon crown.

Sunday's final was the first since 2019, when Djokovic had to be at his best to edge Federer in one of the All England Club's great matches.

The top seed scarcely came close to that same standard against Berrettini, nor did he need to despite falling behind in a first-set tiebreak, allowing his opponent – a major final debutant – to defeat himself at times.

A 6-7 (4-7) 6-4 6-4 6-3 success earned Djokovic parity with Federer and Nadal, and he may well be out on his own as he shows few signs of slowing while his ageing rivals each manage their schedules.

Even in command of the one set he dropped, Djokovic survived a sloppy start to break at the second attempt as his opponent skewed a forehand into the sidelines and piled on the pressure again in a long eighth game.

But he faltered when serving for the set, with Berrettini's chipped forehand pass restoring parity, which was then protected with a roar to reach a tiebreak.

The pair traded mini-breaks before Berrettini seized the initiative, stepping forward for a superb forehand winner and serving out the set with a blistering ace.

Djokovic promptly claimed control of the second, though, alert at close range to break a first time and two up when Berrettini bowed to the third chance in the third game, firing into the net.

Berrettini did not give up the chase, following an outrageous tweener lob for 5-2 with a break back after Djokovic's slip and then a further frantic hold.

However, the world number one this time successfully served out the set to love and once more made swift progress in the third, holding his nerve in a backhand rally until Berrettini clipped the net.

Djokovic saved a pair of break points at 3-2 and kept Berrettini at arm's length thereafter to see out the set.

Berrettini took the fight to the favourite in the fourth but merely succeeded in provoking his best play of the match, a staggering point in which the breathless Djokovic held firm setting the stage for a break in the next game – decided by a double fault.

With the end in sight, rather than face the challenge of serving for game, set, match and championship, Djokovic went on the offensive again and Berrettini could not cling on, slicing into the net at the last.

Data Slam: Berrettini brave but beaten

Berrettini's aggressive approach meant this match was always likely to be decided on his racket. His 16 aces improved a tournament-high tally to 117 and fittingly included the decisive point in the first set. There were also 57 Berrettini winners, including three from approach shots in that opener. But the 48 unforced errors to the risk-averse Djokovic's 21 took the contest away from the Italian.

WINNERS/UNFORCED ERRORS
Djokovic – 31/21
Berrettini – 57/48

ACES/DOUBLE FAULTS
Djokovic – 5/4
Berrettini – 16/3

BREAK POINTS WON
Djokovic – 6/15
Berrettini – 2/7