Defending champion Djokovic fired his 15th ace on match point to defeat Querrey but his serve had been an issue earlier in their second-round encounter.
Rafael Nadal and Roger Federer will set aside their long-time rivalry when they play for Europe against the rest of the world in the inaugural Laver Cup tournament which starts on Friday.
IMAGES from Day 6 of the matches played at the US Open at Flushing Meadows on Saturday.
Benoit Paire made a remarkable Davis Cup debut for France, outplaying Pablo Carreno-Busta 7-5, 6-1, 6-0 in the opening rubber of the World Group semi-final tie against Spain at the Stade Pierre-Mauroy on Friday.
The 20-year-old became the youngest semi-finalist at Melbourne Park since American Andy Roddick, also 20, at the 2003 tournament.
Ferrer, 37, announced earlier in the year he would end his 19-year career at the Madrid Open and prolonged his time on court by a day by beating Roberto Bautista Agut on Tuesday, but was easily overpowered by world number four Zverev.
The Swiss squandered seven set points in the opener and although he took the second on a tiebreak he capitulated in the decider after dropping serve at 1-2, losing 7-5, 6-7(3), 6-1.
Team Europe swept the singles matches at the inaugural Laver Cup on Friday before Australian Nick Kyrgios and American Jack Sock took down top-ranked Rafael Nadal and Tomas Berdych in the doubles to salvage a point for Team World.
A summary of Thursday's play at the US Open.
Images from Day 2 at the US Open played at Flushing Meadows in New York on Tuesday
US Open, the final Grand Slam of the season, starts Monday, August 28, at Flushing Meadows in New York.
Nadal, who got a first-round bye, defeated Richard Gasquet 6-3, 6-4 to advance.
Images from Day 2 of the Australian Open in Melbourne on Tuesday
Alexander Zverev got the better of older brother Mischa at the Citi Open in Washington on Thursday, winning their first meeting at an ATP Tour event 6-3, 7-5.
The Australian fell to the floor in celebration after clinching the victory, before sticking a finger behind his ear and asking the raucous crowd to cheer louder.
A summary of sports events and sports persons, who made news on Friday
It was the Russian's first competitive match since she withdrew from the St Petersburg Open in January.
Images from the action on Day 2 at the Australian Open.
IMAGES from the Miami Masters played in Key Biscayne, Florida on Tuesday
ATP says 'no evidence' against Harrison's racist remarks
Top seed Dominic Thiem was knocked out the Rio Open in the first round on Tuesday, going down 6-3, 6-3 to Laslo Djere.
Polish fifth seed Agnieszka Radwanska was the highest women's casualty at the Miami Open on Saturday, blown away for the second time this year by Croatian Mirjana Lucic-Baroni.
Second seed Sloane Stephens was shocked 2-6, 6-4, 6-2 by Germany's Andrea Petkovic in the second round of the Citi Open on Wednesday, disrupting the American's buildup to her US Open title defence.
Roger Federer suffered a shock 3-6, 6-3, 7-6(4) defeat to Australian wildcard Thanasi Kokkinakis on Saturday that will cost the Swiss his world number one ranking and leaves the Miami men's tournament wide open.
Ukrainian fourth seed Elina Svitolina powered into the third round of the U.S. Open with a 6-4, 6-4 win against Russian Evgeniya Rodina on Thursday.
American qualifier Sachia Vickery completed an astonishing comeback to stun third seed Garbine Muguruza 2-6, 7-5, 6-1 in a second-round win at the BNP Paribas Open in California on Friday.
Roger Federer rallied from a set down to beat Moldovan surprise package Radu Albot 4-6, 7-5, 6-3 in a stuttering start to the 20-times Grand Slam champion's Miami Open campaign on Saturday.
Images from Day 5 of the Australian Open in Melbourne on Friday.
Cilic marches past Querrey into Queen's semis
Former world number one Garbine Muguruza was beaten 7-5, 6-4 by Aryna Sabalenka in the China Open second round on Tuesday while an ailing Jelena Ostapenko lost 6-0, 6-0 to Wang Qiang.
Summary of sports events and persons who made news on Wednesday
The seventh-seeded Bulgarian advanced to his eighth ATP World Tour Masters 1000 quarter-final with a 6-3, 7-5 victory over Del Potro, who struggled with the intense heat in the closing stages of the one hour, 39 minute match.
World number one Simona Halep swatted aside American Nicole Gibbs while Maria Sharapova was flawless in her straight sets victory over Romania's Mihaela Buzarnescu in the opening round of the Shenzhen Open on Monday.
Summary of sports events and persons who made news on Thursday
IMAGES from the Australian Open on Tuesday.