After breaking Almagro's service in the second game of the final set, Djokovic made an exaggerated roundhouse fist pump at the back of the court, much to the delight of flag-waving Serbian fans in the crowd.
The third-seeded Djokovic, who won the 2008 Australian Open, faces either No. 6 Tomas Berdych or No. 9 Fernando Verdasco in the quarterfinals. He leads Berdych 4-1 and Verdasco 5-4 in previous meetings.