Analysis of the stellar population properties of 30 host galaxies of fast radio bursts (FRBs) suggests an abundance of FRBs in massive star-forming galaxies, and implies that the formation of FRB sources—magnetars—is linked to core-collapse supernovae of stellar merger remnants.