Bacterial infection induces the formation of RIPK2 oligomers that coat the bacteria to enhance NF‐κB response, a process that is counteracted by selective autophagy of RIPK2 oligomers. Here, RIPK2 is linked to bacterial infectious disease.