AimsRecent studies have suggested increased rates of depression in healthcare workers (HCWs), with direct impact on care quality and productivity. The objective was to determine the proportion of HCWs adequately treated for their major depression in a nationwide survey, the proportion of lifestyle risk factors for depression, and to determine if working in psychiatry department or professional status may modulate these outcomes.DesignThe method followed the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) Statement guidelines. A survey comprising the Center for Epidemiologic Studies‐Depression Scale was sent to public and private national healthcare facilities.ResultsOverall, 10,325 participants were recruited; 3438 (33.3%) [95% confidence interval 32.4–34.2] met likely diagnostic criteria for clinical depression. Almost 80% of them declared that they had a history of major depressive episode. However, only approximately 23% of them were treated with antidepressants and approximately 13% had a psychiatric follow‐up. Depressed HCWs working in psychiatry departments received slightly better care for their depression, but they also consumed more anxiolytics and hypnotics and had more risk factors for depression (including smoking and hazardous drinking). We found specificities according to professions, physicians reported higher rates of hazardous drinking while nurses, nurse assistants, and health executives had higher rates of smoking and twice as much obesity as physicians.ConclusionDisseminating tools to detect major depression, programs destigmatizing depression and antidepressants, promoting physical activity, weight loss, tobacco cessation and reduced alcohol consumption are promising strategies to improve the care of major depression in HCWs.Relevance to clinical practiceReducing depression in healthcare workers is necessary to improve the quality of care, to limit burnout, medical errors, absenteeism and turn‐over and globally to improve the wellbeing at work.