Match ends, Alavés 0, Barcelona 2.
Barcelona moved to within touching distance of the La Liga title with a comfortable victory at Alaves.
After a goalless first half, midfielder Carles Alena, 21, opened the scoring with a close-range finish following a sweeping attack by the visitors.
Barcelona were awarded a penalty soon after following a VAR handball review and Uruguay's Luis Suarez converted.
Victory means Barcelona will be confirmed as champions on Wednesday if Atletico Madrid lose to Valencia.
The reigning champions are 12 points clear of Atletico, who have five games remaining.
While Atletico could potentially still finish level on points with their title rivals even if they slip up on Wednesday, Barcelona will win the title by virtue of a better head-to-head record between the two sides.
The result may mean Barcelona coach Ernesto Valverde rests players against Levante at the weekend before next week's Champions League semi-final with Liverpool.
Valverde perhaps already had one eye on the first leg against Jurgen Klopp's side on Wednesday by opting to start Lionel Messi on the bench at Alaves.
The Argentina forward came on just after an hour and went closest to scoring his 34th league goal of the season with a powerful strike from a tight angle that was tipped over by Alaves goalkeeper Pacheco.
- 4ElySubstituted forTwumasiat 71'minutes
- 15Navarro JiménezBooked at 56mins
- 9RolanSubstituted forBrasanacat 45'minutes
- 8PinaBooked at 90mins
- 23Rodríguez MenéndezBooked at 33minsSubstituted forGuidettiat 81'minutes
- 19García Sánchez
- 1ter Stegen
- 2Nélson SemedoSubstituted forAlbaat 70'minutes
- 21AleñáSubstituted forArthurat 87'minutes
- 11DembéléSubstituted forMessiat 61'minutes
- 7CoutinhoBooked at 76mins
- Adrián Cordero Vega
- Shots on Target
Second Half ends, Alavés 0, Barcelona 2.
Tomás Pina (Alavés) is shown the yellow card for a bad foul.
Coutinho (Barcelona) wins a free kick in the defensive half.
Foul by Tomás Pina (Alavés).
Attempt missed. Lionel Messi (Barcelona) left footed shot from the centre of the box is high and wide to the left. Assisted by Jordi Alba.
Arthur (Barcelona) wins a free kick in the defensive half.
Foul by John Guidetti (Alavés).
Corner, Alavés. Conceded by Gerard Piqué.
Attempt missed. Coutinho (Barcelona) left footed shot from the left side of the box misses to the left. Assisted by Lionel Messi.
Substitution, Barcelona. Arthur replaces Carles Aleñá.
Coutinho (Barcelona) wins a free kick in the attacking half.
Foul by Carlos Vigaray (Alavés).
Luis Suárez (Barcelona) wins a free kick in the defensive half.
Foul by Mubarak Wakaso (Alavés).
Substitution, Alavés. John Guidetti replaces Jony.
Attempt missed. Borja Bastón (Alavés) header from the centre of the box misses to the left. Assisted by Carlos Vigaray with a cross.
Delay over. They are ready to continue.
Delay in match Fernando Pacheco (Alavés) because of an injury.
Coutinho (Barcelona) is shown the yellow card for a bad foul.