A ciliated groove in the wall of the pharynx of lancelets (Cephalochordata), some tunicates, and larval lampreys that contains mucus-secreting glands. Mucus secreted by the endostyle traps food particles in water drawn into the pharynx by the beating action of the cilia.