Exposure of mother worms to mild osmotic stress induces gene expression changes in offspring that protect them from strong osmotic stress. Inheritance of protection is now shown to depend on altered insulin-like signalling in the maternal germline, which confers protection through increased expression of zygotic gpdh-2, a rate-limiting enzyme in glycerol biosynthesis.