Objective/Background: Healthcare workers have experienced high rates of psychiatric symptom burden and occupational attrition during the COVID-19 pandemic. Identifying contributory factors can inform prevention and mitigation measures. Here, we explore the potential contributions of occupational stressors vs COVID-19 infection to insomnia symptoms in US healthcare workers. Patients/Methods: An online self-report survey was collected between September 2020 and July 2022 from N=594 US healthcare workers, with longitudinal follow-up up to 9 months. Assessments included the Insomnia Severity Index (ISI), the PTSD Checklist for DSM-5 (PCL-5), and a 13-item scale assessing COVID-19 related occupational stressors. Results: Insomnia was common (45% of participants reported at least moderate and 9.2% reported severe symptoms at one or more timepoint) and significantly associated with difficulty completing work-related tasks, increased likelihood of occupational attrition, and thoughts of suicide or self-harm (all p<.0001). In multivariable regression with age, gender, and family COVID-19 history as covariates, past two-week COVID-related occupational stressors, peak COVID-related occupational stressors, and personal history of COVID-19 infection were all significantly related to past two-week ISI scores (Beta=1.7+/-0.14SE, Beta=0.08+/-0.03, and Beta=0.69+/-0.22 respectively). Although similar results were found for the PCL-5, when ISI and PCL-5 items were separated by factor, COVID-19 infection was significantly related only to the factor consisting of sleep-related items. Conclusions: Both recent occupational stress and personal history of COVID-19 infection were significantly associated with insomnia in healthcare workers. These results suggest that both addressing occupational stressors and reducing rate of COVID-19 infection are important to protect healthcare workers and the healthcare workforce.