Jermaine Easter's stoppage-time goal earned Millwall a draw in an absorbing London derby after QPR had led twice.
Niko Kranjcar put the visitors ahead when he fired in immediately after the home side were denied a penalty.
A neat finish from Scott McDonald levelled matters before Charlie Austin dinked the ball over Lions keeper David Forde to restore QPR's lead.
QPR remain the only unbeaten team in the Championship so far this season
However, in the third minute of added time, Easter worked his way into the area and lashed in a shot.
The visitors had only conceded two goals in their previous 10 league games, but their late lapse left them two points behind Championship leaders Burnley, who have played a game more.
R's boss Harry Redknapp's mood was not helped when the ball was thrown at his face during the match, as pictured above.
Kranjcar was a key player for Rangers and he went close early on when his shot hit the post.
Millwall felt they should have had a penalty for an Austin foul on Liam Trotter, but QPR went up the other end and scored through Kranjcar.
The Lions twice went close before equalising shortly after the break when Trotter dispossessed Richard Dunne and cut the ball back for McDonald to slot in.
But Kranjcar set up Austin to score his sixth goal in as many games to put the visitors back in front before Easter's late intervention denied them victory.
Millwall manager Steve Lomas:
"I thought it was no more than the lads deserved, considering the quality that QPR have.
"We hung in there and got a fine result. To come from behind twice is credit to the lads."
QPR assistant manager Kevin Bond:
"I thought we should have won the game. From a possession point of view we controlled the game.
"They always carried a threat and looked like they might get on the end of something."
Millwall 01 Forde 15 Connolly 28 Malone 10 Bailey 05 Robinson 03 Shittu 29 Waghorn 26 Abdou 27 McDonald (Keogh - 65' ) 06 Trotter (Morison - 72' ) 11 Woolford (Easter - 81' ) Substitutes 04 Wright 08 Easter 09 Morison 12 Lowry 20 Keogh 21 Smith 43 Bywater Queens Park Rangers 01 Green 02 Simpson 39 Assou-Ekotto 17 Barton 05 Dunne 06 Hill 36 O'Neil (Jenas - 88' ) 20 Henry 09 Austin 23 Hoilett (Phillips - 84' ) 19 Kranjcar (Faurlin - 74' ) Substitutes 03 Traore 07 Phillips 16 Jenas 18 Chevantón 26 Murphy 28 Ehmer 32 Faurlin
Ref: Mike Dean