The top seed took 74 minutes to set up a last eight meeting with Juergen Melzer.
The two-time Beijing champion broke his 50th ranked opponent in his opening service game and a second break saw him take the opening stanza in 25 minutes.
The Serb, who beat German qualifier Michael Berrer in a tricky three-setter on Tuesday in his first match since losing a dramatic five-set final to Andy Murray at the US Open, then broke Berlocq to 15 in the opening game of the second set.
Djokovic saved a break point in the next game and powered into a 5-0 lead.
But he was broken twice before finally extending his record to 11-0 at the China Open and recorded his 62nd win of the year in the process.
Austria’s Melzer had earlier surprised sixth seed Alexandr Dolgopolov 7-6 2-6 6-1 while Germany’s Florian Mayer downed Romanian wild card Marius Copil, who ousted Marin Cilic on Monday, 3-6 6-3 6-2.
- Michael Berrer