Galactan:galactan galactosyltransferase (GGT) is a unique enzyme of the raffinose family oligosaccharide (RFO) biosynthetic pathway. It catalyzes the chain elongation of RFOs without using galactinol (a-galactosyl-myoinositol) by simply transferring a terminal a-galactosyl residue from one RFO molecule to another one. Here, we report the cloning and functional expression of a cDNA encoding GGT from leaves of the common bugle (Ajuga reptans), a winter-hardy long-chain RFO-storing Lamiaceae. The cDNA comprises an open reading frame of 1215 bp. Expression in tobacco (Nicotiana plumbaginifolia) protoplasts resulted in a functional recombinant protein, which showed GGT activity like the previously described purified, native GGT enzyme. At the amino acid level, GGT shows high homologies ([60%) to acid plant a-galactosidases of the family 27 of glycosylhydrolases. It is clearly distinct from the family 36 of glycosylhydrolases, which harbor galactinol-dependent raffinose and stachyose synthases as well as alkaline a-galactosidases. Physiological studies on the role of GGT confirmed that GGT plays a key role in RFO chain elongation and carbon storage. When excised leaves were exposed to chilling temperatures, levels of GGT transcripts, enzyme activities, and long-chain RFO concentrations increased concomitantly. On a whole-plant level, chilling temperatures induced GGT expression mainly in the roots and fully developed leaves, both known RFO storage organs of the common bugle, indicating an adaptation of the metabolism from active growth to transient storage in the cold.