Galactinol synthase (GolS; EC 2.4.1.123) is a member of the glycosyltransferase eight family that catalyzes the first step in the biosynthesis pathway of the raffinose family of oligosaccharides (RFOs). The accumulation of RFOs in response to abiotic stress indicates a role for RFOs in stress adaptation. To obtain information on the roles of RFOs in abiotic stress adaptation in trees, we investigated the expression patterns of nine Populus trichocarpa GolS (PtrGolS) genes with special reference to stress responses. PtrGolS genes were differentially expressed in different organs, and the expressions of PtrGolS4 and PtrGolS6 were relatively high in all tested organs. The expression levels of all PtrGolS genes, except PtrGolS9, changed in response to abiotic stress in gene- and stress-type-specific manners. Moreover, short- and long-term stress treatments revealed that induction of PtrGolS by salt stress is obvious only in the early period of treatment (within 24 h), whereas water-deficit stress treatments continued to upregulate PtrGolS gene expression after two days of treatment, in addition to induction within 24 h of treatment. Consistent with these expression patterns, the galactinol content in leaves increased after four days of drought stress, but not under salt stress. Our findings suggest divergent roles for PtrGolS genes in abiotic stress responses in poplars.Electronic supplementary materialThe online version of this article (doi:10.1007/s10265-013-0597-8) contains supplementary material, which is available to authorized users.