Murray, a two-time champion at the All England Club, has been limping over the last couple of sets.
"I'm still in shock myself", Querrey said after wrapping victory with his 27th ace. It's sore. I tried my best. You know, gave everything I had.
There is no chance of a repeat final this year, though, after Murray, who was hampered by his hip injury, lost in five sets to Querrey.
It would also take him to 19 career majors and make him the oldest champion at Wimbledon in the Open era. "He played a phenomenal game in the beginning to break me".
The Scot won just nine points on serve in each of the fourth and fifth sets, with an average serve speed down at just 108mph, allowing Querrey to tee off on the return.
Djokovic came into the match with a 25-2 head-to-head record against Berdych but retired while trailing 7-6 (2), 2-0 on No.1 Court. The contrast between Federer and Murray and Djokovic on Wednesday was impossible to ignore.
Federer said Murray had gained his respect for trying to defend his Wimbledon title despite probably aware that his injury could render him incapable of doing so.
"We were looking at short-term solutions and managed to get through a bunch of matches and did OK".
A masterclass. I can't believe he is playing at that level at the age of 35. "Yeah, that's what I'll try and do".
Querrey is trying to become the first American man to reach the semifinals at a major tournament since Andy Roddick was the Wimbledon runner-up in 2009.
The Swiss has yet to drop a set in the tournament. "You want them to be healthy again", he said in a media conference.
"I haven't played well enough this year to deserve to stay there for much longer".
"I'll sit down with my team tomorrow and come up with a plan for what I have to do next".
"I like his serve and his forehand, and his backhand's got better, but it comes down to movement and getting balls back and Andy's one of the greatest returners in our game, so he's going to find a solution". It's nice to see different guys.