Depression is more prevalent among individuals with cancer than in the general population and is correlated with increased mortality in patients with head and neck cancer (HNC) in particular. To compare the prevalence of depression between patients with HNC and patients with other cancers. This retrospective cohort study used population-level data on patients aged 18 years or older with cancer who participated in the 2019 National Health Interview Survey and had completed the Personal Health Questionnaire-8 (PHQ-8). The analysis was performed between August 7, 2023, and April 5, 2024. Any cancer diagnosis. The main outcome was prevalence and severity of depression based on the PHQ-8. The magnitude of the difference in baseline characteristics was measured between patients with HNC and those with other cancer types, and 95% CIs were used to measure the precision of these estimates. Multivariable logistic regressions were used to evaluate the association of demographic, socioeconomic, anxiety, and clinical variables with depression. From a weighted cohort of 23 496 725 adult patients with cancer, 377 080 were diagnosed with HNC (87.5% aged 51-84 years; 77.9% male). The prevalence of any depression on the PHQ-8 (mild, moderate, or severe) was 40.1% in patients with HNC vs 22.3% in patients with other cancers. Compared with patients with other cancers, patients with HNC were equally likely to screen positive for anxiety (23.6% vs 16.0%; difference, 7.6%; 95% CI, -5.9% to 21.1%), take medication for depression (10.1% vs 13.9%; difference, -3.8%; 95% CI, -11.9% to 4.4%), and state that they never feel depressed (59.7% vs 53.7%; difference, 6.0%; 95% CI, -9.1% to 21.0%). On multivariable logistic regression analysis, having HNC was associated with an increased likelihood of depression (odds ratio [OR], 2.94; 95% CI, 1.39-6.22). Other factors associated with depression were being unmarried or not living with a partner (OR, 1.94; 95% CI, 1.55-2.43) and having anxiety (OR, 23.14; 95% CI, 17.62-30.37). This cohort study found that patients with HNC were twice as likely to screen positive for depression on a validated survey than those with other cancers, despite having similar rates of self-reported depression and depression medication use. These findings suggest that self-reporting of depression may result in underreporting and undertreatment in this population and, thus, a need for further work in developing interventions to improve identification of and optimize treatment for patients with HNC and comorbid depression.