Using an acute hyperammonemic mouse model, we demonstrated that ammonia-induced brain edema and immune dysfunction, as measured by increased brain water (BW) content and intracellular cytokine production of macrophages and T cells are mediated through TLR9. This evidence concerns the gene TLR9 and immune system disorder.