Barcelona narrowed the gap to LaLiga leaders Atletico Madrid to five points as Lionel Messi's second-half double helped them to a 3-0 win over Elche.
Ronald Koeman's men had missed a chance to take advantage of Atletico's slip-up against Levante at the weekend when they were held at home by struggling Cadiz.
They were not at their best on Wednesday in a clash with another relegation-threatened side in Elche, but Messi's delightful double and a stylish Jordi Alba effort secured a crucial win.
Barca remain third in the table having played a game more than Atletico, whose lead over second-placed Real Madrid is just three points.
Francisco Trincao forced Edgar Badia into a close-range save in the second minute and, after Lucas Boye had spurned a gilt-edged chance at the other end, the Portugal international was denied a stunning goal by the Elche goalkeeper.
Trincao jinked past two Elche defenders after latching on to a pass from Messi, only to see Badia produce a fine diving save with his left hand.
Badia was required again to keep out Frenkie de Jong's header from a floated Messi free-kick, the frustration clear among Koeman and his players as parity was preserved.
That parity lasted just three minutes into the second half, Messi's shot squirming into the net despite Badia getting a hand to it following a superb flicked return pass from Martin Braithwaite.
Messi's second was similarly aesthetically pleasing, De Jong finding him at the end of the slaloming run before the Argentine delicately dinked the ball over Badia.
And the game was put beyond any doubt in the 73rd minute when Braithwaite nodded Messi's excellent cross-field ball into the path of Alba to dispatch with an acrobatic effort.
The scoreline could have been made more emphatic late on, but substitute Antoine Griezmann cracked the crossbar from Sergino Dest's low cross.
0' The match is about to start!
2' Trincao‘s shot stopped
6' CHANCE! Boye's shot over the bar
22' CLOSE! Trincao's shot stopped again
30' Double chances from De Jong and Alba
43' Ter Stegen makes decent save
47' GOAL! Barcelona 1-0 Elche (Messi)
68' GOAL! Barcelona 2-0 Elche (Messi)
72' GOAL! Barcelona 3-0 Elche (Alba)
75' Sub! Griezmann replaces Braithwaite
82' CLOSE! Griezmann hits the beam
Barcelona XI: Messi, Pique, Pjanic, Alba, Braithwaite, Ter Stegen, Umtiti, De Jong, Trincão, Óscar Mingueza, Pedri
Subs: Busquets, Neto, Griezmann, Lenglet, Dembele, Firpo, Pena, Matheus Fernandes, Dest, Riqui Puig, K. De La Fuente
Elche XI: Barragan, Edgar Badia, Mojica, Cifuentes, Gonzalo Verdú, Pere Milla, O. Mfulu, E. Rigoni, Josema Sánchez, L.Boyé, Raúl Guti
Subs: Nino, Fidel, H. Palacios, Carrillo, Gazzaniga, Luismi Sánchez, Dani Calvo, Tete Morente, Lluís Andreu, John Nwankwo Donald, Gerard Barri, Jony Carmona