Diatoms are ubiquitous microalgae that have developed remarkable metabolic plasticity and gene diversification. Here we report the first elucidation of the complete biosynthesis of sterols in the lineage. The study has been carried out on the bloom-forming species Skeletonema marinoi and Cyclotella cryptica that synthesise an ensemble of sterols with chemotypes of animals (cholesterol and desmosterol), plants (dihydrobrassicasterol and 24-methylene cholesterol), algae (fucosterol) and marine invertebrates (clionasterol). In both species, sterols derive from mevalonate through cyclization of squalene to cycloartenol by cycloartenol synthase. The pathway anticipates synthesis of cholesterol by enzymes of the phytosterol route in plants, as re...