Overall, our study showed that HDAC7 may be closely related to immunity in DLBCL. Here, HDAC7 is linked to diffuse large B-cell lymphoma.