The incorporation of ammonia into glutamine, catalyzed by glutamine synthetase, is thought to be important in the detoxification of ammonia in animals. During early fish development, ammonia is continuously formed as yolk proteins and amino acids are catabolized. We followed the changes in ammonia and ureanitrogen content, ammonia and urea-nitrogen excretion, glutamine synthetase activity, and mRNA expression of four genes coding for glutamine synthetase (Onmy-GS01-GS04) over 3-80 days post fertilization and in adult liver and skeletal muscle of the rainbow trout (Oncorhynchus mykiss). Both ammonia and ureanitrogen accumulate before hatching, although the rate of ammonia excretion is considerably higher relative to urea-nitrogen excretion. All four genes were expressed during early development, but only Onmy-GS01 and -GS02 were expressed at appreciable levels in adult liver, and expression was very low in muscle tissue. The high level of expression of Onmy-GS01 and -GS03 prior to hatching corresponded to a linear increase in glutamine synthetase activity. We propose that the induction of glutamine synthetase genes early in development and the subsequent formation of the active protein are preparatory for the increased capacity of the embryo to convert the toxic nitrogen end product, ammonia, into glutamine, which may then be utilized in the ornithineurea cycle or other pathways.Glutamine synthetase (L-glutamate:ammonia ligase (ADP forming), EC 6.3.1.2) catalyzes the ATP-dependent conversion of glutamate and ammonium to glutamine. Glutamine formation plays a key role in nitrogen metabolism, including nucleotide, amino acid, and urea biosynthesis. Glutamine synthetase is critical in the detoxification process of the highly mobile and toxic ammonia (for reviews, see Refs.