Context: The biotransformation of lilial results in an acid that is used in the dairy industry, in perfumery, as an intermediate in the manufacture of pharmaceuticals and cosmetics, and as a food additive for enhancing taste. Objective: This study investigates the biotransformation of lilial by Staphylococcus aureus and Staphylococcus epidermidis, two bacterial species isolated from human skin. Materials and methods: Both species of Staphylococcus were isolated in samples taken from the skin of individuals living in a rural area of Iran. The pH of the culture medium was optimized, and after culturing the microorganisms, the bacteria were added to a flask containing a nutrient broth and incubated for several hours. The flasks of bacteria were combined with lilial, and various biochemical tests and diagnostics were performed, including Fourier transform infrared spectroscopy (FT-IR), ultraviolet-visible spectrophotometry (UV-Vis), and gas chromatographymass spectroscopy (GC-MS). Results: The S. aureus produced isobutyric acid (2-methylpropanoic acid) after 72 h (71% of the total products yielded during biotransformation), whereas the S. epidermidis produced terpenoid alcoholic media after 24 h (90% of total products obtained). Discussion and conclusion: The results obtained indicate that biotransformation of lilial by S. aureus is more desirable than by S. epidermidis due to the highly efficient production of a single product. Bourgeonal and liliol were two toxic compounds produced during biotransformation, which indicates that the use of lilial in cosmetics can be harmful to the skin.