Objective: To understand the relationship between unhealthy lifestyle and hyperuricemia, as well as the modification effects of hypertension and dyslipidemia in occupational population and provide a theoretical basis for the prevention of hyperuricemia. Methods: A cross-sectional survey design was adopted, based on baseline data from the Southwest Occupational Population Cohort from China Railway Chengdu Group Co., Ltd., which included the population in 28 prefectures from Sichuan Province and Guizhou Province, and 33 districts (counties) from Chongqing Municipality between October and December 2021. This study collected the information about the demographics characteristics, lifestyles, and prevalence of chronic non-communicable diseases of the study subjects through questionnaire, physical measurement and laboratory biochemical test. The unhealthy lifestyle score was scored based on smoking, alcohol consumption, dietary patterns, physical activity, and low weight or overweight, with higher scores being associated with more unhealthy lifestyles. The multivariate logistic regression model was used to analyze the relationship between unhealthy lifestyle score, smoking, alcohol consumption, other factors and hyperuricemia, and the stratified analysis was used to explore the modification effect of hypertension and other diseases on the relationship between unhealthy lifestyle and hyperuricemia. Results: A total of 11 748 participants were included in this study, the prevalence of hyperuricemia was 34.4%. Multivariate logistic regression model showed that current/previous smoking, current/previous alcohol consumption and BMI abnormality were risk factors for hyperuricemia, and the unhealthy lifestyle score showed a "cumulative" effect on the risk for hyperuricemia, with higher score increasing the risk of hyperuricemia, and the OR increased from 1.64 (95%CI: 1.34-2.00) to 2.89 (95%CI: 2.39-3.50). Stratified analysis showed that unhealthy lifestyles had a greater impact on the risk for hyperuricemia in people with hypertension and dyslipidemia. Conclusions: The coexistence of multiple unhealthy lifestyles might increase the risk of hyperuricemia, and this effect was stronger in participants with hypertension and dyslipidemia. Timely correction of unhealthy lifestyles, and control of hypertension and dyslipidemia might reduce the risk for hyperuricemia.