We found that mutations in the sphingosine kinase gene (sphk-1) or in the S1P transporter genes spin-2 or spin-3 decreased nematode survival after infection with Pseudomonas aeruginosa or Enterococcus faecalis. This evidence concerns the gene SPHK1 and infection.