Youngster Ansu Fati, Lionel Messi and Luis Suarez all scored as Barcelona completely dominated this dead rubber tie with Real Madrid already crowned Spanish champions and Alaves safe from relegation.
Fati opened the scoring in the 24th minute finishing off a Messi cross into the middle that was deflected and fell into his path.
Messi then doubled the lead in the 34th minute controlling a Riqui Puig pass before tucking it away in the back of the net. Barca were soon 3-0 up when Suarez headed home to cap a move that involved Messi and Jordi Alba.
Nelson Semedo was introduced off the bench in the second half and added a fourth to the scoreline, firing past Roberto in the Alaves goal after being set up by Puig, with Messi scoring a fifth from an Alba cross as Barca ended a below-par La Liga season on a high note.
See how all the action unfolded via the Futaa score centre here.