Spanish media widely reported Friday that Xavi would be sacked in the coming weeks but the coach said Barcelona had "conveyed calmness" to him.
Catalan radio station RAC-1 said president Joan Laporta had decided to sack Xavi, with daily newspaper Sport confirming the news, while AS said Barcelona were already deciding who would replace the coach.
Young Barcelona midfielder Fermin Lopez struck twice to secure his team a hard-fought 2-0 win at Almeria on Thursday in La Liga.
"We will keep fighting and next season we have to change a huge amount of things," said Xavi.
In January, with Barcelona on a miserable run of form, Xavi said he would walk away from his post in the summer despite having a year left on his contract.
"Xavi will continue and is very excited, there is unanimity in the club's board that he should continue," club vice-president Rafa Yuste told reporters outside Laporta's home in Barcelona later on Wednesday.
The coach was furious after Lamine Yamal had a shot which Barcelona said crossed the line not given as a goal after officials could not prove that it had using VAR.
Jude Bellingham snatched Real Madrid a dramatic 3-2 Clasico win over champions Barcelona on Sunday to take them 11 points clear at the top of La Liga with six matches remaining.
Barcelona boss Xavi Hernandez said winning Sunday's "El Clasico" in the Spanish capital is the only way his side can hold off Real Madrid's run to the LaLiga title - the only remaining major silverware Barca could win this season.
Champions Barca were dominating the match early on under the scorching heat of south Madrid, with Brazil winger Raphinha the main threat to the home side's defence by running the right channel and creating several opportunities.
Barcelona coach Xavi Hernandez confirmed on Tuesday that Ousmane Dembele is poised to leave the Spanish giants after receiving an offer from Paris Saint-Germain.
The result was harsh on Carlo Ancelotti's team, who struck the woodwork five times and created plenty of opportunities. But Spanish champions Barcelona's more clinical finishing proved to be the difference
"He hasn't had a good time in these two years (in Paris) and now he doesn't want that type of pressure," Xavi said on Twitch
The Spanish forward is the youngest ever player to enter a Barcelona squad for an official game
Gavi signed a contract renewal with Barcelona until 2026 in September but because of the club's financial difficulties, they have not been able to register it with La Liga
Champions Madrid lost 3-2 at home against Villarreal on Saturday and league leaders Barca can move 15 points clear of Los Blancos with a win at home against Girona on Monday
Barcelona beat Real Madrid 1-0 in the Copa del Rey semi-final first leg on Thursday at the Santiago Bernabeu, but were criticised for only having 34 percent possession
Barcelona coach Xavi Hernandez apologised Sunday for a comment he had made about Dani Alves, who was arrested earlier this week following sexual assault allegations.
Barcelona coach Xavi Hernandez said Saturday that he is in "a state of shock" after Dani Alves's arrest on sexual assault allegations.