The 33-year-old played an integral role as Rangers won the npower Championship last season, which ended the club's 15-year absence from the top flight. While much of the recent talk has been about incoming players after Tony Fernandes' takeover, QPR have moved to ensure Derry will remain at Loftus Road beyond this season.
"I'm absolutely chuffed to bits," he told the club's official website, www.qpr.co.uk.
"The stage the club is at with the new owners and the calibre of players we're attracting to the football club is something special and I'm just delighted to be part of it.
"It's no secret that I want to get into coaching and then hopefully management when my playing career finishes.
"Hopefully I'll get the opportunity to do that at this fantastic football club."
QPR boss Neil Warnock brought Derry to the club last summer from former club Crystal Palace and is pleased to reward the midfielder.
"Tony has been so impressed with Shaun since his arrival at the club and this is just a show of faith for what he does for the club," he said.
"He's got a few ideas about going into coaching when he finishes playing and at a club like ours, where the new owners have got so many long-term plans, there will undoubtedly be a role for him.
"He's still got a massive impact to make as a player here first and foremost and that's what I want him to focus on at the moment, but I think he can start having an input off the field too."
Source: PA
Source: PA