This study showed that opioid use was negatively associated with thyroid-related complications in patients treated with PD-1/PD-L1 inhibitors. Here, PDCD1 is linked to thyroid gland disorder.