Chris Willock's sixth goal of the season earned QPR a fifth win in seven games as they beat Championship leaders Sheffield United 1-0 at Bramall Lane.
The Hoops had lost each of their last five meetings against United but Willock's 51st-minute effort ended that sequence as the hosts suffered a first defeat in 10 matches.
Victory also meant fourth-placed QPR closed the gap on the Championship leaders to three points.
Paul Heckingbottom's men had earlier made a confident start with Chris Basham's 20-yard half-volley calling Rangers keeper Seny Dieng into action.
Oliver Norwood also fired over from distance before a Tommy Doyle effort was routinely gathered by Dieng.
Just before the quarter-hour mark, a more threatening Doyle strike whistled wide of the away goal from 30 yards out.
Having withstood the early pressure, QPR then began to make their presence felt with captain Ilias Chair brilliantly ghosting past John Egan and Basham before forcing a near-post save from Wes Foderingham in the 25th minute.
The Blades were soon back on the offensive, however, with Egan dragging a volley across the face of goal and George Baldock's far-post header bouncing wide following a Jayden Bogle cross.
Iliman Ndiaye and Bogle then both created chances for themselves after drifting into the box from the left flank - the former guided his 10-yard shot just past the far post and the latter's firm drive was punched away by Dieng.
On the stroke of half-time, Bogle also sliced an edge-of-the-box opportunity well off target.
The Londoners went on to start the second period with greater purpose, as Tyler Roberts volleyed over from the edge of the box before Willock made the breakthrough.
After receiving a square pass from Ethan Laird through the right channel, the former England under-20 international beat Foderingham from a narrow angle at his near post after firing in between the ex-Swindon keeper's legs.
In response, a curling Norwood shot was excellently pushed around his left-hand upright by Dieng but QPR were back on the front foot moments later with Foderingham saving a Lyndon Dykes drive with his legs and Roberts' goalbound follow-up effort deflecting narrowly wide.
Looking for attacking inspiration, Heckingbottom hailed Billy Sharp off the bench and the veteran striker headed over shortly afterwards.
Egan also cleared the crossbar after leaping highest to meet Norwood's corner and further headers from Ndiaye and Rhian Brewster also missed the target as did a powerful strike from distance by Norwood.
Sander Berge saw a 20-yard attempt blocked by the determined visitors defence, who survived strong appeals for a home penalty in the third minute of stoppage time when Andre Dozzell grabbed a good handful of the Norwegian midfielder's shirt.
QPR: Dieng, Laird, Balogun, Dunne, Paal, Amos (Iroegbunam 77), Field, Dozzell, Roberts (Clarke-Salter 66), Chair (Adomah 77), Willock (Dykes 56). Unused subs: Dickie, Johansen, Archer.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here