Excreted small-molecule signals can bias developmental trajectories and physiology in diverse animal species. However, the chemical identity of these signals remains largely obscure. Here we report identification of an unusual N-acylated glutamine derivative, nacq#1, that accelerates reproductive development and shortens lifespan in C. elegans. Produced predominantly by C. elegans males, nacq#1 hastens onset of sexual maturity in hermaphrodites by promoting exit from the larval dauer diapause and by accelerating late larval development. Even at picomolar concentrations, nacq#1 shortens hermaphrodite lifespan, suggesting a trade-off between reproductive investment and longevity. Acceleration of development by nacq#1 requires chemosensation and depends on three homologs of vertebrate steroid hormone receptors. Unlike ascaroside pheromones, which are restricted to nematodes, fatty acylated amino acid derivatives similar to nacq#1 have been reported from humans and invertebrates, suggesting that related compounds may serve signaling functions throughout Metazoa.