We found that among the numerous B cell subsets, both unswitched memory B cells and CD27 on memory B cells were causally associated with delirium. Here, CD27 is linked to delirium.