TRIM22 influences the infection of MTB by modulating the NOD2 pathway, NF‐kB pathway, apoptosis, and autophagy in macrophages or monocytes. Here, NOD2 is linked to infection.