Exogenous and endogenous exposure to aldehydes is seen worldwide. Aldehydes are closely associated with human diseases, especially reproductive toxicity. However, the effect of aldehyde exposure on sex steroid hormones among adults remains uninvestigated. A total of 851 participants aged over 18years were included in this cross-sectional analysis based on data from National Health and Nutrition Examination Survey (NHANES) 2013-2014. Serum aldehyde concentrations were quantified following an automated analytical method. Sex steroid hormones including total testosterone, estradiol, and sex hormone binding globulin (SHBG) were detected. Multivariate linear regression models, forest plots, generalized additive model (GAM), and smooth curve fitting analysis were used to assess the associations between quartiles of aldehydes and sex steroid hormones levels after adjusting for potential confounders. Butyraldehyde and propanaldehyde were found to be negatively associated with estradiol and SHBG in females and males, respectively. β values with 95% confidence intervals (95% CIs) were - 20.59 (- 38.30 to - 2.88) for Q2 vs. Q1 of butyraldehyde and - 8.13 (- 14.92 to - 1.33) and - 7.79 (- 14.91 to - 0.67) for Q2 vs. Q1 and Q4 vs. Q1 of propanaldehyde. No significant associations were observed between other aldehydes and sex hormones. In premenopausal women, isopentanaldehyde was inversely associated with serum total testosterone levels (Q4 vs. Q1: OR = - 7.95, 95% CI: - 15.62 to - 0.27), whereas propanaldehyde was positively associated with serum estradiol concentration (Q3 vs. Q1: β = 28.88, 95% CI: 0.83 to 56.94). Compared with Q1, Q3 of isopentanaldehyde was associated with 3.53pg/mL higher concentration of estradiol in postmenopausal women (β = 3.53, 95% CI: 0.08 to 6.97). Moreover, in males under 40years, butyraldehyde and heptanaldehyde were inversely proportional to total testosterone levels and heptanaldehyde and butyraldehyde were negatively associated with estradiol and SHBG. Decreased total testosterone, elevated estradiol, and decreased SHBG levels were found in higher quartiles of benzaldehyde, hexanaldehyde and isopentanaldehyde, and propanaldehyde, respectively, in males aged over 60years. In male participants aged 40-60years, only hexanaldehyde was observed to be correlated with higher serum estradiol levels. In conclusion, our current research presented the association between six serum aldehydes and sex hormones. Of note, stratification analyses were conducted in participants with different menopausal statuses and age among males and females. Sex- and age-specific effect of aldehyde exposure on alterations in sex hormone levels were observed. Further studies are warranted to confirm the causal relationship and explore the underlying mechanisms.