“The deal will be signed in the coming weeks, when Messi returns to the team for pre-season training,” the club said in a statement.
The club gave no details about the contract that will keep the Argentinian megastar and five times Ballon d’Or winner at Camp Nou until his reaches the age of 34.
But Spain’s Marca sports daily reported on Tuesday that it included a 300-million-euro ($340-million) termination clause.
His current contract was due to run out in June 2018.
The 30-year-old Argentina international joined FC Barcelona in 2000 when he was just 13 years old in the youth training centre.
“He made his first team debut at just 16 years of age in a friendly against FC Porto, before making his debut the following season against Espanyol at 17,” it said.
“Shortly after, he scored his first senior goal with a clever lob against Albacete at the Camp Nou.”
Now, with 507 goals scored in 583 official matches, Messi is the club’s all time leading scorer and is widely considered one of the world’s best players.
Download our app and read this and other great stories on the move. Available for Android and iOS.