The Republic of Ireland international has triggered an extension to his current deal after featuring in over 30 games this season
The 34-year-old, who joined the Championship side last summer, said that he was "delighted" to sign a new deal and said that he was pleased to play so many games after injury ruled him out of action for a year last season.
"I am delighted. After missing a year through injury, to come back and play so many games is great," Dunne told the club's official website. "There is naturally always that worry that the injury may go again, so to play as regularly as I have has been brilliant.
"If we can kick on now and finish on a high, that would be the ultimate end to the season."
QPR are currently in the hunt for a return to the Premier League, sitting third in the Championship and the Republic of Ireland international says that promotion remains their main focus.
"The aim from the start of this season was to win promotion to the Premier League and that remains the case. That’s all we’re concentrating on at the moment," added Dunne.
"Whatever happens at the end of May, we’ll prepare accordingly for next season and for whatever challenge that brings."