Hypophysitis associated with anti-CTLA4 antibodies and anti-PD1/PDL1 antibodies exhibits distinct clinical and pathological characteristics. Here, CD274 is linked to hypophysitis.