Barcelona and Marc Bartra have reached an agreement to extend the centre-back's contract at Camp Nou until June 2017, the club have announced.
The 23-year-old's current deal is due to expire at the end of the season but the Catalan giants revealed on Wednesday that the defender will sign a new contract in the coming days that will have a buy-out clause of €25 million.
Bartra, who celebrated his birthday on Wednesday, joined the club aged 11 and is a product of La Masia academy at the Blaugrana.
The defender has found regular first-team opportunities difficult to come by with Gerard Pique, Carles Puyol and Javier Mascherano all preferred to the Spain international.
However, the centre-back has made eight league starts this season under coach Gerardo Martino and recently stated to the club's official website that he feels like a more important part of the team.
Meanwhile, the club are also hoping to tie down full-back Martin Montoya, as his contract expires at the end of the season.