The essential oil from the different parts (stems, leaves and inflorescences) of Thymus broussonetii Boiss. gathered during the spring season, in Essaouirra region, Southwest Morocco, has been extracted by steam distillation and analysed by GC and GC–MS. The identified components constituting 93.4%, 93.1% and 95.6% of the stems, leaves and inflorescences oils, respectively. The essential oil of stems parts showed a higher percentage of borneol (41.9%), thymol (23.9%) and carvacrol (10.0%), while the oil from leaves showed p-cymene (21.0%), borneol (16.5%), α-Pinene (11.8%) and thymol (11.3%). The oil from the inflorescences presented thymol (15.6%), carvacrol (15.5%), p-cymene (14.7%) and borneol (14.4%) as major constituents. Antibacterial activity of the Thymus broussonetii leaves oil were tested against eight Gram-positive and Gram-negative bacteria by disc diffusion method. The inhibition zones (IZ) values for bacterial strains, which were sensitive to the essential oil of Thymus broussonetii leaves, were in the range of 9–40 mm.