Background: This study aimed to explore the impact of Lavandula mairei (L. mairei) essential oil (EOs) on critical components of the extracellular matrix in extended-spectrum beta-lactamase (ESBL)-producing bacteria, specifically exopolysaccharides (EPS) and proteins, and to evaluate its antibacterial and anti-biofilm properties. Methods: Biofilm formation was assessed using the crystal violet method, while EPS-producing strains were identified through Congo red agar (CRA) assays. Quantification of EPS and protein was performed using the phenol-sulfuric acid and Bradford methods, respectively. the chemical composition of the essential oil was determined using Gas chromatography/mass spectrometry (GC/MS). Results: Remarkably, the essential oil inhibited biofilm formation by up to 75% and reduced EPS and protein production by over 80%, particularly in Escherichia coli, Klebsiella pneumoniae, and Enterobacter hormaechei strains. Conclusion: These results demonstrate the potential of L. mairei essential oil - which is rich in terpenic and phenolic compounds, in particular carvacrol (78.20%)- as a natural alternative to disrupt EPS and protein synthesis in Enterobacteriaceae, highlighting its promise in preventing hospital-acquired infections