Charlton’s hopes of avoiding relegation from the Championship were dented severely by Nasser el Khayati’s stoppage-time winner for QPR.
El Khayati’s curler sealed a defeat that left the Addicks 10 points adrift of safety with five games left.
Jordan Cousins looked to have earned the visitors a point when he fired in from the edge of the box on his left just after the hour mark.
Matt Phillips had earlier given Rangers a fortuitous lead with a cross-shot.
The visitors went into the game on the back of a two-match unbeaten run, but found mid-table Rangers too tough to handle.
Seb Polter and Tjaronn Chery had chances before Phillips’ opener, while Jose Riga’s side were limited to Callum Harriott’s shot off the bar.
Cousins scored against the run of play, but Ademola Lookman and Igor Vetokele passed up great chances to put Charlton in front.
And El Khayati’s strike lit up Loftus Road and ensured a miserable trip back to south-east London for the seemingly doomed Addicks.