QPR came from 2-0 down with just 13 minutes remaining to beat Liverpool 3-2 in an incredible match at Loftus Road.
The home side looked well beaten trailing to goals from Sebastian Coates and Dirk Kuyt before they roused themselves with strikes by Shaun Derry and Djibril Cisse, before Jamie Mackie's late winner.
Liverpool started the match with Luis Suarez on his own up-front, supported by Steven Gerrard, Stewart Downing and Dirk Kuyt.
In a critical game for QPR as they fought to try and extricate themselves from the Premier League's relegation zone, manager Mark Hughes again selected new striking pair Bobby Zamora and Cisse.
It was Liverpool who had the better of the early going and could well have gone in front after just five minutes.
Charlie Adam set-up Luis Suarez, but the Uruguayan could only shoot tamely at QPR keeper Paddy Kenny.
Although Liverpool were having the better of things, QPR came close to grabbing the lead when Cisse's shot from outside the box fizzed just wide of Pepe Reina's goal.
Liverpool would finally get the breakthrough courtesy of a quite spectacular strike.
After the ball was cleared skyward from a corner, substitute Sebastian Coates rose from the turf and smashed a perfectly executed side-scissor kick that rocketed past Kenny.
Everything seemed to be rosy for Liverpool when they doubled their lead in the 72nd minute. After Suarez's shot rebounded off the post, Downing's effort was parried by Kenny before falling to Kuyt, who pounced from close range.
But QPR got themselves back into the game just five minutes later through stalwart Shaun Derry's towering header from Adel Taarabt's corner.
And QPR got themselves back on level terms through former-Liverpool striker Cisse's header from Taye Taiwo's excellent cross from the left.
Incredibly, QPR's comeback was not done there. In injury time, a slip by Jose Enrique allowed Mackie to run through on goal and send the home fans into raptures by firing low past Reina.
The win gives QPR what could prove a crucial three points in their battle for survival at the foot of the Premier League.