In conclusion, our study showed that HSPB1 expression is upregulated in invasive pituitary adenomas and affects immune cell infiltration. The gene discussed is HSPB1; the disease is pituitary gland adenoma.