BackgroundThyroid dysfunction is among the most common autoimmune diseases and immune checkpoint inhibitor (ICI)-induced immune-related adverse events (irAE). We determined the association between longitudinal thyroid function and clinical outcomes in patients treated with ICI.MethodsWe identified all patients treated with ICI at UT Southwestern Medical Center from January 1, 2011, through December 31, 2020. We defined normal thyroid stimulating hormone (TSH) and free thyroxine (FT4) levels according to institutional reference range. We defined clinical thyroid dysfunction using established criteria incorporating labs and treatment. We determined the association between thyroid function and overall survival (OS) using Kaplan–Meier curves, log-rank tests, and multivariate Cox proportional hazards model.ResultsA total of 1781 patients were included in analyses, of whom 381 (21%) had abnormal baseline TSH. Patients with abnormal baseline TSH were more likely to be female, have kidney cancer, and initiate levothyroxine after ICI initiation (all P < 0.001). Patients with abnormal baseline TSH had inferior OS (median 16 vs 27 months; P < 0.001). Among patients with normal baseline TSH, those who had abnormal TSH after ICI initiation had improved OS (median 41 vs 22 months; P < 0.001). In a multivariate Cox model, abnormal baseline TSH was associated with worse OS (HR 1.62; 95% CI, 1.30–2.02; P < 0.001), while initiation of levothyroxine after ICI initiation was associated with improved OS (HR 0.62; 95% CI, 0.44–0.88; P = 0.008).ConclusionsICI-induced thyroid dysfunction is associated with improved survival, although abnormal TSH prior to ICI initiation is associated with inferior survival.PrecisThyroid abnormalities occur commonly in the general population and as immunotherapy toxicities. We found that immunotherapy-induced thyroid dysfunction is associated with better survival, but pre-existing thyroid abnormalities convey worse outcomes.