In summary, our studies have uncovered a potential role of histone H2AK119 deubiquitinase BAP1 and the epigenetic balance between PRC1 and BAP1 in regulating MHC-II gene expression and TME in B cell lymphoma cells. Here, BAP1 is linked to B-cell non-Hodgkin lymphoma.