The onset time of colitis caused by PD-1/PD-L1 inhibitors ranged from 0.6 to 119.9 weeks after treatment. This evidence concerns the gene CD274 and colitis.