Hormones, which are among the endocrine disruptors, are used in many fields and their use in cosmetic products has recently attracted considerable attention. Despite the negative health consequences, there is no detailed guidance that limits the use of these endocrine disruptors. This study aimed to develop a green hydrophobic deep eutectic solvent (HDES)-based microextraction method for the detection and quantification of sex hormones (progesterone, β-estradiol, estrone, ethinylestradiol, and testosterone) in different cosmetic products. The best value for extraction recovery was obtained by using DL-menthol and dodecanoic acid as green HDES in a 4:1 mole ratio. Optimization parameters such as HDES volume, pH, sample volume, centrifugation time, mixing type, and mixing time were investigated for cosmetic samples to be used as real samples. Furthermore, the extraction recovery values ranged from 85.7 % to 101.3 % and the detection limit was between 2.33–3.30 ng mL−1. Additionally, three different greenness methods, namely ComplexGAPI, AGREEprep, and BAGI, were used to evaluate how green the proposed method is in this study. The microextraction procedure developed in this study was successfully applied to five different cosmetic samples that will be used as real samples to detect and determine sex hormones.