Background Suicidal ideation has been explored in different populations. However, few studies were conducted among medical staff. Besides, the effect of work-family conflict on suicidal ideation was less reported in previous studies. In the current study, we aim to clarify the relations among work-family conflict, social support, depression, and suicidal ideation for Chinese medical staffs.Methods We collected 3,426 valid questionnaires based on a cross-sectional design. Suicidal ideation, work-family conflict, social support, depression, social-demographic characteristics, and work-related variables were evaluated. Conditional process analysis was used to analyze the association among these variables.Results We found that factors associated with lifetime suicidal ideation were male (OR=0.54), doctor (OR=4.32), physical disease (OR=1.58), work-family conflict (OR=1.03), and depression (OR=1.09). Factors associated with one-year suicidal ideation were male (OR=0.46), doctor (OR=4.21), master (OR=1.79), physical disease (OR=1.51), work-family conflict (OR=1.02), and depression (OR=1.10). Depression can mediate the association between work-family conflict and suicidal ideation, but mediate effect of social support was not supported in the current study.Conclusion We should pay more attention to work-family conflict problems, and depression is an important factor associated with suicidal ideation among Chinese medical staff. Both of them should be scanned for identification and treatment of suicide.