Dietary restriction is a robust means of extending adult lifespan and postponing age-related disease in many species, including yeast, nematode worms, flies and rodents. Studies of the genetic requirements for lifespan extension by dietary restriction in the nematode Caenorhabditis elegans have implicated a number of key molecules in this process, including the nutrient-sensing target of rapamycin (TOR) pathway and the Foxa transcription factor PHA-4 (ref. 7). However, little is known about the metabolic signals that coordinate the organismal response to dietary restriction and maintain homeostasis when nutrients are limited. The endocannabinoid system is an excellent candidate for such a role given its involvement in regulating nutrient intake and energy balance. Despite this, a direct role for endocannabinoid signalling in dietary restriction or lifespan determination has yet to be demonstrated, in part due to the apparent absence of endocannabinoid signalling pathways in model organisms that are amenable to lifespan analysis. N-acylethanolamines (NAEs) are lipid-derived signalling molecules, which include the mammalian endocannabinoid arachidonoyl ethanolamide. Here we identify NAEs in C. elegans, show that NAE abundance is reduced under dietary restriction and that NAE deficiency is sufficient to extend lifespan through a dietary restriction mechanism requiring PHA-4. Conversely, dietary supplementation with the nematode NAE eicosapentaenoyl ethanolamide not only inhibits dietary-restriction-induced lifespan extension in wild-type worms, but also suppresses lifespan extension in a TOR pathway mutant. This demonstrates a role for NAE signalling in ageing and indicates that NAEs represent a signal that coordinates nutrient status with metabolic changes that ultimately determine lifespan.