In summary, we identified NUPR1 and TRIB3 as critical ER stress-related genes in DLBCL. NUPR1 might be involved in immune infiltration in DLBCL, and TRIB3 might serve as a potential therapeutic target and prognostic factor in DLBCL. The gene discussed is TRIB3; the disease is diffuse large B-cell lymphoma.