An important part of the innate immune response of the nematode C. elegans to fungal infection is the rapid induction of antimicrobial peptide gene expression. One of these genes, nlp‑29, is expressed at a low level in adults under normal conditions. Its expression is up-regulated in the epidermis by infection with Drechmeria coniospora, but also by physical injury and by osmotic stress. For infection and wounding, the induction is dependent on a p38 MAP kinase cascade, but for osmotic stress, this pathway is not required. To characterize further the pathways that control the expression of nlp‑29, we carried out a genetic screen for negative regulatory genes. We isolated a number of Peni (peptide expression no infection) mutants and cloned one. It corresponds to fasn‑1, the nematode ortholog of vertebrate fatty acid synthase. We show here that a pathway involving fatty acid synthesis and the evolutionary conserved wnk‑1 and gck‑3/Ste20/GCK‑VI kinases modulates nlp‑29 expression in the C. elegans epidermis, independently of p38 MAPK signaling. The control of the antimicrobial peptide gene nlp‑29 thus links different physiological processes, including fatty acid metabolism, osmoregulation, maintenance of epidermal integrity and the innate immune response to infection.