The Argentine defender would extend his stay at Camp Nou to just under a decade if he comes to the end of his new deal - but he will not look to stay beyond 2019
Javier Mascherano expressed his delight in signing a new contract to keep him at Barcelona, while signalling that he would not seek a further extension.
The Argentine put pen to paper on a three-year contract on Monday, which will keep him at the club until June 2019.
But he warned he would be leaving Camp Nou when the deal expired, while giving little clue of what the future would hold afterwards.
"This will be my last contract here, I can tell you that," he affirmed to Barcelona's official television channel.
"I hope I am remembered as a good person, and to be able to go back to Barcelona in 15 years and say hello to the fans, to have the doors open at a place I have been for so long.
"The titles are in the trophy case, but when this finishes it is the person who remains."
For the present, however, the 32-year-old defender admitted he was thrilled to be staying at the Catalan club, where he has played since moving from Liverpool in 2010.
"I am delighted to stay in this house, that has been my home for the last six years," he beamed.
"It is the club at which I have spent the most time and that makes me happy, it is obviously a cause for great pride. It is not easy to stay so long in such a competitive, demanding club, my goal for the future is to maintain their trust."