Susceptibility to bacterial infections after a primary immune stimulation differs drastically depending on the presensitization of the innate immune system. To determine the conditions that either induce protection or enhanced susceptibility to infection with Salmonella enterica serovar Typhimurium, we pretreated mice either with tumor necrosis factor (TNF), whole killed bacteria, or sublethal cecal ligation and puncture (CLP) as a mouse model for septic peritonitis. Impaired production of the cytokines TNF, interleukin-6 (IL-6), and IL-10 was induced by these pretreatment schedules, with TNF-signaling not being essential for this effect. Injection of TNF or killed bacteria enhanced survival of mice infected subsequently with serovar Typhimurium. In contrast, sepsis such as that induced by CLP only protected from shock induced by d-galactosamine and lipopolysaccharide or by a high dose of bacteria but sensitized to a secondary bacterial infection. Such sepsis-induced enhanced susceptibility to infection was critically dependent on TNF function.