Barcelona lost an eight-goal thriller as Villarreal struck twice deep into stoppage time to leave Xavi's side 10 points off the top of La Liga.
The hosts had fought back with three goals in 11 minutes to lead after trailing 2-0 until the hour mark.
But Villarreal equalised with six minutes remaining and Alexander Sorloth put the visitors back in front in the ninth minute of stoppage time.
Jose Luis Morales then added a fifth after 102 minutes to seal victory.
Defeat leaves defending champions Barcelona third in the La Liga title race, 10 points behind leaders Real Madrid and eight points off Girona in second.
It comes after they were knocked out of the Copa del Rey quarter-finals in a 4-2 defeat by Athletic Bilbao on Wednesday.
It is Barcelona's third loss in five matches, with their other defeat in that run coming against Real Madrid in the Spanish Super Cup, which they lost 4-1.
After Gerard Moreno's first-half opener and Ilias Akhomach's 54th-minute goal, Barcelona produced a stunning comeback through Ilkay Gundogan, Pedri and an Eric Bailly own-goal.
But, following Goncarlo Guedes' 84th-minute equaliser for Villarreal, the hosts were left exposed in their pursuit of a late winner and ultimately punished by Sorloth's and Luis Morales' late goals.
Real Madrid came from behind to beat Las Palmas 2-1 on Saturday and moved back above Girona, who play struggling Celta Vigo on Sunday (13:00 GMT).
Latest Stories
-
Paris 2024: Opening ceremony showcases grandiose celebration of French culture and diversity
3 hours -
How decline of Indian vultures led to 500,000 human deaths
4 hours -
Paris 2024: Ghana rocks ‘fabulous fugu’ at olympics opening ceremony
4 hours -
Trust Hospital faces financial strain with rising debt levels – Auditor-General’s report
5 hours -
Electrochem lease: Allocate portions of land to Songor people – Resident demand
5 hours -
82 widows receive financial aid from Chayil Foundation
5 hours -
The silent struggles: Female journalists grapple with Ghana’s high cost of living
5 hours -
BoG yet to make any payment to Service Ghana Auto Group
5 hours -
‘Crushed Young’: The Multimedia Group, JL Properties surprise accident victim’s family with fully-furnished apartment
6 hours -
Asante Kotoko needs structure that would outlive any administration – Opoku Nti
6 hours -
JoyNews exposé on Customs officials demanding bribes airs on July 29
7 hours -
JoyNews Impact Maker Awardee ships first consignment of honey from Kwahu Afram Plains
8 hours -
Joint committee under fire over report on salt mining lease granted Electrochem
8 hours -
Life Lounge with Edem Knight-Tay: Don’t be beaten the third time
8 hours -
Pro-NPP group launched to help ‘Break the 8’
8 hours