Here we demonstrate that H. pylori-induced PD-L1 expression is mediated by Shh signaling as an early epithelial response to infection and a mechanism by which the bacteria evades the immune response. Here, CD274 is linked to infection.