In conclusion, collagenous colitis in cancer patients is closely associated with anti‐PD1/PD‐L1 antibodies. Here, CD274 is linked to collagenous colitis.