Neuromedin U (NMU) in vertebrates is a structurally highly conserved neuropeptide of which highest levels are found in the pituitary and gastrointestinal tract. In Drosophila, two neuropeptide genes encoding pyrokinins (PKs), capability (capa) and hugin, are possible insect homologs of vertebrate NMU. Here, the ligand for an orphan G protein-coupled receptor in the nematode Caenorhabditis elegans (Ce-PK-R) was found using a bioinformatics approach. After cloning and expressing Ce-PK-R in HEK293T cells, we found that it was activated by a neuropeptide from the C. elegans NLP-44 precursor (EC(50)=18nM). This neuropeptide precursor is reminiscent of insect CAPA precursors since it encodes a PK-like peptide and two periviscerokinin-like peptides (PVKs). Analogous to CAPA peptides in insects and NMUs in vertebrates, whole mount immunostaining in C. elegans revealed that the CAPA precursor is expressed in the nervous system. The present data also suggest that the ancestral CAPA precursor was already present in the common ancestor of Protostomians and Deuterostomians and that it might have been duplicated into CAPA and HUGIN in insects. In vertebrates, NMU is the putative homolog of a protostomian CAPA-PK.