BackgroundLight is a critical environmental factor in plants, encompassing two vital aspects: intensity and quality. To assess the influence of different light intensities on Origanum majorana L., pots containing the herb were subjected to four levels of light intensity: 20, 50, 70, and 100% natural light. After a 60-day treatment period, the plants were evaluated for metabolite production, including total sugar content, protein, dry weight, antioxidant indices, expression of monoterpenes biosynthesis genes, and essential oil compounds. The experimental design followed a randomized complete blocks format, and statistical analysis of variance was conducted.ResultsThe results indicated a correlation between increased light intensity and elevated total sugar and protein content, which contributed to improved plant dry weight. The highest levels of hydrogen peroxide and malondialdehyde (MDA) were observed under 100% light intensity. Catalase and superoxide dismutase enzymes exhibited increased activity, with a 4.23-fold and 2.14-fold increase, respectively, under full light. In contrast, peroxidase and polyphenol oxidase enzyme activities decreased by 3.29-fold and 3.24-fold, respectively. As light intensity increases, the expression level of the 1-deoxy-D-xylulose 5-phosphate reductoisomerase (DXR) gene increases. However, beyond a light intensity of 70%, the DXR gene expression level decreased. Furthermore, the expression levels of the cytochrome P450 genes CYP71D178 and CYP71D179 exhibited an increasing trend in response to elevated light intensity. Essential oil content increased from 0.02 to 0.5% until reaching 70% light intensity. However, with further increases in light intensity, the essential oil content decreased by 54 to 0.23%.ConclusionsThese findings emphasize the importance of balancing plant growth promotion and stress management under different light conditions. The research suggests that sweet marjoram plants thrive best in unshaded open spaces, resulting in maximum biomass. However, essential oil production decreases under the same conditions. For farmers in areas with an average light intensity of approximately 1700 µmol m−2s−1, it is recommended to cultivate sweet marjoram in shade-free fields to optimize biomass and essential oil production. Towards the end of the growth cycle, it is advisable to use shades that allow 70% of light to pass through. The specific duration of shade implementation can be further explored in future research.