In the present study, we aimed to examine the impact of cardiopulmonary bypass (CPB) on expression and function of NOD1 and NOD2 in children with congenital heart disease (CHD), in an attempt to clarify whether NOD1 and NOD2 signaling is involved in the modulation of host innate immunity against postoperative infection in pediatric CHD patients. Peripheral blood samples were collected from pediatric CHD patients at five different time points: before CPB, immediately after CPB, and 1, 3, and 7 days after CPB. Real-time PCR, Western blot, and ELISA were performed to measure the expression of NOD1 and NOD2, their downstream signaling pathways, and inflammatory cytokines at various time points. Proinflammatory cytokine IL-6 and TNF-α levels in response to stimulation with either the NOD1 agonist Tri-DAP or the NOD2 agonist MDP were significantly reduced after CPB compared with those before CPB, which is consistent with a suppressed inflammatory response postoperatively. The expression of phosphorylated RIP2 and activation of the downstream signaling pathways NF-κB p65 and MAPK p38 upon Tri-DAP or MDP stimulation in PBMCs were substantially inhibited after CPB. The mRNA level of NOD1 and protein levels of NOD1 and NOD2 were also markedly decreased after CPB. Our results demonstrated that NOD-mediated signaling pathways were substantially inhibited after CPB, which correlates with the suppressed inflammatory response and may account, at least in part, for the increased risk of postoperative infection in pediatric CHD patients.