Several DNA sequences of Xenorhabdus nematophila are disclosed. These DNA sequences are induced after the bacteria invade the body of a larvae insect of the order Lepidoptera. The DNA sequences can be used to obtain polypeptides that have insecticidal activities.