Essential oils (EOs) produced by plants in the Lamiaceae family may provide new insecticidal molecules. Novel control compounds are needed to control Drosophila suzukii (Matsumura), a severe economic invasive pest of thin-skinned fruit crops. Thus, we characterized the main compounds of EOs from three rosemary Rosmarinus officinalis ecotypes (ECOs) and evaluated their toxicity to D. suzukii adults, deterrence of oviposition behavior, and histological alterations in larvae. Additionally, we analyzed the lethal and sublethal effect on the pupal parasitoid Trichopria anastrephae. The main compounds identified in the R. officinalis ECOs were α-pinene, camphor and 1,8-cineole. In bioassays via topical application or ingestion, ECOs and their major compounds showed high toxicity on D. suzukii adults and a lower concentration could kill 50% and 90% of flies compared to spinetoram. The dry residues of a-pinene, 1,8-cineole, and camphor provided a repellent effect by reducing D. suzukii oviposition by ~47% compared to untreated fruit. Histological sections of 3rd instar larval D. suzukii posttreatment revealed damage to the fat body, Malpighian tubules, brain, salivary gland, and midgut, which contributed to high larval and pupal mortality. Survival and parasitism by adult T. anastrephae were not affected. Thus, R. officinalis EO and their compounds have potential for developing novel insecticides to manage D. suzukii.