This review outlines the possible mechanisms of irAE, discusses the safety and efficacy of PD-1/PD-L1 inhibitors in cancer patients with preexisting AID, and emphasizes the importance of early recognition, continuous monitoring, and multidisciplinary cooperation in the prevention and management of cancer patients with preexisting AID. This evidence concerns the gene CD274 and cancer.