Floral initiation plays a critical role for reproductive success in plants, especially fruit trees. However, little information is known on the mechanism of the initiation in loquat (Eriobotrya japonica Lindl.). Here, we used transcriptomic, expression and functional analysis to investigate the candidate genes in floral initiation in loquat. Comparative transcriptome analysis showed differentially expressed genes (DEGs) were mainly enriched in the metabolic pathways of plant hormone signal transduction. The DEGs were mainly involved in the gibberellin, auxin, cytokinin, abscisic acid, salicylic acid and ethylene signaling pathways. Meanwhile, some transcription factors, including MADS-box (MCM1, AGAMOUS, DEFI-CIENS and SRF), MYB (Myeloblastosis), TCP (TEOSINTE BRANCHED 1, CYCLOIDEA and PCF1), WOX (WUSCHEL-related homeobox) and WRKY (WRKY DNA-binding protein), were significantly differentially expressed. Among these key DEGs, we confirmed that an AGL17 ortholog EjAGL17 was significantly upregulated at the flower bud transition stage. Phylogenetic tree analysis revealed that EjAGL17 was grouped into an AGL17 clade of MADS-box transcription factors. Protein sequence alignment showed that EjAGL17 included a distinctive C-terminal domain. Subcellular localization of EjAGL17 was found only in the nucleus. Expression levels of EjAGL17 reached the highest at the development stage of flower bud transition. Moreover, ectopic expression of EjAGL17 in Arabidopsis significantly exhibited early flowering. Our study provides abundant resources of candidate genes for studying the mechanisms underlying the floral initiation in loquat and other Rosaceae species.