•Six predominant NAEs showed higher incidence in the PD-1/PD-L1 group, including stroke and Guillain-Barré. This evidence concerns the gene CD274 and stroke disorder.