The expression of macrophages, lymphocytes and PD-L1 varied greatly in different pituitary tumors, and these immune factors are associated with the clinicopathological characteristics of pituitary tumors. This evidence concerns the gene CD274 and pituitary tumor.