question: BACKGROUND: Job stress and safety climate have been recognized as two crucial factors that can increase the risk of occupational accidents. This study was performed to determine the relationship between job stress and safety climate factors in the occurrence of accidents using the Bayesian network model. METHODS: This cross-sectional study was performed on 1530 male workers of Asaluyeh petrochemical company in Iran. The participants were asked to complete the questionnaires, including demographical information and accident history questionnaire, NIOSH generic job stress questionnaire, and Nordic safety climate questionnaire. Also, work experience and the accident history data were inquired from the petrochemical health unit. Finally, the relationships between the variables were investigated using the Bayesian network model. RESULTS: A high job stress condition could decrease the high safety climate from 53 to 37% and increase the accident occurrence from 72 to 94%. Moreover, a low safety climate condition could increase the accident occurrence from 72 to 93%. Also, the concurrent high job stress and low safety climate could raise the accident occurrence from 72 to 93%. Among the associations between the job stress factor and safety climate dimensions, the job stress and worker’s safety priority and risk non-acceptance (0.19) had the highest mean influence value. CONCLUSION: The adverse effect of high job stress conditions on accident occurrence is twofold. It can directly increase the accident occurrence probability and in another way, it can indirectly increase the accident occurrence probability by causing the safety climate to go to a lower level.