B cells are a target of Salmonella infection, allowing bacteria survival without inducing pyroptosis. This event is due to downregulation of Nlrc4 expression and lack of inflammasome complex activation, which impairs the secretion of IL-1β. YAP phosphorylation is required for downregulation of Nlrc4 in B cells during Salmonella infection; however, the microorganism’s mechanisms underlying the inhibition of the NLRC4 inflammasome in B cells are not fully understood. Our findings demonstrate that the Salmonella effector SopB triggers a signaling cascade involving PI3K, PDK1 and mTORC2 that activates Akt with consequent phosphorylation of YAP. When we deleted sopB in Salmonella, infected B cells that lack Rictor, or inhibited the signaling cascade using a pharmacological approach, we were able to restore the function of the NLRC4 inflammasome in B cells and the ability to control the infection. Furthermore, B cells from infected mice exhibited activation of Akt and YAP phosphorylation, suggesting that Salmonella also triggers this pathway in vivo. In summary, our data demonstrate that the Salmonella effector inositide phosphate phosphatase SopB triggers the PI3K-Akt-YAP pathway to inhibit the NLRC4 inflammasome in B cells. This study provides further evidence that Salmonella triggers cellular mechanisms in B lymphocytes to manipulate the host environment by turning it into a survival niche to establish a successful infection.