Background: AGAMOUS (AG) subfamily genes regulate the floral organs initiation and development, fruit and seed development. At present, there has been insufficient study to explain the function of the AG subfamily genes in Asteraceae. Marigold (Tagetes erecta), belonging to Asteraceae family, has become an important research target for understanding floral organ development in plants.Results: Four AG subfamily genes of marigold were isolated and phylogenetically grouped into C class (TeAG1 and TeAG2) and D class (TeAGL11-1 and TeAGL11-2) genes according to the ABCDE flower organ development model. And these four genes were highly expressed in reproductive organs of marigold. Subcellular localization analysis suggested that all the four proteins were located in the nucleus. Protein-protein interactions analysis indicated that C class proteins had a wider interaction manner than D class proteins. Function analysis by ectopic expression in Arabidopsis revealed that TeAG1 and TeAGL11-1 displayed a C function specifying the stamen identity and carpel identity, and a D function regulating seed development and petal development, respectively. In addition, overexpression of TeAG1 or TeAGL11-1 also leaded to curling rosette leaf and early flowering in Arabidopsis.Conclusions: Our results provide molecular mechanism of AG subfamily genes for the development of stamens, pistils and ovules in Asteraceae, and technical support for the subsequent manipulate of several floral traits.