Liam Kelly has committed his future to Rangers by signing a new contract until 2028.
The 30-year-old goalkeeper was in the final stages of the contract he signed when he returned to Rangers two years ago, but has now extended his stay at Ibrox.
He will be part of Danny Rohl's squad as they aim for the Premiership title next season.
Kelly said: "I'm delighted to extend my stay here at Rangers.
"Coming back to the club has been a special experience and I love being here.
"We've got a really strong and competitive goalkeeping department, which pushes us all to improve every day, and it's certainly an environment I enjoy being part of.
"It's exciting to commit to what the club is desperate to achieve, and I'm looking forward to continuing to work as hard as I can with my teammates to do our utmost to create special memories for our fans in the years ahead."
The extension comes as Kelly is in America with Steve Clarke's squad, preparing for Scotland's World Cup opener against Haiti this weekend.
He is expected to be behind Angus Gunn and Craig Gordon in the pecking order this summer as Scotland also prepare for matches with Morocco and Brazil.
Danny Rohl, Rangers manager, said: "We're thrilled that Liam has signed a contract extension.
Read more
Why ex-Scotland boss backs Scottish FA decision on Steve Clarke and Haiti prediction SPFL manager set for quickfire club reunion after landing Championship vacancy
"He is a consummate professional who sets a brilliant example in his everyday work.
"Whether it’s on the pitch, on the training ground or supporting his teammates behind the scenes, his attitude and commitment never waver.
"Liam’s experience and knowledge of this football club are invaluable.
"He understands exactly what it means to represent the badge, and we're pleased that he'll continue to play a key role as we look to achieve our goals."
The deal for Kelly follows the arrival of his international team-mate, Lawrence Shankland, earlier this summer.
The striker completed a switch from Hearts by penning a two-year contract, with the option of a third.
Rangers also remain in discussions with Bailey Rice over a deal to keep him in Glasgow for the coming years.
Rice has spent recent days at a training camp in Marbella to get himself in shape for pre-season after an injury-hit campaign.
The Rangers Review understands no contract has yet been agreed as Rice considers his options.
The 19-year-old has previously been linked with the likes of Ajax and Schalke O4 but Rangers are keen to tie him down and provide a pathway to first team football in the coming seasons.