Javier Mascherano had been linked with a move away from Camp Nou during the summer transfer window, while there was also understood to be lingering interest from the Chinese Super League.
However, the Argentine has now agreed to commit his future to the Spanish champions until 2019 and will sign the contract on Monday.
“The signing of the player Javier Mascherano’s contract extension with FC Barcelona will take place on Monday, October 17. The extension will tie Javier Mascherano to the FC Barcelona until 30 June 2019,” read a statement on the club’s official website.
Mascherano has made 289 appearances for Barca since joining from Liverpool in 2010, winning 17 trophies in the process.